Commit log

a773a3c Increase horizontal padding for inset `ListItem`s

Marshall Bowers created

dabc986 Use small labels for title bar buttons (#3763)

Click to expand commit body
This PR adjusts the sizing of the labels in the buttons in the title bar
to use the small label size.

This should bring them more in line with how things looked in Zed1.

Release Notes:

- N/A

Marshall Bowers created

a1fe514 Revert "Optimize order rendering and border drawing" (#3761)

Click to expand commit body
Reverts zed-industries/zed#3759

It seems like this is not quite right yet. Reverting until we figure out
what's wrong.

Antonio Scandurra created

7cfea09 Revert "Optimize order rendering and border drawing"

Antonio Scandurra created

9efe5a3 Fix pane drag target not appearing over terminal element

Julia created

31e47f9 Prevent panic dragging tab into terminal panel

Julia created

b385373 Bump tree-sitter-nu rev id (#3760)

Joseph T. Lyons created

cbb2219 Optimize order rendering and border drawing (#3759)

Click to expand commit body
This fixes the slowdowns we were observing when opening the saved
assistant conversations.

Release Notes:

- N/A

Antonio Scandurra created

38a8aa2 Bump tree-sitter-nu rev id

Joseph T. Lyons created

824b687 Improve chat panel styling (#3758)

Click to expand commit body
This PR improves the chat panel styling, especially with regards to the
spacing.

Release Notes:

- N/A

Marshall Bowers created

53a4b71 Delete stray comment

Antonio Scandurra created

c03c0d5 Use smaller quads to draw borders

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

67f7646 Replace `BspSplitter` with brute-force sorting of primitives

Antonio Scandurra created

7a9c405 Increase inline assistant editor's line height (#3757)

Click to expand commit body
This PR increases the line height for the inline assistant editor.

This fixes an issue where descenders were being clipped.

Release Notes:

- N/A

Marshall Bowers created

a516c3b Allow scrolling of saved conversations (#3756)

Click to expand commit body
Release Notes:

- N/A

Antonio Scandurra created

01947ed Use existing AnyElement::draw

Antonio Scandurra created

5e4557e Fix warnings

Antonio Scandurra created

176a022 Correctly clamp scroll offset vertically

Antonio Scandurra created

e2a4474 Allow scrolling saved conversations

Antonio Scandurra created

73b527e Store email address on modal close

Joseph T. Lyons created

f83d156 Fix clicking on "+" button not working when a tab was underneath (#3755)

Click to expand commit body
We were mistakenly pushing an opaque layer without intersecting it with
the content mask. Also, we were pushing two opaque layers for the same
div unnecessarily.

Release Notes:

- N/A

Antonio Scandurra created

b0ee7b2 Fix clicking on "+" button not working when a tab was underneath

Click to expand commit body
We were mistakenly pushing an opaque layer without intersecting it
with the content mask. Also, we were pushing two opaque layers for
the same div unnecessarily.

Antonio Scandurra created

8dc691f Fix Zed2 cli actions: opening notes and joining calls (#3754)

Click to expand commit body
Release Notes:

- N/A

Kirill Bulatov created

b14c07c Fix Zed cli actions: opening notes and joining calls

Kirill Bulatov created

ff845cf Fix stale scroll position in tab bar (#3753)

Click to expand commit body
Release Notes:

- N/A

Antonio Scandurra created

b38a095 Fix stale scroll position in tab bar

Antonio Scandurra created

e4904e0 Fix `WindowContext::available_actions` missing some actions (#3752)

Click to expand commit body
This pull request also allows turning an `ArenaBox` into an `ArenaRef`
when non-mutable access is required, which makes `ArenaRef: Clone`. This
fixes a bug that prevented the command palette from reading all the
available actions while the `command_palette::Toggle` action was being
dispatched.

Release Notes:

- N/A

Antonio Scandurra created

c7933a6 Remove stray dbg

Antonio Scandurra created

73682da Provide mut access to allocated arena struct via non-cloneable ArenaBox

Click to expand commit body
This commit also allows turning an `ArenaBox` into an `ArenaRef` when
non-mutable access is required, which makes `ArenaRef: Clone`. This fixes
a bug that prevented the command palette from reading all the available
actions while the `command_palette::Toggle` action was being dispatched.

Antonio Scandurra created

ca091f3 Fix layout issues with feedback modal (#3751)

Click to expand commit body
Release Notes:

- N/A

Joseph T. Lyons created

036636e Fix layout issues with feedback modal

Click to expand commit body
The feedback modal still needs a styling update

Joseph T. Lyons created

e5ce5e8 Clear pending keystrokes when an action is dispatched (#3750)

Click to expand commit body
This prevents the `cmd-k` keystroke, which clears the terminal, from
staying around as a pending keystroke on the parent workspace.

Release Notes:

- N/A

Nathan Sobo created

4680aad Correctly compute placeholder text for buffer search query editor (#3749)

Click to expand commit body
Rather than relying on the focused element, instead explicitly pass the
focus handle for the query editor when determining the prev/next
bindings. Only compute these values once.

Release Notes:

- N/A

Nathan Sobo created

5747c9b Clear pending keystrokes when an action is dispatched

Nathan Sobo created

c56e7cd Remove unused import

Nathan Sobo created

4f6bef5 Improve interaction between clicking and dragging (#3737)

Click to expand commit body
Once a drag starts, we won't fire click listeners or style any elements
as active.

- Don't fire click listeners or show active state once a drag is in
progress
- Don't show hover style when a drag is in progress
- Draw borders above content
- If borders are opaque, apply them to the content mask. This prevents
hovers from firing on content underneath the border, which was creating
issues where the drag handle was inside the border, so we'd flicker the
hover when the mouse moved out of the drag handle and into the 1px
border on the left dock.
- Add a `block_mouse` helper which causes transparent elements to paint
an "opaque" layer to prevent mouse events from falling through. We use
this for the drag handle as well to disable hover, click, etc on items
in the panel.

Release Notes:

- N/A

Nathan Sobo created

afbc655 Ensure that views' `on_release` callbacks are always called (#3747)

Click to expand commit body
* Ensure that views' on_release callbacks are always called (even if
their window is gone), by passing them a `AppContext`, not a
`WindowContext`.
* Fix leaked handles to `CollabPanel`, `NotificationPanel`, and
`ChatPanel` caused by captures in a `ListState` render callback.

This fixes two issues we were seeing with following:
* inability to rejoin a remote project after you closed it
* following not working if a window had previously been closed

Max Brunsfeld created

87a1387 For file finder queries, match in all gitignored worktree entries (#3748)

Click to expand commit body
Deals with https://github.com/zed-industries/community/issues/2347
Part of https://github.com/zed-industries/community/issues/1538

Now file finder will match all gitignored worktree entries.
Zed does not traverse gitignored dirs by default, which means that not
all gitignored files will be matches, but all that were toggled in
project panel and all root non-directory gitignored entries will be now
used, hopefully causing less questions.

Release Notes:

- Improved file finder to match all gitignored files that were added
into worktrees (e.g. due to opening gitignored directories in project
panel)

Kirill Bulatov created

24970c1 Fix view handle leaks in ListState callbacks

Max Brunsfeld created

2f56fe9 For file finder queries, search in all gitignored worktree entries

Kirill Bulatov created

42bdc11 Prune dead workspaces from WorkspaceStore on read

Click to expand commit body
Also, remove unnecessary window handle from Workspace.

Max Brunsfeld created

5e7c74c Ensure that on_release callbacks are called even if view outlives its window

Max Brunsfeld created

d61cac6 Add `ToggleButton` for use in buffer search (#3746)

Click to expand commit body
This PR adds a new `ToggleButton` component:

<img width="738" alt="Screenshot 2023-12-20 at 6 50 13 PM"
src="https://github.com/zed-industries/zed/assets/1486634/9c5fb45b-0b55-4008-9336-b651a26a99ad">

We're using `ToggleButton`s for the search mode selection in the buffer
search:

<img width="842" alt="Screenshot 2023-12-20 at 6 47 57 PM"
src="https://github.com/zed-industries/zed/assets/1486634/178a278f-172c-4c67-8572-83d59de2ed14">

Release Notes:

- N/A

Marshall Bowers created

11807bb Add large variant for buttons

Marshall Bowers created

93c8bee Use `ToggleButton`s for search mode in buffer search

Marshall Bowers created

8238edb Remove nightly from zed1 and use proper namespaces for nightly in zed2 manifest (#3745)

Click to expand commit body
Currently, I get 404 when trying to open links for nightly, like
https://zed.dev/nightly/channel/Rooms-329
The PR ensures nightly has a separate protocol handler in zed2, removes
nightly mentions from zed1.

See also zed.dev change:
https://github.com/zed-industries/zed.dev/pull/429

Release Notes:

- N/A

Kirill Bulatov created

443b1dd Add `ToggleButton` component

Marshall Bowers created

2cd7d2d Remove nightly from zed1 and use proper namespaces for nightly in zed2 manifest

Kirill Bulatov created

56f2b96 Restore "reveal in project panel" and "search in directory" context menu actions (#3744)

Click to expand commit body
Release Notes:

- N/A

Kirill Bulatov created

72c8bea Restore "reveal in project panel" and "search in directory" context menu actions

Kirill Bulatov created