Max Brunsfeld
0bf3d36ae7
Allow moving channels to the root
2023-10-25 15:50:37 +02:00
Max Brunsfeld
7f767a024c
Set up UI to allow dragging a channel to the root
2023-10-25 15:39:02 +02:00
22a837943b
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
ca0e023ee3
Fix channel collapsing
2023-10-25 09:27:17 +02:00
Conrad Irwin
f7c1b25ca4
Fix tests by re-instating paths in the new format
2023-10-25 09:22:06 +02:00
e3864cb084
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
dd85f6448f
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
b9b3fe04ab
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
c3c98a16a6
Revert "Add meta_text to style metaline"
...
This reverts commit 79dbc1c833 .
2023-10-24 09:57:33 -04:00
Nate Butler
79dbc1c833
Add meta_text to style metaline
2023-10-24 09:51:26 -04:00
Nate Butler
02628f163d
Give notifications a bit more breathing room by default
2023-10-24 09:25:49 -04:00
Nate Butler
475d4ccc25
Tweak notification styles
2023-10-24 09:22:58 -04:00
Kirill Bulatov
f777e2ed79
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
ab12b3c6e1
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
b2b115dddc
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
dbf7b916ec
fixed format! call for prettier::
2023-10-24 13:37:34 +02:00
KCaverly
2e57dbc34f
fully qualify paths inside conditional compilation methods
2023-10-24 13:35:28 +02:00
KCaverly
d107b46565
move keychain access into semantic index as opposed to on init
2023-10-24 13:26:37 +02:00
Conrad Irwin
4d7cc2649e
fix format
2023-10-24 11:17:17 +02:00
Conrad Irwin
480c33efed
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
14590458c3
Fix set_channel_visibility for public channels
2023-10-24 10:55:10 +02:00
Conrad Irwin
84ac6a4401
Fix character selection
2023-10-24 10:50:08 +02:00
Conrad Irwin
ff1894c6c4
Fix tests
2023-10-24 09:46:46 +02:00
Conrad Irwin
882b973c23
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
2558a75754
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
1ae37ec783
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
416c049767
Merge branch 'main' into guest-exp
2023-10-23 17:47:21 +02:00
Conrad Irwin
3a1846689c
Fix infinite loop in select all
2023-10-23 16:08:12 +02:00
Max Brunsfeld
ef5933c480
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 and Piotr
826aa2f4ad
Tweak styling of notifications
...
Co-authored-by: Piotr <piotr@zed.dev >
2023-10-23 14:58:03 +02:00
Max Brunsfeld and Piotr
1330f0fc60
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 and Piotr
d0cc5bf0ac
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 and Max
88e617c9d5
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
3227c45af6
Fix neovim tests with angle brackets
2023-10-22 22:24:35 -06:00
Conrad Irwin
70441d86fe
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
92e91e5b45
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
e37f00c6cd
Avoid duplicate acks for messages with mentions
2023-10-22 18:00:02 +02:00
Max Brunsfeld
ab38098989
Load more notifications when scrolling down
2023-10-22 17:10:21 +02:00
Max Brunsfeld
03b25e2d27
Start styling notification panel
2023-10-22 16:03:33 +02:00
Max Brunsfeld
7f4b328bac
Inherit PATH in zed-local script
2023-10-22 16:03:13 +02:00
Max Brunsfeld
5d1e917401
Merge branch 'main' into notifications
2023-10-22 12:25:30 +02:00
Max Brunsfeld
e879c28daf
Mark contact acceptance notifications as read automatically
2023-10-22 12:22:47 +02:00
Max Brunsfeld
cee43e1a60
Mark chat mention notifications as read when viewing the message
2023-10-22 11:57:10 +02:00
Kyle Caverly
8f03faeb3a
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
501de94880
update text for project search if not authenticated
2023-10-21 10:28:54 -04:00
KCaverly
4ab8f0d978
update semantic search to use keychain as fallback
2023-10-21 10:19:50 -04:00
Piotr Osiewicz
7a90ec12cd
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
a7f4fce1e4
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
fb3932aa57
Move prettier parsers data into languages from LSP adapters
2023-10-21 01:14:03 +02:00
Conrad Irwin
d1bef9f6f2
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