ebddb61
Do not run the same workflow concurrently on non-main branches (#3518)
Click to expand commit body
<img width="1376" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/681cca85-e1b9-4a99-8363-60c931ba1393">
For any push (or force-push) into a branch, a separate CI workflow is
run.
This is rather worker-consuming, esp. given the fact that GitHub will
wait for the last job to update PR's status.
So cancel every old job for the same branch if it's not `main`.
CI run on `main` might catch a regression brought in by specific PR
merged, so run CI on every commit due to that.
Release Notes:
- N/A
Kirill Bulatov
created
62c41e2
Use distinct version for zed2, append git hash to its nightly version (#3507)
Click to expand commit body
Current panic reports are now harder to tell apart by the following
criteria:
* nightly or preview or stable
* zed2 or zed1

Current PR adds uses a different version for zed2 (2.0.0, selected
relatively arbitrary as zed2 is nothing officially released now) and
adds a `-nightly` suffix to the version number of the nightly bundle.
Release Notes:
- N/A
Kirill Bulatov
created
b94c335
Do not run the same workflow concurrently on non-main branches
Kirill Bulatov
created
6bbb164
Fix propagation of active item to followers
Click to expand commit body
Enable channel buffer integration tests.
Max Brunsfeld
created
e9dcca7
Initialize channel notes to register the view as followable
Max Brunsfeld
created
1ec81e0
Allow opening channel notes from the channel list
5644815
Use a better name for zed2 inlay style field
Kirill Bulatov
created
9e1d797
Use distinct version for zed2, append git hash to its nightly version
Kirill Bulatov
created
ec798e6
Pass proper theme colors for inlays and suggestions (#3517)
Click to expand commit body
<img width="1728" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/f6f1e24f-71fe-4a2e-9bcf-9e98861c0da4">

Now inlays are visible in all zed2 themes, but
* always have a blue color which is the same as some theme colors
* not other hint-related style changes like font width, background, etc.
seem to exist in the theme, ergo not propagated.
In general though, people want those style changes applied to their
hints, so we might want to do something about it later.
I've left a `// todo!("what about the rest of the highlight style parts
for inlays and suggestions?")` in the corresponding places for that.
Release Notes:
- N/A
Kirill Bulatov
created
d7473ad
Document geometry module and replace `zero` method with `default` (#3515)
Click to expand commit body
Nothing earth-shattering here, but all our geometry types are now fully
documented.
Release Notes:
- N/A
Nathan Sobo
created
5ebf1d9
Put ToggleZoom key binding back into the block with no context (#3516)
Click to expand commit body
Fixes a regression in zed1 from
https://github.com/zed-industries/zed/pull/3491
Max Brunsfeld
created
f76e1cf
Pass proper theme colors for inlays and suggestions
Kirill Bulatov
created
489c25a
Put ToggleZoom key binding back into the block with no context
This PR fixes the layout for terminal tabs.
We need to use an `h_stack` here to get the icon and the label to
position themselves next to each other instead of one on top of the
other.
Release Notes:
- N/A
80c8fd1
Fix toolbar not appearing for initial pane (#3512)
Click to expand commit body
This PR fixes an issues where the toolbar would not appear for the
center pane when Zed2 initially loads.
We resolved this by adding a call to initialize the center pane when the
workspace is initialized
Due to changes in the way subscriptions work we can on longer observe an
event that is emitted in the same event cycle in which the subscription
is created.
Because of this we need to explicitly initialize the center pane, as it
won't get performed by the subscription.
Release Notes:
- N/A
---------
Co-authored-by: Antonio <antonio@zed.dev>
For a brief period on this branch, we were taking a `DispatchTree`. Doing so
resulted in more accurate key bindings but it meant that we would have had to
recompute the app menus every time the key context changed.
We decided to err on the side of keeping things simple and work in the same
way they worked back in zed1.
Co-Authored-By: Marshall <marshall@zed.dev>
Antonio Scandurra
and
Marshall
created
8f1c74b
Factor out `LabelLike` to share common label styles (#3510)
Click to expand commit body
This PR factors out a new `LabelLike` component to share common styles
between the `Label` and `HighlightedLabel` components.
Release Notes:
- N/A
f833cd7
Use specified color for non-highlighted text in `HighlightedLabel` (#3509)
Click to expand commit body
This PR fixes an issue where the specified color for a
`HighlightedLabel` was not respected as the default color for
non-highlighted text.
Release Notes:
- N/A