Commit log

a75f1a4 Close feedback modal when clicking cancel

Joseph T. Lyons created

eef6c37 Fix bug preventing spaces from being used in filename (#3454)

Click to expand commit body
This bug was my fault, something I changed months ago to be more
consistent with VS Code - really strange that it took months for someone
to find out spaces couldn't be used in the project panel.

~I didn't apply this fix to zed2 because I dont think the facilities are
in place to do so (@maxbrunsfeld, @mikayla-maki, is there a system in
place for this that I missed?). I did leave a TODO.~

Fix is now in zed 2.

Release Notes:

- Fixed a bug where spaces could not be inserted when editing file names
in the project panel
([#2308](https://github.com/zed-industries/community/issues/2308)).

Joseph T. Lyons created

9849a0a Move project panel's dispatch_context() to render()

Joseph T. Lyons created

6d62e6c Respect `label_color` for `Button`s (#3469)

Click to expand commit body
This PR makes `Button`s respect the `label_color` that is specified,
provided they are not disabled or selected.

Release Notes:

- N/A

Marshall Bowers created

0441b48 Show cursor position in status bar (#3464)

Click to expand commit body
Passes the compiler so it must work!

(though it doesn't show up until we fix pane focus)

Release Notes:

- N/A

Conrad Irwin created

e1c8369 Rename `menu_handle` to `right_click_menu` and `child` to `trigger`

Click to expand commit body
This makes things more in-line with `popover_menu`.

Conrad Irwin created

4f74d65 Restore some workspace functionality, enable workspace tests (#3468)

Click to expand commit body
* Pane history navigation
* Autosave on focus change
* Setting the window title based on the active path

Max Brunsfeld created

ebbbeca Flesh out a popover control

Conrad Irwin created

cb11c12 Re-introduce active path tracking in workspace

Max Brunsfeld created

a003a91 Restore auto-save on focus change, re-enable workspace tests

Max Brunsfeld created

bac39e8 Add some text to clarify no api key state (#3462)

Click to expand commit body
This PR is a quick-and-dirty approach to clarify what is happening when
a user doesn't have an API key so the assistant opens with the key
editor.

- Adds some text explaining how to close the panel
- Explains that other subscriptions don't cover the assistant, it needs
an api key.
- Helps people understand where to go to get an API key.

This is a Zed 1 change only, a bandaid. Zed 2 will have a better
solution: [Working
issue](https://github.com/zed-industries/zed/issues/3461)

Release Notes:

- N/A

Nate Butler created

e228422 Update feedback modal UI

Click to expand commit body
Co-Authored-By: Joseph T. Lyons <19867440+JosephTLyons@users.noreply.github.com>

Nate Butler and Joseph T. Lyons created

8b7be8f Get `feedback2` compiling

Click to expand commit body
Co-Authored-By: Joseph T. Lyons <19867440+JosephTLyons@users.noreply.github.com>
Co-Authored-By: Conrad Irwin <conrad.irwin@gmail.com>

Nate Butler , Joseph T. Lyons , and Conrad Irwin created

e5a5b1e Rework `ListHeader` to be more open (#3467)

Click to expand commit body
This PR reworks the `ListHeader` component to be more open.

The `meta` method can now be used to append meta items of any element to
the `ListHeader`, and they will be rendered with the appropriate spacing
between them.

Release Notes:

- N/A

Marshall Bowers created

5098faf Add `v_stack` and `h_stack` to the UI prelude

Click to expand commit body
Co-Authored-By: Joseph T. Lyons <19867440+JosephTLyons@users.noreply.github.com>
Co-Authored-By: Conrad Irwin <conrad.irwin@gmail.com>

Nate Butler , Joseph T. Lyons , and Conrad Irwin created

f987a64 init feedback2

Click to expand commit body
Co-Authored-By: Joseph T. Lyons <19867440+JosephTLyons@users.noreply.github.com>
Co-Authored-By: Conrad Irwin <conrad.irwin@gmail.com>

Nate Butler , Joseph T. Lyons , and Conrad Irwin created

c63ca09 Reintroduce pane navigation history in zed2

Max Brunsfeld created

164084c Update collab_titlebar_item.rs

Nate Butler created

180ba42 WIP update popover_menu

Nate Butler created

bd6fa66 Bump Tree-sitter to fix another crash triggered by a markdown file (#3466)

Click to expand commit body
Bumps Tree-sitter for
https://github.com/tree-sitter/tree-sitter/pull/2802

This fixes a regression introduced in the last Tree-sitter upgrade.

Release Notes:

- Fixed a crash that occurred when editing certain Markdown files.

Max Brunsfeld created

16dc978 Bump Tree-sitter for a crash fix

Max Brunsfeld created

f922ad9 Fix bug preventing spaces from being used in filename (zed2)

Click to expand commit body
Co-Authored-By: Mikayla Maki <mikayla.c.maki@gmail.com>

Joseph T. Lyons and Mikayla Maki created

39887be WIP: layout compiling

Mikayla created

d516ae0 Pane context menus & focus shenanigans

Click to expand commit body
Co-Authored-By: Conrad Irwin <conrad@zed.dev>

Julia and Conrad Irwin created

3ffcb97 Implement `Selectable` for list components (#3465)

Click to expand commit body
This PR implements the `Selectable` trait for the `ListItem` and
`ListHeader` components.

These components already had their own selectable behavior, but weren't
formally adhering to the interface defined by the trait.

Release Notes:

- N/A

Marshall Bowers created

e78538e Implement `Selectable` for `ListItem` and `ListHeader`

Marshall Bowers created

865baaa Remove unused `GraphicSlot` enum

Marshall Bowers created

5fdfdb0 Remove unused import

Nate Butler created

5eb8978 Clean up left side titlebar buttons

Nate Butler created

b34b197 Update main.rs

Mikayla Maki created

679851e Add `render_project_name` and `render_project_branch`

Click to expand commit body
Co-Authored-By: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>

Nate Butler and Piotr Osiewicz created

8d4652a Scaffold out `render_project_owner`

Click to expand commit body
Co-Authored-By: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>

Nate Butler and Piotr Osiewicz created

21dfe58 Missing return

Julia created

75afb65 Show cursor position in status bar

Conrad Irwin created

0a8a84f Rename button-related enums (#3463)

Click to expand commit body
This PR renames the `ButtonStyle2` and `ButtonSize2` enums to
`ButtonStyle` and `ButtonSize`, respectively.

Release Notes:

- N/A

Marshall Bowers created

0e1597d WIP

Antonio Scandurra created

428c517 Merge branch 'main' into zed2-breadcrumbs

Julia created

8109831 Add some text to clarify no api key state

Click to expand commit body
Co-Authored-By: Joseph T. Lyons <19867440+JosephTLyons@users.noreply.github.com>

Nate Butler and Joseph T. Lyons created

5243401 Pass a `WindowContext` in `request_measured_layout`

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

Antonio Scandurra and Nathan Sobo created

591299b Start getting pane focus code ported

Julia created

d9b8c07 Lift Send and Sync restriction for measurements

Antonio Scandurra created

e20309f Update collab_titlebar_item.rs

Click to expand commit body
[no ci]

Nate Butler created

daf6201 Start plugging selected states into collab ui

Nate Butler created

b64fe04 Trim file_finder input queries (#3459)

Click to expand commit body
Addresses a small bit of influencer's feedback

Release Notes:

- Fixed file finder query's whitespaces not being trimmed

Kirill Bulatov created

82b3efa Update collab button styles

Nate Butler created

cdae8eb Exclude gitignored files' diagnostics from project panel and its indicator. (#3458)

Click to expand commit body
Based on influencer's feedback.

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.

Release Notes:

- Excluded gitignored files' diagnostics from project panel and its
indicator.

Kirill Bulatov created

1b39916 Trim file_finder input queries

Kirill Bulatov created

091d935 Port to gpui2

Kirill Bulatov created

69bfd47 Exclude gitignored files' diagnostics from project panel and its indicator.

Click to expand commit body
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.

Kirill Bulatov created

7b76db4 Fix TypeScript diagnostics (#3457)

Click to expand commit body
Deals with https://github.com/zed-industries/community/issues/2124

* sends more ClientCapabilities LSP data, diagnostics capabilities in
particular: those are now required by typescript-language-server LSP to
start publishing diagnostics
* sends more parameters during eslint workspace initialization, so it is
able to correctly look up project's typescript config
Presumably, it's not enough and some convoluted project set ups may
break still, but let's wait for examples and feedback.

Release Notes:

- Fixed typescript-language-server diagnostics not appearing for newer
server versions; fixed eslint diagnostics using wrong directory for
typescript config lookup

Kirill Bulatov created