7a9f764
Add support for theme family-specific syntax mapping overrides (#3551)
Click to expand commit body
This PR adds support for adding a specific set of mappings from Zed
syntax tokens to VS Code scopes for a particular theme family.
We can use this as a fallback when we aren't otherwise able to rely on
the mappings in the theme importer, as sometimes it isn't possible to
make a specific enough matcher that works across all of the themes.
Release Notes:
- N/A
Marshall Bowers
created
5b96ffb
Set various bar backgrounds in imported themes (#3550)
Click to expand commit body
This PR updates the imported themes to set the background colors for the
various bars (title bar, toolbar, tab bar, status bar).
Release Notes:
- N/A
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