3dd5641
Add settings events
Joseph T. Lyons created
3dd5641
Add settings events
Joseph T. Lyons created
93a818d
Add additional status colors and style diagnostic popovers (#3846)
This PR adds additional background and border colors for each of the status colors to the theme. These colors are then used to style the diagnostic popovers: <img width="407" alt="Screenshot 2024-01-02 at 4 25 50 PM" src="https://github.com/zed-industries/zed/assets/1486634/fbc64ea7-3dcd-43b7-8520-91f16304bfba"> <img width="396" alt="Screenshot 2024-01-02 at 4 26 05 PM" src="https://github.com/zed-industries/zed/assets/1486634/6e4a44bf-4aac-4595-afff-7fbf8b2b9e1f"> Release Notes: - N/A
Marshall Bowers created
ae71d1a
Layout completion single-line documentation to the right of item
Julia created
2b9570e
Fix spacing in diagnostics tab (#3844)
This PR fixes the spacing in the diagnostics tab. #### Before <img width="108" alt="Screenshot 2024-01-02 at 3 40 51 PM" src="https://github.com/zed-industries/zed/assets/1486634/9508d867-5b5d-45b0-8b16-be35a23e3e7a"> #### After <img width="121" alt="Screenshot 2024-01-02 at 3 40 54 PM" src="https://github.com/zed-industries/zed/assets/1486634/33e665e7-2935-4d4f-b1d0-9cb655235867"> Release Notes: - N/A
Marshall Bowers created
d64d91a
Restore transparency to scroll bar handles (#3843)
This PR restores the semi-transparency to the scroll bar handle colors that were lost in #3842. If we adjust the rendering of the scrollbar to draw the status indicators on top of the scrollbar handle then we can remove the transparency. Release Notes: - N/A
Marshall Bowers created
8247be3
Use Zed1 Color Scheme to update Zed1 Theme Importer (#3842)
Bring Zed1 themes closer to their old appearance using the `base_theme` values. This will inevitably re-introduce some outstanding design issues from Zed 1 that we will need to solve (low contrasts in some places, etc.) We'll work on some of these in a later PR. Known issues introduced: - Scrollbar thumb is incorrectly drawn in front of the indicators - Borders aren't quite correct - will fix in a followup - Titlebar/status bar buttons will now have low contrast states - Keybinding background color blends with palette There are likely more issues, add them to the product checklist as you find them. Release Notes: - N/A
Marshall Bowers created
711b099
Update status colors in zed1 importer
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
Nate Butler and Marshall Bowers created
ff74c93
Get zed1 theme importer down to no warnings
Note: We removed some unused theme colors Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
Nate Butler and Marshall Bowers created
12f06a9
Merge branch 'main' into overlay-rounding
Conrad Irwin created
9c91b65
Use mostly base theme
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
Nate Butler and Marshall Bowers created
7ea9725
Start using base theme in zed1 theme importer
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
Nate Butler and Marshall Bowers created
9996fbe
Absolutely position channel buttons (#3840)
This PR absolutely positions the channel buttons on top of the channels. This prevents the buttons from getting pushed off the edge of the panel when the channel names are long. Still needs some fine-tuning, but gets us closer to where we want to be. Release Notes: - N/A
Marshall Bowers created
cb6652e
Clippy fixes for gpui2 (#3826)
It's not quite complete, but we gotta start somewhere. Release Notes: - N/A
Nathan Sobo created
c636731
Add some docs
Nathan Sobo created
30624b9
Fix anti-aliasing artifacts in GPUI 2 borders (#3818)
Previously, we changed borders to be drawn after content, so they are no longer part of the same quads as the background. In our change, we gave the background quad a transparent black border and the border quads transparent black backgrounds. However, this caused the other channels to blend toward that black color before becoming fully transparent, causing them to become darker. In this PR, I source the "placeholder" color by duplicating the values for the other channels and only adjust the alpha down to zero. Release Notes: - N/A
Nathan Sobo created
68e7d99
Return impl IntoElement from RenderOnce::render
This makes it a bit more approachable to implement. This required converting the state of Component to AnyElement, which costs an allocation. I'm hoping this will be ok performance-wise now that AnyElements use bump allocation, but I need to benchmark still.
Nathan Sobo created
2e349a8
Round tooltip co-ordinates
Conrad Irwin created
1b5c8b2
Return impl IntoElement from Render::render trait
Nathan Sobo created
853192b
Map suggestion colors from Zed1 themes (#3835)
This PR maps the suggestions colors from the Zed1 themes to the Zed2 themes. Release Notes: - N/A
Marshall Bowers created
0f33775
Add general-purpose functions for sizing in viewport units (#3833)
This PR adds general-purpose functions for obtaining a `Length` in viewport units. Previously in #3600 we had added specific variants of `w` and `h` that took viewport units, but I think it makes more sense to just have a primitive that can compose with any styling method that accepts a `Length` or `Into<Length>`. Release Notes: - N/A
Marshall Bowers created
8ba52b8
Use small icons in channel list (#3832)
This PR adjusts the size of the chat and channel note icons in the channel list to be smaller. Release Notes: - N/A
Marshall Bowers created
f5b60ad
Increase outline picker max height (#3831)
This PR increases the max height of the outline picker so that it can take up a larger area of the screen when there are lots of results. This behavior is similar to the way it was in Zed1. Release Notes: - N/A
Marshall Bowers created
64e5122
Start work on supporting custom languages
Max Brunsfeld created
c6d9bc5
ui: Add Backspace/Delete icons and use them for keybindings.
Piotr Osiewicz created
f5b3e47
theme_importer: Map drop target colors (#3830)
This PR maps the drop target background color in the `theme_importer`. Release Notes: - N/A
Marshall Bowers created
6b14f2f
Rename `build_view` to `new_view` and `build_model` to `new_model` (#3823)
The word "new" is shorter and blends in with `new` constructors that are common in Rust. Been meaning to do this for a while. Release Notes: - N/A
Nathan Sobo created
7314838
project search: Move to results with ESC
Piotr Osiewicz created
e81072a
Fix missing breadcrumbs on first open of project search.
Fixes: Project search does not have breadcrumbs on its first open: after switching to other tab and back, breadcrumbs are shown
Piotr Osiewicz created
576d880
Fix up gpui1
Piotr Osiewicz created
388c2d8
cargo fmt
Piotr Osiewicz created
4af6ac2
gpui2: Another round of fixups
Piotr Osiewicz created
945dba8
gpui2: redundant_locals
Piotr Osiewicz created
bcff7a8
gpui2: Fix instance of map_entry lint
Piotr Osiewicz created
1a03cf3
Merge branch 'main' into clippy-fixes-for-zed2
Piotr Osiewicz created
d185fca
Another pass of #[allow()] removal (#3825)
We still have a bunch of leftovers in ui2/theme2 and in gpui2 display_link module. Release Notes: - N/A
Piotr Osiewicz created
1c20a7f
search: Add "Error" borders for query editors with malformed content. (#3824)
This commit also changes the way search queries are built (we do not bail early anymore if include/exclude editor queries are malformed) to propagate error status of the panel. Release Notes: - N/A
Piotr Osiewicz created
4707160
Merge remote-tracking branch 'origin/main' into new-view-new-model-rename
Nathan Sobo created
db1cf8f
Rename `build_view` to `new_view` and `build_model` to `new_model`
The word "new" is shorter and blends in with `new` constructors that are common in Rust. Been meaning to do this for a while.
Nathan Sobo created
789db30
Clean up Element API and start on docs (#3821)
Getting some scaffold docs in place and making some naming adjustments to improve consistency with Rust APIs and clarity. - Render::Element -> Render::Output, and Render::Output is now only required to be IntoElement instead of Element so we can return components. - RenderOnce::Element -> RenderOnce::Output - Element::layout -> Render::request_layout - Clarify that this doesn't actually *perform* layout, but simply requests Release Notes: - N/A
Nathan Sobo created
a3759f9
Another batch of fixups
Piotr Osiewicz created
2621efe
Rest of fixups for gpui2
Piotr Osiewicz created
7d420ed
Start fixing up gpui2
Piotr Osiewicz created
86facbb
sqlez
Piotr Osiewicz created
e2ec96e
Fixes for gpui2_macros
Piotr Osiewicz created
4fa28b3
chore: fix clippy lints for rope2, sum_tree, text2 and util
Piotr Osiewicz created
f836873
Fix merge
Nathan Sobo created
bcf0e3f
Merge branch 'pre-merge' into clean-up-doc-elements
Nathan Sobo created
81b03d3
Rearrange to hopefully make merging easier
Nathan Sobo created
c6ae885
Add more docs
Nathan Sobo created
219999c
theme2: Move stories to RPITIT for Render
Piotr Osiewicz created