Max Brunsfeld
42259a4007
Fix channel dragging
...
Co-authored-by: Conrad <conrad@zed.dev>
Co-authored-by: Joseph <joseph@zed.dev>
2023-10-25 09:41:16 +02:00
Conrad Irwin
70eeefa1f8
Fix channel collapsing
2023-10-25 09:27:17 +02:00
Conrad Irwin
6f173c64b3
Fix tests by re-instating paths in the new format
2023-10-25 09:22:06 +02:00
Max Brunsfeld
5c03b6a610
Remove logic for multiple channel parents
...
Co-authored-by: Conrad <conrad@zed.dev>
Co-authored-by: Kyle <kyle@zed.dev>
Co-authored-by: Joseph <joseph@zed.dev>
2023-10-24 17:29:23 +02:00
Max Brunsfeld
cc9e92857b
Guest roles ( #3140 )
...
Release Notes:
- Added a "guest" role to channels, and made that the default when a new
user joins a public channel.
2023-10-24 17:29:14 +02:00
Nate Butler
0f03f8ff8a
Tweak notification styles ( #3161 )
...
[[PR Description]]
Tweak notification visual styles
Release Notes:
- (Added|Fixed|Improved) ...
([#<public_issue_number_if_exists>](https://github.com/zed-industries/community/issues/ <public_issue_number_if_exists>)).
2023-10-24 10:03:24 -04:00
Nate Butler
c8dfccff36
Revert "Add meta_text
to style metaline"
...
This reverts commit beb91fa094
.
2023-10-24 09:57:33 -04:00
Nate Butler
beb91fa094
Add meta_text
to style metaline
2023-10-24 09:51:26 -04:00
Nate Butler
c9e670397f
Give notifications a bit more breathing room by default
2023-10-24 09:25:49 -04:00
Nate Butler
463b24949e
Tweak notification styles
2023-10-24 09:22:58 -04:00
Kirill Bulatov
b090cefdde
Rework prettier tests ( #3160 )
...
Do not infuse `FakeNodeRuntime` with prettier exceptions, rather keep
the default formatter installation method as no-op.
2023-10-24 15:34:55 +03:00
Kirill Bulatov
e9ce935991
Rework prettier tests
...
Do not infuse `FakeNodeRuntime` with prettier exceptions, rather keep
the default formatter installation method as no-op.
2023-10-24 14:25:46 +02:00
Kyle Caverly
ff497810dd
move keychain access into semantic index as opposed to on init ( #3158 )
...
remove keychain request during init
Release Notes:
- Move keychain request to inside indexing.
- Move install_default_formatters to a no op during tests
2023-10-24 13:43:10 +02:00
KCaverly
feefb8d063
fixed format! call for prettier::
2023-10-24 13:37:34 +02:00
KCaverly
0dd45bbf21
fully qualify paths inside conditional compilation methods
2023-10-24 13:35:28 +02:00
KCaverly
8ffe5a3ec7
move keychain access into semantic index as opposed to on init
2023-10-24 13:26:37 +02:00
Conrad Irwin
3358420f6a
fix format
2023-10-24 11:17:17 +02:00
Conrad Irwin
2b95db087b
Fix infinite loop in select all ( #3154 )
...
[[PR Description]]
Release Notes:
- Fixed an infinite loop in select all matches
([#2170 ](https://github.com/zed-industries/community/issues/2170 )).
2023-10-24 02:58:48 -06:00
Conrad Irwin
aa6990bb6b
Fix set_channel_visibility for public channels
2023-10-24 10:55:10 +02:00
Conrad Irwin
0e035c1a95
Fix character selection
2023-10-24 10:50:08 +02:00
Conrad Irwin
e6087e0ed9
Fix tests
2023-10-24 09:46:46 +02:00
Conrad Irwin
67e590202a
vim surround ( #3152 )
...
- Fix some bugs with vim objects
- Add | as a bracket and a motion
- Fix neovim tests with angle brackets
Release Notes:
- vim: Fixed `i` and `a` objects with softwrap, and a few other edge
cases
- vim: Added support for `ci"` to find the next quoted string on the
line
- vim: Added support for `|` as a bracket (for languages like ruby and
rust)
- vim: Added support for `<count>|` to jump to a specific column
2023-10-24 01:33:34 -06:00
Piotr Osiewicz
97a0864134
grammars: Update Bash grammar ( #3155 )
...
Fixes zed-industries/community#2168
Release Notes:
- Updated Bash (Shell script) Tree-sitter grammar (fixes
zed-industries/community#2168 )
2023-10-24 09:16:06 +02:00
Piotr Osiewicz
6c163afb84
bash: Add highlighting of ANSI c string ( #3153 )
...
Fixes zed-industries/community#2169
Release Notes:
- Fixed highlighting of ANSI C strings ($'foo') in "Shell script"
language buffers.
2023-10-24 09:15:35 +02:00
Conrad Irwin
ea4e67fb76
Merge branch 'main' into guest-exp
2023-10-23 17:47:21 +02:00
Conrad Irwin
6e4e19d8fc
Fix infinite loop in select all
2023-10-23 16:08:12 +02:00
Max Brunsfeld
a5836b0337
Add chat mentions and a notifications panel ( #3121 )
...
### Todo
* Displaying notifications
* [x] show them in panel
* [x] indicate read/unread status
* [x] allow requesting more by scrolling down
* [ ] style the panel
* [x] style the status bar icon
* Chat mentions
* [x] highlight mentions when editing message
* [x] persist mentions
* [x] highlight mentions when rendering saved messages
* Creating notifications
* [x] contact request received
* [x] contact request accepted
* [x] channel invitation received
* [x] mentioned in a chat message
* [x] Indicate responses to notifications
* Mark notifications as read
* [x] when viewing a contact request acceptance in the notification
panel
* [x] responding to contact invite
* [x] responding to channel invite
* [x] viewing a channel message mention
* [x] Replace previous notifications with auto-dismissing,
non-interactive toasts
### Release Notes:
- Added a notification panel, which displays notifications about contact
requests and channel invitations.
- Added the ability to `@`-mention users in the chat, so that they will
be notified of your message.
2023-10-23 15:05:05 +02:00
Max Brunsfeld
4d491ca3a1
Tweak styling of notifications
...
Co-authored-by: Piotr <piotr@zed.dev>
2023-10-23 14:58:03 +02:00
Max Brunsfeld
2f0eaafc39
Format timestamps more tersely in the notification panel
...
Co-authored-by: Piotr <piotr@zed.dev>
2023-10-23 14:34:38 +02:00
Max Brunsfeld
8766e5f0d0
Avoid flickering toast when mentioned in already-visible chat channel
...
Co-authored-by: Piotr <piotr@zed.dev>
2023-10-23 13:48:49 +02:00
Piotr Osiewicz
812ff9a97d
Account for markdown styling in mentions offset calculation.
...
This also means that we can support smart punctuation.
Co-authored-by: Max <max@zed.dev>
2023-10-23 12:50:57 +02:00
Conrad Irwin
b495669c86
Fix neovim tests with angle brackets
2023-10-22 22:24:35 -06:00
Conrad Irwin
3cf98c4fae
Add | as a bracket and a motion
...
Although vim/nvim doesn't have | as brackets, it's common in langauges like Rust
and Ruby, and I expect it to work.
2023-10-22 22:17:34 -06:00
Conrad Irwin
9589f5573d
Fix some bugs with vim objects
...
- softwrap interaction
- correct selection if cursor is on opening marker
2023-10-22 21:44:34 -06:00
Max Brunsfeld
763b13e700
Avoid duplicate acks for messages with mentions
2023-10-22 18:00:02 +02:00
Max Brunsfeld
59adcc1744
Load more notifications when scrolling down
2023-10-22 17:10:21 +02:00
Max Brunsfeld
23400a5a70
Start styling notification panel
2023-10-22 16:03:33 +02:00
Max Brunsfeld
c20e781441
Inherit PATH in zed-local script
2023-10-22 16:03:13 +02:00
Max Brunsfeld
234ccbe51f
Merge branch 'main' into notifications
2023-10-22 12:25:30 +02:00
Max Brunsfeld
4a0358a513
Mark contact acceptance notifications as read automatically
2023-10-22 12:22:47 +02:00
Max Brunsfeld
fce09e8c92
Mark chat mention notifications as read when viewing the message
2023-10-22 11:57:10 +02:00
Kyle Caverly
ef1a69156d
update semantic search to use keychain as fallback ( #3151 )
...
Use the keychain for authenticating as fallback when api_key is not
present in environment variables.
Release Notes:
- Add consistency between OPENAI_API_KEY management in Semantic Search
and Assistant
2023-10-21 10:34:32 -04:00
KCaverly
4835c77840
update text for project search if not authenticated
2023-10-21 10:28:54 -04:00
KCaverly
106115676d
update semantic search to use keychain as fallback
2023-10-21 10:19:50 -04:00
Piotr Osiewicz
fc37abc356
vcs_menu: Query branches on open instead of per keystroke ( #3144 )
...
Release Notes:
- Improved performance of branch picker by querying branches on menu
open instead of querying once per each keystroke. (fixes
zed-industries/community#2161 )
2023-10-21 14:01:01 +02:00
Kirill Bulatov
26638748bb
Move prettier parsers data into languages from LSP adapters ( #3150 )
...
Release Notes:
- Fixed incorrect prettier parsers sometimes being applied to certain
files
2023-10-21 02:22:21 +03:00
Kirill Bulatov
7748848b6e
Move prettier parsers data into languages from LSP adapters
2023-10-21 01:14:03 +02:00
Conrad Irwin
0dae0f6027
pixel columns ( #3052 )
...
@ForLoveOfCats and I found a few speedups that make this acceptably fast
(able to update ~10k selections in <100ms), so the remaining work here
is to fix the tests, and then ship!
Release notes:
- Updated up/down to work based on pixel positions
([#1966 ](https://github.com/zed-industries/community/issues/1966 ))
([#759 ](https://github.com/zed-industries/community/issues/759 ))
- vim: Fixed off-by-one in visual block mode
([2123](https://github.com/zed-industries/community/issues/2123 ))
2023-10-20 15:01:27 -06:00
Conrad Irwin
2de34a905d
Hide any circumstantial evidence that this didn't work perfectly first
...
time
2023-10-20 14:45:37 -06:00
Conrad Irwin
15fe2627d0
Remove screen sharing indicator ( #3148 )
...
Release Notes:
- Removed the screen-sharing indicator from calls. Newer versions of
macOS have a better indicator, and ours panics when you click on it.
2023-10-20 14:33:45 -06:00