zed/crates/collab/src
Marshall Bowers 2980f0508c
Rework loading images from files (#7088)
This PR is a follow-up to #7084, where I noted that I wasn't satisfied
with using `SharedUri` to represent both URIs and paths on the local
filesystem:

> I'm still not entirely happy with this naming, as the file paths that
we can store in here are not _really_ URIs, as they are lacking a
protocol.
>
> I want to explore changing `SharedUri` / `SharedUrl` back to alway
storing a URL and treat local filepaths differently, as it seems we're
conflating two different concerns under the same umbrella, at the
moment.

`SharedUri` has now been reverted to just containing a `SharedString`
with a URI.

`ImageSource` now has a new `File` variant that is used to load an image
from a `PathBuf`.

Release Notes:

- N/A
2024-01-30 11:26:02 -05:00
..
bin Add requires_zed_cla column to channels table 2024-01-22 16:41:24 -08:00
db Spell adjust (#7050) 2024-01-30 02:23:10 -05:00
rpc
tests Rework loading images from files (#7088) 2024-01-30 11:26:02 -05:00
api.rs Add requires_zed_cla column to channels table 2024-01-22 16:41:24 -08:00
auth.rs Update verify_access_token doc comment 2024-01-17 18:06:16 -08:00
db.rs Aggressively simplify channel permissions: 2024-01-25 23:26:32 -07:00
env.rs
errors.rs
executor.rs
lib.rs Fix merge conflict 2024-01-09 09:44:22 -07:00
main.rs Run migations on development server start 2024-01-08 22:45:15 -07:00
rpc.rs Spell adjust (#7050) 2024-01-30 02:23:10 -05:00
tests.rs