Commit log

53bdf6b Remove 2 suffix for client, call, channel

Click to expand commit body
Co-authored-by: Mikayla <mikayla@zed.dev>

Max Brunsfeld and Mikayla created

9f99e58 Remove 2 suffix for lsp, language, fuzzy

Click to expand commit body
Co-authored-by: Mikayla <mikayla@zed.dev>

Max Brunsfeld and Mikayla created

c5a1950 Remove 2 suffix for project

Click to expand commit body
Co-authored-by: Mikayla <mikayla@zed.dev>

Max Brunsfeld and Mikayla created

4ddb262 Remove 2 suffix for ai, zed_actions, install_ci, feature_flags

Click to expand commit body
Co-authored-by: Mikayla <mikayla@zed.dev>

Max Brunsfeld and Mikayla created

ecbd115 Remove 2 suffix for assistant, journal

Click to expand commit body
Co-authored-by: Mikayla <mikayla@zed.dev>

Max Brunsfeld and Mikayla created

789ce8d Remove 2 suffix for workspace

Click to expand commit body
Co-authored-by: Mikayla <mikayla@zed.dev>

Max Brunsfeld and Mikayla created

492805a Remove 2 suffix for multi_buffer, outline, copilot

Click to expand commit body
Co-authored-by: Mikayla <mikayla@zed.dev>

Max Brunsfeld and Mikayla created

588976d Remove 2 suffix for editor

Click to expand commit body
Co-authored-by: Mikayla <mikayla@zed.dev>

Max Brunsfeld and Mikayla created

bcad3a5 Remove 2 suffix for picker, feedback

Click to expand commit body
Co-authored-by: Mikayla <mikayla@zed.dev>

Max Brunsfeld and Mikayla created

0ac8aae Remove 2 suffix for language_tools, search, terminal_view, auto_update

Click to expand commit body
Co-authored-by: Mikayla <mikayla@zed.dev>

Max Brunsfeld and Mikayla created

292b339 Remove 2 suffix for language selector, project panel, recent_projects, copilot_button, breadcrumbs, activity_indicator

Click to expand commit body
Co-authored-by: Mikayla <mikayla@zed.dev>

Max Brunsfeld and Mikayla created

2526943 Remove 2 suffix for vim, diagnostics, go_to_line, theme_selector, command_palette, file_finder

Click to expand commit body
Co-authored-by: Mikayla <mikayla@zed.dev>

Max Brunsfeld and Mikayla created

37e6533 Remove 2 suffix for project_symbols, theme_selector

Click to expand commit body
Co-authored-by: Mikayla <mikayla@zed.dev>

Max Brunsfeld and Mikayla created

2b8822f Remove 2 suffix for welcome, vcs_menu, quick_action_bar, collab_ui

Click to expand commit body
Co-authored-by: Mikayla <mikayla@zed.dev>

Max Brunsfeld and Mikayla created

5ab789e v0.120.x dev

Joseph T. Lyons created

c268505 v0.119.x preview

Joseph T. Lyons created

7986ee1 Rename zed2 -> zed

Click to expand commit body
Co-authored-by: Mikayla <mikayla@zed.dev>

Max Brunsfeld and Mikayla created

b594e59 Lay some groundwork for language plugins (#3837)

Click to expand commit body
This PR adds undocumented functionality for loading custom language
plugins at runtime. I don't intend to expose the functionality to end
users yet, but this will allow the team to test the capability
internally.

### Implementation

There isn't much new code in Zed. Most of the work here is within
Tree-sitter, in PRs https://github.com/tree-sitter/tree-sitter/pull/1864
and https://github.com/tree-sitter/tree-sitter/pull/2840, which allow
Tree-sitter to load languages from WASM blobs. I've tested the
functionality in Tree-sitter's test suite and via its CLI, but having it
wired into Zed allows us to test the functionality more fully.

### Details

Now, on startup, Zed will look for subdirectories inside of
`~/Application Support/plugins`. These subdirectories are expected to
look similar to the per-language subdirectories in
[`crates/zed2/src/languages`](https://github.com/zed-industries/zed/tree/main/crates/zed2/src/languages),
except that they also contain a `.wasm` file for the parser itself.

I'll add more details here as I go.

Max Brunsfeld created

5f84172 Return `impl IntoElement` in `Render` and `RenderOnce` traits (#3839)

Click to expand commit body
- Returning `IntoElement` because it's more universal than `Element` and
allows us to easily return components.
- Using `impl IntoElement` in `RenderOnce` for consistency, which
requires `Component` to allocate an `AnyElement`. We use a bump
allocated arena anyway for these, and my benchmark doesn't show an
impact.


![frame-time-histogram](https://github.com/zed-industries/zed/assets/1789/d3889cca-9ebc-4d72-aa68-34a5be3bad3c)

In this histogram, frames-0 is this PR, frames-1 is main.

Release Notes:

- N/A

Nathan Sobo created

d3e9760 Layout completion single-line documentation to the right of item (#3845)

Click to expand commit body
Don't love how this turned out, it seems uniform list doesn't tie the
widths of its items together, so there needs to be a set size to fill in
order to put the documentation detail on the right side. That means it
won't be able to shrink for completion lists which don't need the full
width. Zed1 has this same limitation but it would be nice to do it nicer
now

Before
![CleanShot 2024-01-02 at 16 04
04](https://github.com/zed-industries/zed/assets/30666851/6c154465-83cd-41c3-a16a-5f2ff5041bc1)

After
![CleanShot 2024-01-02 at 16 05
29](https://github.com/zed-industries/zed/assets/30666851/4f641040-a06a-4474-a2c7-bd3c89ae049e)

Release Notes:

- N/A

Marshall Bowers created

15fb9d9 Standardize icon naming

Nate Butler created

c4f7ded Merge branch 'main' into completion-menu-detail-layout

Marshall Bowers created

092eb37 Tweak styling for inline documentation labels

Click to expand commit body
Co-Authored-By: Julia <julia@zed.dev>

Marshall Bowers and Julia created

231fd1c Clip completion labels when they would otherwise overflow their container

Click to expand commit body
Co-Authored-By: Julia <julia@zed.dev>

Marshall Bowers and Julia created

127aced Update keybinding rendering

Nate Butler created

124604c Add pageup and pagedown icons and keybinding icons

Nate Butler created

b0bbb74 Add return, space, tab, escape keybinding icons

Nate Butler created

b348d0e Focus active item when pressing tab in buffer search bar (#3859)

Click to expand commit body
Release Notes:

- N/A

Antonio Scandurra created

f4f9aab Remove `text_ui`

Click to expand commit body
So we don't regress from #3852.

Marshall Bowers created

209fe7e Focus active item when pressing tab in buffer search bar

Antonio Scandurra created

f73f735 Polish off channel buttons (#3858)

Click to expand commit body
This PR polishes off the channel buttons such that they behave as
expected.

The absolutely-positioned button container will now no longer take up
space—and thus obscure the channel name—when there are no notifications
and the channel entry is not hovered.

Release Notes:

- N/A

Marshall Bowers created

b4a205b Pane: Fix flicker when opening/closing tabs

Click to expand commit body
Tab bar was losing focus for one frame which led to it skipping rendering of tab controls & flickering. It also occured when opening new tabs.

Piotr Osiewicz created

406edd2 Merge branch 'main' into refine-render-traits

Piotr Osiewicz created

7747c5d Fix up storybooks in theme2

Piotr Osiewicz created

1810824 Merge branch 'main' into completion-menu-detail-layout

Julia created

017b25e Add debounce time back to telemetry queue (#3856)

Click to expand commit body
After talking with Max, we decided to bring back the debounce time to
the telemetry queue, only, with a longer duration than before.

Release Notes:

- N/A

Joseph T. Lyons created

2a73eb3 Add `icon_tooltip` for panel buttons rather than using persistent name (#3849)

Click to expand commit body
Fixes missing spaces in these tooltips

Release Notes:

- N/A

Julia created

366d386 Add debounce time back to telemetry queue

Joseph T. Lyons created

5437c80 Use buffer font size for editor overlays and blocks (#3852)

Click to expand commit body
Previously, the buffer font size was not respected by these editor
features.

Max Brunsfeld created

e43be06 Fix position calculation (#3854)

Click to expand commit body
Fixes a bug where the context menu appears in the wrong place

Conrad Irwin created

e8df1a7 Fix hint colors (#3855)

Click to expand commit body
This PR fixes the hint colors, which were no longer correct after #3842.

Release Notes:

- N/A

Marshall Bowers created

4ab5fa5 Fix overlay position calculation

Click to expand commit body
(but keep rounding)

Conrad Irwin created

75acb49 Use buffer font size for diagnostic headers

Click to expand commit body
Co-authored-by: Nathan <nathan@zed.dev>

Max Brunsfeld and Nathan created

d637657 Revert "Round tooltip co-ordinates (#3836)" (#3853)

Click to expand commit body
This reverts commit 09951208a78c9933159c68c6f8105eda40e8bd7e, reversing
changes made to 93a818d0186dce098cae4ae08dd368c23b895a4b.

I noticed an issue where context menus were appearing in the wrong
location (shifted to the right) as a result of this change.

Release Notes:

- N/A

Marshall Bowers created

4b006cc Use buffer font size for editor overlays and blocks

Click to expand commit body
Co-authored-by: Nathan <nathan@zed.dev>

Max Brunsfeld and Nathan created

74468a8 Improve positioning of channel buttons (#3850)

Click to expand commit body
This PR is another pass at improving the positioning of channel buttons.

I had to employ some dirty hacks to get it to work, but I think it is
~mostly there.

Release Notes:

- N/A

Marshall Bowers created

335e007 Add nightly environment for collab (#3848)

Click to expand commit body
For now, we'll need to deploy to `nightly` manually, using the same
scripts that we use to deploy to `preview` and `production`.

We've renamed the `deploy` script to `deploy-collab`, and added a new
script, `deploy-postgrest` that sets up the Postgrest database admin
API. We split that out, since it's not needed for environments that
share a database with prod.

Max Brunsfeld created

14066c4 Add `icon_tooltip` for panel buttons rather than using persistent name

Julia created

5b35ded Add nightly environment for collab

Click to expand commit body
Also, move postgrest service + deployment into a separate manifest
file, which is deployed via a separate script, `deploy-postgrest`.
This way, we don't have unused postgrest instances in preview and
nightly, since those use the prod database.

Co-authored-by: Conrad <conrad@zed.dev>

Max Brunsfeld and Conrad created

850a9e3 Add settings events (#3847)

Click to expand commit body
Adds the infractucture for settings events and specifically tracks theme
settings. Currently, we only take note of the theme at app open and when
the user switches the theme with the theme selector. Changes at the
config file are ignored, as putting code that low leads to a lot of
chances of reporting theme events when the user hasn't done anything.
This change is done in both Zed 1 and Zed 2.

I'll open up a PR on zed.dev and adjust the database accordingly.

Release Notes:

- N/A

Joseph T. Lyons created