Marshall Bowers
0a7948f5cd
Remove commented-out code in auto_update ( #4149 )
...
This PR removes some commented-out code in the `auto_update` crate that
we no longer need.
Release Notes:
- N/A
2024-01-18 23:12:42 -05:00
Joseph T. Lyons
9a1040fe0e
Clean up view_release_notes()
2024-01-18 08:07:52 -05:00
Joseph T. Lyons
a41f549339
Use try_global()
2024-01-18 01:33:30 -05:00
Marshall Bowers
dc67b7bcaa
Rename h_stack and v_stack to h_flex and v_flex, respectively ( #4053 )
...
This PR renames the `h_stack` and `v_stack` to `h_flex` and `v_flex`,
respectively.
We were previously using `h_stack` and `v_stack` to match SwiftUI, but
`h_flex` and `v_flex` fit better with the web/flexbox terminology that
the rest of GPUI uses.
Additionally, we were already calling the utility functions used to
implement `h_stack` and `v_stack` by the new names.
Release Notes:
- N/A
2024-01-15 11:34:06 -05:00
Marshall Bowers
84dd2c6954
Rename IconElement to just Icon ( #3974 )
...
This PR renames the `IconElement` component to just `Icon`.
This better matches the rest of our components, as `IconElement` was the
only one using this naming convention.
The `Icon` enum has been renamed to `IconName` to free up the name.
I was trying to come up with a way that would allow rendering an
`Icon::Zed` directly (and thus make the `IconElement` a hidden part of
the API), but I couldn't come up with a way to do this cleanly.
Release Notes:
- N/A
2024-01-09 10:11:20 -05:00
Piotr Osiewicz and Marshall Bowers
f90b05b716
Display setting documentation in settings.json ( #3936 )
...
Let this screenshot of settings.json speak for itself:

Release Notes:
- Added code completion & on-hover documentation to Zed's settings.json
file.
---------
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com >
2024-01-08 19:30:18 +01:00
Max Brunsfeld and Antonio Scandurra
36a603c93d
Fix version comparison in auto update
...
Co-authored-by: Antonio Scandurra <antonio@zed.dev >
2024-01-04 09:53:57 -08:00
Max Brunsfeld and Mikayla
75f0670dd6
Remove 2 suffix from gpui
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:59:39 -08:00
Max Brunsfeld and Mikayla
ee573f7906
Remove 2 suffix for theme
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:41:01 -08:00
Max Brunsfeld and Mikayla
2e155121f8
Remove 2 suffix for collab, rope, settings, menu
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:29:16 -08:00
Max Brunsfeld and Mikayla
7173f4a82b
Remove 2 suffix for fs, db, semantic_index, prettier
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:09:42 -08:00
Max Brunsfeld and Mikayla
f8cb050345
Remove 2 suffix for client, call, channel
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:02:14 -08:00
Max Brunsfeld and Mikayla
cdafb2d039
Remove 2 suffix for project
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 11:53:34 -08:00
Max Brunsfeld and Mikayla
a13a885d6b
Remove 2 suffix for workspace
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 11:08:51 -08:00
Max Brunsfeld and Mikayla
8a45a99477
Remove 2 suffix for language_tools, search, terminal_view, auto_update
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 10:52:40 -08:00
Mikayla
6892be8426
WIP:
2023-11-17 12:54:16 -08:00
Kirill Bulatov
6db4451b25
Create new Zed release channel: nightly
2023-11-17 12:13:32 +02:00
Piotr Osiewicz
f3dcf513cb
auto-update: Link to the current release's changelog, not the latest one ( #3076 )
...
An user complained in zed-industries/community#2093 that we always link
to the latest release changelog, not the one that they've just updated
to.
Release Notes:
- Fixed changelog link in update notification always leading to the
latest release changelog, not the one that was updated to. Fixes
zed-industries/community#2093 .
2023-10-02 15:24:09 +02:00
Nate Butler
0dc4475f7f
Unify icons using multiple variants, remove all unused icons
2023-09-15 12:50:49 -04:00
Mikayla
ec2490269d
Add components example
...
Re-arrange generics on mouse event handler
Add TypeTag struct for dynamically tagged components
2023-08-15 03:06:43 -07:00
Piotr Osiewicz
406e160730
Split out Interactive<T> into Toggle<T> and Interactive<T>
2023-06-20 16:05:20 -07:00
Nathan Sobo
6fe2c44718
WIP: Stream in completions
...
Drop dependency on tokio introduced by async-openai and do it ourselves.
The approach I'm taking of replacing instead of appending is causing issues. Need to just append.
2023-05-22 20:28:22 -06:00
Max Brunsfeld
e7f85efbb8
Rename settings::register_setting -> settings::register
2023-05-17 15:06:11 -07:00
Max Brunsfeld
30e678a450
Remove optional path argument when getting settings
2023-05-17 15:05:20 -07:00
Max Brunsfeld
c261a01c7f
Define theme/ui text style settings in theme crate
2023-05-17 14:44:59 -07:00
Max Brunsfeld
ca02b558c8
Merge branch 'main' into setting-store
2023-05-17 09:55:24 -07:00
Max Brunsfeld
56f2ff64ed
Define language settings in the language crate
2023-05-16 17:29:53 -07:00
Joseph Lyons
f33ccf81e3
Update release links
2023-05-12 14:04:36 -04:00
Max Brunsfeld
fe610e556f
Define telemetry settings in the client crate
2023-05-10 12:59:24 -07:00
Max Brunsfeld
d3220c752a
Define auto_update setting in the auto_update crate
2023-05-10 12:59:24 -07:00
Joseph Lyons
6aefd6a391
Do not use post_json() to auto update
2023-05-04 12:12:36 -04:00
Joseph Lyons
0eb35b39a7
Use post_json so that the Content-Type is set to application/json
2023-05-02 23:23:43 -04:00
Joseph Lyons
f06239dad4
Add download and upload metadata to update request
2023-05-02 17:16:42 -04:00
Antonio Scandurra
2742f1cb76
Remove ViewContext::dispatch_action
2023-05-01 16:27:36 +02:00
Antonio Scandurra
0571bed115
Remove unnecessary calls to WeakViewHandle::upgrade
2023-04-26 11:13:46 +02:00
Max Brunsfeld
d1f33d7052
🎨 Specify more dependencies at the workspace level
2023-04-24 17:41:55 -07:00
Nathan Sobo and Max Brunsfeld
52d4cc5349
Refine naming of element-related types and traits
...
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2023-04-21 13:06:37 -06:00
2bd56ab6f0
Rename Drawable::boxed to into_element and make containers generic
...
Multi-element are now generic over any drawable child, which can be converted
into an element.
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2023-04-21 12:43:19 -06:00
Antonio Scandurra
9254219f16
Fix warnings/errors now that AsyncAppContext::update returns Result
2023-04-18 14:58:57 +02:00
Antonio Scandurra
585b97bd38
Merge branch 'main' into window_context_2
2023-04-14 12:07:09 +02:00
Nathan Sobo
f5a86aecdc
WIP
2023-04-12 12:13:35 -06:00
Nathan Sobo
0316747904
WIP
2023-04-12 06:51:03 -06:00
Nathan Sobo
fabf89a1b1
WIP
2023-04-11 18:21:56 -06:00
Max Brunsfeld and Antonio Scandurra
afd7d101ec
Fix unit tests after fixing gpui model drop semantics
...
co-authored-by: Antonio Scandurra <antonio@zed.dev >
2023-04-11 10:58:01 -07:00
Nathan Sobo
45c1106140
Don't export platform::* from gpui
...
I'd like to avoid cluttering the top-level namespace with all the platform-
specific types.
2023-04-07 11:45:53 -06:00
Nathan Sobo
d937660683
Merge MutableAppContext into AppContext
...
There may have been a good reason for the difference at some point, or I was
still learning Rust. But now it's just &mut AppContext vs &AppContext.
2023-04-06 15:49:03 -06:00
Antonio Scandurra
ba4c257b50
Use the same serde version across the entire workspace
2023-03-28 09:42:00 -07:00
1205cd55ea
Add copilot crate
...
Refactor HTTP and github release downloading into util
Lazily download / upgrade the copilot LSP from Zed
Co-authored-by: Max <max@zed.dev >
Co-Authored-By: Antonio <antonio@zed.dev >
2023-03-28 09:41:59 -07:00
Antonio Scandurra and Julia Risley
e2c6eaa335
Deserialize Theme directly into the heap to avoid stack overflow
...
Co-Authored-By: Julia Risley <julia@zed.dev >
2023-03-17 15:58:52 +01:00
Mikayla Maki
6aec385c3f
Changed label and text to be generic over static strings and owned strings
2023-02-21 16:47:29 -08:00