Commit Graph
25009 Commits
Author SHA1 Message Date
Antonio Scandurra 16279f4887 Fix border rendering (#3884)
After implementing it a while ago, our previous interpolation scheme
didn't really make sense to me and was causing borders to be rendered
incorrectly. We don't really draw backgrounds and borders as part of the
same draw call anymore, but it seemed reasonable to have a correct
implementation in the shader anyway.

This commit uses Porter-Duff compositing (i.e., `over`) to produce a
color that is the result of superimposing the border on top of the
background. Then, we linearly interpolate towards the background color
as we slide out of the border and into the background.

Release Notes:

- Fixed incorrect rendering of borders.
2024-01-04 16:35:09 +01:00
Antonio Scandurra e9af65f501 Fix border rendering
After implementing it a while ago, our previous interpolation scheme
didn't really make sense to me and was causing borders to be rendered
incorrectly. We don't really draw backgrounds and borders as part of
the same draw call anymore, but it seemed reasonable to have a correct
implementation in the shader anyway.

This commit uses Porter-Duff compositing (i.e., `over`) to produce
a color that is the result of superimposing the border on top of the
background. Then, we linearly interpolate towards the background color
as we slide out of the border and into the background.
2024-01-04 16:27:20 +01:00
Nate Butler d9befe6e3d Delete generating-theme-types.md 2024-01-04 10:14:58 -05:00
Conrad Irwin f9dd8d2fc9 Better TestWindow support 2024-01-04 08:00:40 -07:00
Nate Butler 451b40fd5a Remove old theme license code 2024-01-04 09:58:26 -05:00
Nate Butler f758611990 Remove styles dir 2024-01-04 09:58:09 -05:00
Antonio Scandurra baf08045eb Clip List items that partially overflow (#3882)
Release Notes:

- Fixed a visual bug that caused channels to overlap with the filter
input.
2024-01-04 15:21:41 +01:00
Antonio Scandurra 072fe59b6a Clip List items that partially overflow 2024-01-04 15:12:25 +01:00
Antonio Scandurra 6a845a5013 Fix quitting Zed when project was unshared (#3881)
Release Notes:

- Fixed a bug that would disable `cmd-q` after a remote project was
unshared.
2024-01-04 15:12:25 +01:00
Antonio Scandurra 4c8d7bfe2e Fix quitting Zed when project was unshared 2024-01-04 15:00:36 +01:00
Antonio Scandurra 0e54798ec3 Show scrollbar even when buffer search highlights are outside viewport (#3880)
Release Notes:

- Fixed a bug that prevented scrollbars from being shown when search
matches were outside the viewport.
2024-01-04 12:45:55 +01:00
Antonio Scandurra b28ab7f085 Show scrollbar even when buffer search highlights are outside viewport 2024-01-04 12:39:15 +01:00
Piotr Osiewicz 36b8aedc4c channels: Move name of the channel to the same line as the hash icon. 2024-01-04 12:11:23 +01:00
Joseph T. Lyons 4cff057415 Move telemetry settings check into telemetry module (#3877)
This is a small change I've been meaning to do to make it easier to call
the telemetry report event methods.

Release Notes:

- N/A
2024-01-04 01:21:28 -05:00
Joseph T. Lyons 597b99e9d7 Move telemetry settings check into telemetry module 2024-01-04 01:13:21 -05:00
Nate Butler cf5b4b121a UI grab bag (#3875)
- Tidy up some ui crate docs
- Update "checking" diagnostic color + add icon
- Make scrollbar track transparent in all themes
- Update border variant color in all themes
- Use theme colors for muted/speaking indicators

Release Notes:

- N/A
2024-01-03 23:26:02 -05:00
Nate Butler 7ce0aefb36 Use theme colors for muted/speaking indicators 2024-01-03 23:19:47 -05:00
Nate Butler f611244312 Update border variant color 2024-01-03 23:13:26 -05:00
Nate Butler aeb21a51df Make scrollbar track transparent 2024-01-03 23:09:24 -05:00
Nate Butler f5620f3896 Add "Checking" icon for diagnostics 2024-01-03 23:07:21 -05:00
Marshall Bowers b680507a46 Use dense spacing for completion menu items (#3874)
This PR updates the completion menu to use dense spacing for its items.

Release Notes:

- Adjusted styling of completion menu entries.
2024-01-03 23:06:16 -05:00
Joseph T. Lyons 3ea151a7ce Rename notification_store (#3872)
Release Notes:

- N/A
2024-01-03 23:04:03 -05:00
Joseph T. Lyons 4538780fce Merge branch 'main' into rename-notification-store 2024-01-03 22:59:43 -05:00
Joseph T. Lyons 9e7fed8249 Update version in Cargo.lock 2024-01-03 22:56:33 -05:00
Nate Butler b16221b652 Update ui docs 2024-01-03 22:44:31 -05:00
Conrad Irwin 13accd43ad Disable Dangerous Downtime-causing Default
According to https://docs.digitalocean.com/products/kubernetes/how-to/configure-load-balancers/#ssl-certificates

you can specify whether to disable automatic DNS record
creation for the certificate upon the load balancer’s creation using the
do-loadbalancer-disable-lets-encrypt-dns-records annotation. If you
specify true, we will not automatically create a DNS A record at the
apex of your domain to support the SSL certificate.
2024-01-03 19:55:17 -07:00
Max Brunsfeld 9ed2258254 Remove wasmtime for now 2024-01-03 21:44:58 -05:00
Mikayla 679f431a06 Change binary name 2024-01-03 21:44:45 -05:00
Conrad Irwin ced18721ff Show guests in fewer places 2024-01-03 19:31:43 -07:00
Conrad Irwin 9674fc3189 Fix privilege escalation when guests invite people 2024-01-03 19:31:43 -07:00
Conrad Irwin c0686acc11 Prevent guests from screen-sharing, unmuting or screen sharing 2024-01-03 19:31:43 -07:00
Conrad Irwin 9de8a56f91 Make read only buffers feel more read only 2024-01-03 19:31:43 -07:00
Conrad Irwin 4260ed27f6 Track read_only per project and buffer
This uses a new enum to avoid confusing booleans
2024-01-03 19:31:43 -07:00
Conrad Irwin fcdf0e8028 Track room participant role
(Also wire that through to project collaboration rules for now)
2024-01-03 19:30:32 -07:00
Conrad Irwin 5f8ac7c29b Plumbing to pass role for room participants 2024-01-03 19:30:32 -07:00
Conrad Irwin b40a24fd40 TEMP 2024-01-03 19:30:32 -07:00
4ed92d64b7 Start work on read-only project access for channel guests
Co-authored-by: Conrad <conrad@zed.dev>
Co-authored-by: Mikayla <mikayla@zed.dev>
2024-01-03 19:30:32 -07:00
Joseph T. Lyons 80bc858ca2 Rename notification_store 2024-01-03 20:02:23 -05:00
Joseph T. Lyons 8c6056e92d Remove zed2-related comment
This was the last result when searching for `zed2`
2024-01-03 20:00:58 -05:00
Marshall Bowers 0664cfe89b Restore timestamp insertion for journal: new journal entry (#3870)
This PR restores the insertion of the timestamp when using the `journal:
new journal entry` action.

Release Notes:

- Restored timestamp insertion when creating new journal entries.
2024-01-03 18:09:55 -05:00
Marshall Bowers b3366ef872 Fix icon path for Icon::AudioOn (#3869)
This PR fixes the icon path for `Icon::AudioOn` so that it points to a
file that exists.

Release Notes:

- Fixed the loading of the deafen icon in the call controls.
2024-01-03 17:54:53 -05:00
Marshall Bowers 1dcb755fc5 Follow the project host when clicking their name in the title bar (#3868)
This PR adds back the ability to follow the project host when clicking
on their name in the title bar.

Release Notes:

- Added back following the project host when clicking their name in the
title bar.
2024-01-03 17:48:46 -05:00
Joseph T. Lyons bcc719621b Merge branch 'main' of https://github.com/zed-industries/zed 2024-01-03 17:20:36 -05:00
Joseph T. Lyons b550b3ae93 collab 0.33.0 2024-01-03 17:20:01 -05:00
Joseph T. Lyons be599d2e18 Bump collab version back to what it was before 2024-01-03 17:19:39 -05:00
Marshall Bowers fa0362e1f2 Fix predictive text color (#3867)
This PR fixes the predictive text colors, which were no longer correct
after #3842.

Release Notes:

- Fixed predictive text colors.
2024-01-03 17:09:01 -05:00
Nate Butler 3ddb104bdd Add additional keybinding icons (#3861)
Note: There is still some consistency work to do between all the
keybinding icons. I'll tackle this at a later time.

- Adds `return`, `space`, `tab`, `escape`, `pgup` and `pgdn`
- Simplifies keybinding rendering (due to theme changes)
- Standardizes icon naming convention to use `_` everywhere.

Release Notes:

- Zed 2: Added additional keybinding icons
2024-01-03 17:05:40 -05:00
Marshall Bowers b1a62f06ee Add empty state for project panel (#3863)
This PR adds an empty state for the project panel.

It will now display an "Open a project" button.

Release Notes:

- Added an empty state for the project panel.
2024-01-03 17:00:47 -05:00
Mikayla Maki cd12de5d2e Update Cargo.toml 2024-01-03 13:57:32 -08:00
Nate Butler 4ecea9c361 Restore keybinding changes 2024-01-03 16:55:56 -05:00