zed/crates
Marshall Bowers f0ef63bfa0
gpui: Add SharedUrl type (#3975)
This PR adds a `SharedUrl` type to GPUI.

It's just like a `SharedString`, but for denoting that the contained
value is a URL.

Mainlined from @nathansobo's GPUI blog post:
https://github.com/zed-industries/zed/pull/3968/files#diff-7ee75937e2daf7dd53f71b17698d8bd6d46993d06928d411781b9bd739b5f231R9-R12

Release Notes:

- N/A
2024-01-09 10:55:49 -05:00
..
activity_indicator Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
ai gpui: Further docs refinement & moved some reexports into 'private' module (#3935) 2024-01-07 14:14:21 +01:00
assets Fix assets build 2024-01-08 16:53:01 -07:00
assistant Rename IconElement to just Icon (#3974) 2024-01-09 10:11:20 -05:00
audio Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
auto_update Rename IconElement to just Icon (#3974) 2024-01-09 10:11:20 -05:00
breadcrumbs Fix inconsistent sizing between the buffer search and the project search (#3951) 2024-01-08 14:40:48 -05:00
call Add a missing default value to docs (#3973) 2024-01-09 12:20:52 +01:00
channel Fix tests 2024-01-06 16:10:40 -05:00
cli Code to allow opening zed:/channel/1234 2023-10-05 14:57:45 -07:00
client gpui: Add SharedUrl type (#3975) 2024-01-09 10:55:49 -05:00
clock Remove local timestamps from CRDT operations 2023-08-31 16:23:06 -07:00
collab collab 0.35.0 2024-01-08 15:47:59 -07:00
collab_ui gpui: Add SharedUrl type (#3975) 2024-01-09 10:55:49 -05:00
collections Use FxHashMap and FxHashSet in hot code paths 2023-12-12 13:35:22 +01:00
command_palette Fix some bugs in keymap handling (#3895) 2024-01-04 16:04:17 -05:00
copilot Move UI for copilot sign in to copilot_button 2024-01-05 15:58:45 +01:00
copilot_ui Rename IconElement to just Icon (#3974) 2024-01-09 10:11:20 -05:00
db Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
diagnostics Rename IconElement to just Icon (#3974) 2024-01-09 10:11:20 -05:00
editor Rename IconElement to just Icon (#3974) 2024-01-09 10:11:20 -05:00
feature_flags Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
feedback Rename IconElement to just Icon (#3974) 2024-01-09 10:11:20 -05:00
file_finder Fix relative path opening from project symbols 2024-01-08 15:12:22 -07:00
fs Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
fsevent 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
fuzzy Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
git Remove 2 suffix for ui, storybook, text 2024-01-03 12:33:51 -08:00
go_to_line Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
gpui gpui: Add SharedUrl type (#3975) 2024-01-09 10:55:49 -05:00
gpui_macros gpui: Further docs refinement & moved some reexports into 'private' module (#3935) 2024-01-07 14:14:21 +01:00
install_cli Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
journal Display setting documentation in settings.json (#3936) 2024-01-08 19:30:18 +01:00
language Remove dbg! usage from tests 2024-01-09 10:08:27 +02:00
language_selector Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
language_tools gpui: Further docs refinement & moved some reexports into 'private' module (#3935) 2024-01-07 14:14:21 +01:00
live_kit_client Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
live_kit_server Prevent guests from screen-sharing, unmuting or screen sharing 2024-01-03 19:31:43 -07:00
lsp Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
media Start fixing up gpui2 2024-01-02 00:04:51 +01:00
menu Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
multi_buffer Track read_only per project and buffer 2024-01-03 19:31:43 -07:00
node_runtime Upgrade async-compression dep 2023-12-06 14:29:09 -08:00
notifications Rename notification_store 2024-01-03 20:02:23 -05:00
outline Clean up outline selections when its modal gets closed 2024-01-08 21:52:03 +02:00
picker Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
plugin 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
plugin_macros Fix typos 2023-06-02 22:02:19 -04:00
plugin_runtime Bump Rust to 1.75 (#3815) 2023-12-28 19:22:43 +01:00
prettier Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
project Disallow creating files with '..' (#3156) 2024-01-08 15:43:57 -07:00
project_panel Rename IconElement to just Icon (#3974) 2024-01-09 10:11:20 -05:00
project_symbols gpui: Further docs refinement & moved some reexports into 'private' module (#3935) 2024-01-07 14:14:21 +01:00
quick_action_bar Rename IconElement to just Icon (#3974) 2024-01-09 10:11:20 -05:00
recent_projects Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
refineable Another batch of fixups 2024-01-02 00:24:11 +01:00
rich_text Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
rope Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
rpc Check user is host for host-broadcasted project messages 2024-01-08 12:04:59 -08:00
search Rename IconElement to just Icon (#3974) 2024-01-09 10:11:20 -05:00
semantic_index Disallow creating files with '..' (#3156) 2024-01-08 15:43:57 -07:00
settings gpui: Remove dependency on sqlez (#3871) 2024-01-05 19:36:55 +01:00
snippet 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
sqlez sqlez 2024-01-01 23:56:04 +01:00
sqlez_macros 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
story Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
storybook Add stories for collab notifications (#3967) 2024-01-08 21:54:59 -05:00
sum_tree chore: fix clippy lints for rope2, sum_tree, text2 and util 2024-01-01 23:50:14 +01:00
terminal terminal: Clean up doc comment for rgb_for_index (#3947) 2024-01-08 13:33:41 -05:00
terminal_view Rename IconElement to just Icon (#3974) 2024-01-09 10:11:20 -05:00
text Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
theme theme: Removed commented-out ActiveTheme impl (#3950) 2024-01-08 13:51:18 -05:00
theme_importer gpui: Further docs refinement & moved some reexports into 'private' module (#3935) 2024-01-07 14:14:21 +01:00
theme_selector WIP 2024-01-06 14:41:35 -05:00
ui gpui: Add SharedUrl type (#3975) 2024-01-09 10:55:49 -05:00
util Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
vcs_menu Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
vim Display setting documentation in settings.json (#3936) 2024-01-08 19:30:18 +01:00
welcome Display setting documentation in settings.json (#3936) 2024-01-08 19:30:18 +01:00
workspace Rename IconElement to just Icon (#3974) 2024-01-09 10:11:20 -05:00
zed Remove some todo!'s 2024-01-09 11:36:36 +02:00
zed_actions Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00