This PR improves the approach we use to match syntax tokens between Zed
and VS Code in the `theme_importer`.
We now use the list of scopes assigned to each Zed syntax token to rank
the possible candidates in the VS Code and then pick the candidate with
the highest rank.
So far this has proved to provide better colors across the board, but
we'll continue to refine the matching over time.
Release Notes:
- N/A
89f62a1
Fix nightly auto-update failure due to version parsing error (#3548)
Click to expand commit body
After https://github.com/zed-industries/zed/pull/3507, parsing the app's
semver version from the application plist stopped working, which caused
auto-updates to stop.
I don't think we need to put `-nightly` in the version number: it's
already in the release channel name, which is reported alongside the
version in most cases. For example, the 'About' dialog was saying `Zed
Nightly 2.0.0-nightly`.
I think even without nightly, it would be a good idea to include the
*release channel* name in the datadog alerts that show up in slack.
@JosephTLyons could you look into how to do that?
/cc @SomeoneToIgnore
Max Brunsfeld
created
f9d569f
Remove '-nightly' suffix from nightly build version number
Click to expand commit body
It breaks our semver parsing, and the release channel is already 'nightly'.
Max Brunsfeld
created
808a062
Show a notification on auto-update check action if updates are disabled
Max Brunsfeld
created
c7e19c0
Emit accurate hex colors in generated themes (#3547)
Click to expand commit body
This PR fixes an issues where the hex colors in the generated themes
were not correct.
We're using the [`palette`](https://crates.io/crates/palette) crate to
perform the conversions, as this gives us accurate hex codes that match
the VS Code source themes.
Release Notes:
- N/A
Marshall Bowers
created
0b78a40
Show current user avatar when in a room, even if not in a shared project (#3546)
Max Brunsfeld
created
58d8c51
Show current user avatar when in a room w/o a shared project
Max Brunsfeld
created
5e3d0a6
Add following UI in collab titlebar (#3544)
Click to expand commit body
* [x] restructure titlebar to show facepiles for each collaborator and
their followers
* [x] allow following collaborators by clicking their avatars in the
titlebar
* [x] show grayscale avatar for collaborators not focused on this
project
* [x] show collaborators' microphone activity and muted status in the
titlebar
* [x] in facepile, show leader in front of followers
Max Brunsfeld
created
aa34637
Add tooltip for following collaborators in titlebar
Max Brunsfeld
created
901bd6a
Order face pile front to back, left to right
Max Brunsfeld
created
445f0da
zed2: Port ProjectSharedNotification (#3545)
Click to expand commit body
Release Notes:
- N/A
Julia
created
d1b47b4
Indicate collaborators' presence (grayscale), speaking and muted status
This PR extracts a new `Tab` component from the tabs implementation in
the workspace.
This will allow us to reuse this component anywhere that we need to use
tabs.
Like our other newer components, the `Tab` component has a relatively
open API.
It accepts `children` (or `child`) as well as a `start_slot` and
`end_slot` to position content in the slots on either end of the
content. These slots also respect the `TabCloseSide` and will switch
positions based on this value.
<img width="763" alt="Screenshot 2023-12-07 at 12 19 42 PM"
src="https://github.com/zed-industries/zed/assets/1486634/78e4db6a-f807-431e-8777-f52f2631e6ed">
Release Notes:
- N/A
Marshall Bowers
created
c91207b
Don't panic when trying to reuse an existing workspace (#3538)