Commit log

894a033 Add a horizontal separator between history and query file finder matches (#3808)

Click to expand commit body
To avoid confusion with the way file results are matched, add a
separator between history and query matches in file finders.

Release Notes:

- N/A

Kirill Bulatov created

1096eef Add a horizontal separator between history and query file finder matches

Kirill Bulatov created

1f603af Hide pane tab bar buttons in certain contexts (#3807)

Click to expand commit body
* entirely remove history navigation buttons in the terminal pane that
allows terminal elements only
* hide the entire tab bar if no active item is in pane (as in zed1)
* hide +/split/zoom buttons when the pane is not in focus (as in zed1)

Release Notes:

- N/A

Kirill Bulatov created

a249375 Do not show nav history buttons in terminal pane

Kirill Bulatov created

e839dc5 Hide pane tab bar for 0 items, hide its end buttons for no focus

Kirill Bulatov created

698460e Style inlay hints (#3806)

Click to expand commit body
This PR styles the inlay hints after the changes to the themes.

Release Notes:

- N/A

Marshall Bowers created

e5148b4 Assign player colors from the theme (#3805)

Click to expand commit body
This PR updates the `theme_importer` to pull in the player colors so
that we can assign them based on the current theme.

Release Notes:

- N/A

Marshall Bowers created

5a910aa Refine ported Zed1 themes (#3804)

Click to expand commit body
This PR applies another round of refinements to the ported Zed1 themes.

Most of this was focused around the coloration of UI text to better
match Zed1.

Release Notes:

- N/A

Marshall Bowers created

14ed4a4 Render project panel entries as muted, unless selected

Marshall Bowers created

446c947 Render breadcrumb using muted colors

Marshall Bowers created

04d2635 Adjust muted text colors

Marshall Bowers created

bdb89d4 Render tab bar tools as muted

Marshall Bowers created

9cb6132 Adjust border colors

Marshall Bowers created

e8a14b1 Adjust color used for text

Marshall Bowers created

7966bc3 Add `open project` event (#3803)

Joseph T. Lyons created

b1870af Add project open event

Click to expand commit body
Give the caller of report_app_event() the choice of whether to immediately flush the queue or not.

Joseph T. Lyons created

72b3a1d Increase telemetry queue size (#3802)

Click to expand commit body
It seems like we've fixed the clickhouse errors by switching to
`async_insert`, but we're still seeing a hiccup here and there on
vercel's socket. I slowed down the collection of cpu and memory events
earlier, and this PR will slow down how frequently we send events in
general, by increasing the queue size and the debounce time.

Release Notes:

- N/A

Joseph T. Lyons created

1989094 Increase queue flush debounce time

Joseph T. Lyons created

0746a10 Increase telemetry queue size

Joseph T. Lyons created

2edf560 Maintain workspace's zoom state when opening/closing docks, activating panels (#3801)

Click to expand commit body
Fixes an issue where zoom didn't work when closing and re-opening a
zoomed panel.

Max Brunsfeld created

d7b0662 Maintain workspace's zoom state when opening/closing docks, activating panels

Max Brunsfeld created

0e145a8 Make current call controls in title bar smaller (#3800)

Click to expand commit body
This PR adjusts the sizes of the current call controls in the title bar
to be smaller.

This matches the size of the other title bar items that are always
present.

Release Notes:

- N/A

Marshall Bowers created

a1915ce Add spacing to terminal tab bar buttons

Kirill Bulatov created

f03ee1e Add spacing between tab bar buttons (#3799)

Click to expand commit body
This PR adds spacing between buttons in the tab bar.

Release Notes:

- N/A

Marshall Bowers created

e1d8e20 Properly color file labels in project panel (#3794)

Click to expand commit body
Also fixes an error with mouse listeners placement in
https://github.com/zed-industries/zed/pull/3792

Release Notes:

- N/A

Kirill Bulatov created

3213a86 Use extra small label for tab descriptions (#3797)

Click to expand commit body
This PR adjusts the size of the tab descriptions to use the extra small
label size.

This makes it easier to distinguish between the filename and the
description:

<img width="320" alt="Screenshot 2023-12-22 at 6 49 11 PM"
src="https://github.com/zed-industries/zed/assets/1486634/451d4cd0-666c-43c2-b5df-6d9cf91dacda">

It's also more in line with how things look in Zed1.

Release Notes:

- N/A

Marshall Bowers created

c6f3f43 Fix mouse listeners' z-index for editor

Kirill Bulatov created

ca7e504 titlebar: show "Share project" button only in local projects. (#3795)

Click to expand commit body
Fixes '"Share" button is shown even for remote projects'.

Release Notes:

- N/A

Piotr Osiewicz created

1ebfafc Map additional text colors from Zed1 themes (#3796)

Click to expand commit body
This PR maps additional text colors from the Zed1 themes to the Zed2
themes.

Release Notes:

- N/A

Marshall Bowers created

9600337 Properly color file labels in project panel

Kirill Bulatov created

b501f4e Begin porting Zed1 themes to Zed2 (#3793)

Click to expand commit body
This PR is a first pass at porting the Zed1 themes to Zed2.

For the initial release of Zed2 we'll be shipping just the themes that
existed in Zed1, ported to Zed2. The new themes that were previously
added just in Zed2 have been removed.

Release Notes:

- N/A

Marshall Bowers created

a1bd636 Fix multibuffer scroll by reordering z-index of its elements (#3792)

Click to expand commit body
1. Blocks (with their headers) and mouse listeners should be drawn
together otherwise either starts to loose mouse events.

2. Scrollbar should be above all to match zed1 look and avoid buffer
headers popping slightly to the right of the scrollbar.

Release Notes:

- N/A

Kirill Bulatov created

764a275 Fix multibuffer scroll by reordering z-index of its elements

Click to expand commit body
1. Blocks (with their headers) and mouse listeners should be drawn together otherwise either starts to loose mouse events.

2. Scrollbar should be above all to match zed1 look and avoid buffer headers popping slightly to the right of the scrollbar.

Kirill Bulatov created

dc64411 Extend `theme_importer` in preparation for importing Zed1 themes (#3791)

Click to expand commit body
This PR extends the `theme_importer` with the overall structure required
to support importing themes from Zed1.

Release Notes:

- N/A

Marshall Bowers created

c34a811 Fix panic when deploying emoji picker (character palette) (#3790)

Click to expand commit body
The panic was caused by Cocoa synchronously invoking the
`selected_text_range` method on the registered input handler while we
already had a borrow of the app.

This pull request fixes this issue by showing the character palette on
the next tick of the loop (we've had this problem in other spots too and
used the same technique).

Release Notes:

- N/A

Antonio Scandurra created

7ef2ddd Disambiguate GPUI2 macOS class names (#3789)

Click to expand commit body
This PR disambiguates the macOS class names used in GPUI2 from the ones
used in GPUI1.

Right now if you happen to end up with a copy of both `gpui` and `gpui2`
in the dependency tree you get an unhelpful `unwrap` error when we try
to build the class names.

By giving them different names we are able to get to our more helpful
error that informs you that both GPUI1 and GPUI2 are in the module tree.

We can change these names back once we do the big "un-2-ing".

Release Notes:

- N/A

Marshall Bowers created

9a6688b Fix panic when deploying emoji picker (character palette)

Click to expand commit body
The panic was caused by Cocoa synchronously invoking the `selected_text_range`
method on the registered input handler while we already had a borrow of the
app.

This commit fixes this issue by showing the character palette on the next tick
of the loop (we've had this problem in other spots too and used the same technique).

Antonio Scandurra created

3034053 Prevent panels from getting so small they can't be resized (#3788)

Click to expand commit body
This also switches to using `Pixels` instead of `f32` to store the panel
size everywhere.

Release Notes:

- N/A

Antonio Scandurra created

961d833 Prevent panels from getting so small they can't be resized

Antonio Scandurra created

3715ddf Use `Pixels` instead of `f32` for panel size

Antonio Scandurra created

25a5eda picker: Reintroduce headers and footers (#3786)

Click to expand commit body
Update VCS menu to match Zed1.
<img width="444" alt="image"
src="https://github.com/zed-industries/zed/assets/24362066/6cb27510-f501-46bc-862f-1fb78006b77c">

Release Notes:

- N/A

Piotr Osiewicz created

87ff5f0 Fix resizing for bottom dock (#3787)

Click to expand commit body
We were not using `flex` on the `PaneGroup`, which caused the bottom
dock to be unable to satisfy the desired resize value.

Release Notes:

- N/A

Antonio Scandurra created

54e4530 Fix resizing for bottom dock

Click to expand commit body
We were not using `flex` on the `PaneGroup`, which caused the bottom
dock to be unable to satisfy the desired resize value.

Antonio Scandurra created

f3ab5ce Fix enter, tab and shift-tab behavior in project search 2 (#3785)

Kirill Bulatov created

2f4cedb Remove the old code

Kirill Bulatov created

a03306f Fix enter, tab and shift-tab behavior in project search 2

Kirill Bulatov created

dc1ed3c Titlebar project menu double click (#3784)

Click to expand commit body
This addresses a bug where popover menus in the titlebar were rendered
only after a 2nd click. The first click was creating the View which the
second one then rendered.
In addition to this, `PopoverMenu::menu` function argument can now
return an `Option<View<T>>` instead of `View<T>` as the creation of the
menu can fail (as it might in case of git popover).

Release Notes:

- N/A

Piotr Osiewicz created

5de32f7 Do not display a getting start message when the project is open

Kirill Bulatov created

172e434 Allow horizontal scrolling of tab bar on vertical mouse wheel (#3783)

Click to expand commit body
Now, if we receive a scroll event for an axis, but that axis can't be
scrolled (overflow != scroll), we will apply it to the opposite axis
instead if that axis supports scrolling.

Release Notes:

- N/A

Antonio Scandurra created

dd09347 Allow horizontal scrolling of tab bar on vertical mouse wheel

Click to expand commit body
Now, if we receive a scroll event for an axis, but that axis can't be scrolled
(overflow != scroll), we will apply it to the opposite axis instead
if that axis supports scrolling.

Antonio Scandurra created