Piotr Osiewicz and Kirill
f4f65e9c2c
Editor docs ( #4097 )
...
Release Notes:
- N/A
---------
Co-authored-by: Kirill <kirill@zed.dev >
2024-01-18 00:48:37 +01:00
Joseph T. Lyons
fa0ba2cca2
Add more open events
...
project search
diagnostics
welcome page
2024-01-15 16:26:04 -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
Nate Butler
f41b7f676f
Always show checking with icon if checks are still running
2024-01-08 11:55:51 -05:00
Nate Butler
3e1e5e744a
Use default instead of muted color
2024-01-08 11:34:00 -05:00
Conrad Irwin
455d60f20a
Merge branch 'main' into channel-guests
2024-01-05 10:05:59 -07:00
Conrad Irwin
99a4779717
Better TestWindow support ( #3876 )
...
Adding guest roles led us down a rabbit hole where we'd have liked to
rely on a
side-effect of activating a window in tests; but the test window didn't
implement that.
Looking into that, I realized our TestWindow wasn't doing a great job of
emulating the MacWindow, so this makes the two more similar.
2024-01-05 09:59:48 -07:00
Conrad Irwin
7f3c02c4a9
Fix more tests broken by timing change
2024-01-04 21:34:56 -07:00
Marshall Bowers
d08ddcff42
Fix label color for inactive tabs ( #3899 )
...
This PR fixes an issue where certain tabs were not using the correct
color for their labels when they were inactive.
Release Notes:
- Fixed an issue where some inactive tabs were not using the correct
label color.
2024-01-04 17:25:11 -05:00
Nate Butler
f5620f3896
Add "Checking" icon for diagnostics
2024-01-03 23:07:21 -05:00
Conrad Irwin
4260ed27f6
Track read_only per project and buffer
...
This uses a new enum to avoid confusing booleans
2024-01-03 19:31:43 -07: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
e2be87c688
Remove 2 suffix for ui, storybook, text
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:33:51 -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
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
8e704c8a47
Remove 2 suffix for lsp, language, fuzzy
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 11:58:02 -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
602d158320
Remove 2 suffix for editor
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 10:58:57 -08:00
Max Brunsfeld and Mikayla
450537ac2a
Remove 2 suffix for vim, diagnostics, go_to_line, theme_selector, command_palette, file_finder
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 10:42:49 -08:00
Kirill Bulatov
cd5018d9cf
Exclude gitignored files' diagnostics from project panel and its indicator.
...
The diagnostics are collected and available still, since that might become a settings/UI toggle later.
Also, buffer diagnostics are still updated for gitignored files.
2023-11-30 15:46:30 +02:00
Kirill Bulatov
943bc66a9a
Do not add diagnostics for any selection in the diagnostics panel
2023-11-10 13:35:58 +02:00
Kirill Bulatov
d661451e06
Properly toggle diagnostics
2023-11-06 19:29:31 +02:00
Kirill Bulatov
b03d2e6ea8
Correctly update old diagnostics
2023-11-05 15:37:27 +02:00
Kirill Bulatov
321872095c
Parallelize diagnostics filling, add more logs
2023-11-05 15:06:39 +02:00
Kirill Bulatov
b76f28cf58
Restructure inner path data
2023-11-05 14:53:13 +02:00
Kirill Bulatov
ac34ca4d30
Eagerly refresh diagnostics that do not intercept with user input
2023-11-05 14:44:22 +02:00
Kirill Bulatov
4b2bf246a9
Refresh all possibly stale diagnostics pat
2023-11-05 14:43:54 +02:00
Kirill Bulatov
1ed9260477
Fix the test
2023-11-03 21:51:12 +02:00
Kirill Bulatov
3592b98e8f
Refresh diagnostics inside the tab
2023-11-03 21:51:12 +02:00
Kirill Bulatov
77a851998e
Update diagnostics indicator when diagnostics are udpated
2023-10-13 12:13:18 +03:00
Antonio Scandurra
cb2f28a6d4
Fix tests
2023-09-27 18:19:35 -06:00
Antonio Scandurra
f84a84bf07
Introduce a new include_warnings setting under diagnostics
2023-09-27 18:08:08 -06:00
Antonio Scandurra
671e1bb188
Add an include/exclude warnings toggle in project diagnostics
2023-09-27 17:47:19 -06:00
Nate Butler
0dc4475f7f
Unify icons using multiple variants, remove all unused icons
2023-09-15 12:50:49 -04:00
Julia
532fa49b83
Avoid keeping stale LSP progress indicator state when server is removed
2023-09-12 15:14:49 -04:00
Nathan Sobo
ec9bebc7f4
Merge branch 'main' into divs
2023-08-22 16:35:56 -06:00
Nate Butler
f201875d07
Additional status bar styles
2023-08-15 15:32:14 -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
Nathan Sobo and Mikayla Maki
64f61d293a
Merge branch 'main' into taffy
...
Co-Authored-By: Mikayla Maki <mikayla@zed.dev >
2023-08-14 13:50:21 -06:00
Piotr Osiewicz
625ac1c1ed
chore: use Cow instead of String for tooltips ( #2838 )
...
A QoL change to align `Tooltip` with other elements like `Label`
Release Notes:
- N/A
2023-08-11 15:29:55 +02:00
Nathan Sobo
bb9591415f
WIP
2023-08-10 10:26:48 -06:00
Nathan Sobo
337db743e9
Remove TestAppContext::add_view
...
Instead, we now call this on window handles.
2023-08-07 22:46:48 -06:00
Nathan Sobo
d1e01ba625
WIP
2023-08-06 12:45:31 -06:00
Nathan Sobo
40f28de681
Don't refcount window handles
2023-08-03 17:11:47 -06:00
Nathan Sobo
680c0185e4
Get tests compiling returning WindowHandle<V: View> from add_window
2023-08-02 14:05:03 -06:00
Nate Butler
165f7d5e0a
Split Interactive into Interactive and Toggleable ( #2628 )
...
This is a part of the intensity driven theme rewrite.
It introduces the `toggle` and `interactive` helper functions to build
Toggle<T> and Interactive<T> styles for interactive elements in the
theme.
This PR also removes the `theme_testbench` crate and related actions.
Huge thanks to @osiewicz and @mikayla-maki for pushing this forward 🙏🏽
Release Notes:
- Updated the style of many interactive elements.
2023-06-21 15:03:08 -04:00