Antonio Scandurra
b366592878
Don't include start of a line when selection ends at start of line
2023-10-10 19:11:13 +02:00
Antonio Scandurra and Nathan Sobo
5cf92980f0
Revert summarizing file content until we can be more intelligent about what we send
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2023-10-10 17:51:17 +02:00
Marshall Bowers
8f7f38536d
Re-enable hover styles
2023-10-10 11:48:25 -04:00
Antonio Scandurra
97edec6e72
WIP
2023-10-10 17:31:42 +02:00
Marshall Bowers
40d58c9bc3
Use Self::State in children_any and child_any
2023-10-10 11:26:18 -04:00
Marshall Bowers
f76c9041bb
Merge branch 'gpui2' into marshall/gpui2-playground
2023-10-10 11:24:45 -04:00
Conrad Irwin
66af1707a1
Add channel links ( #3093 )
...
Release notes:
- `mute_on_join` setting now defaults to false.
- Right click on a channel to "Copy Channel Link", these links work to
open Zed and auto-join the channel
Blocked on: https://github.com/zed-industries/zed.dev/pull/388
2023-10-10 08:53:50 -06:00
Antonio Scandurra
96fbf9fd06
Checkpoint
2023-10-10 16:47:09 +02:00
Julia and Antonio Scandurra
801af95a13
Make completion documentation scroll & fix accompanying panic from tag
...
Co-Authored-By: Antonio Scandurra <antonio@zed.dev >
2023-10-10 10:08:29 -04:00
Julia and Antonio Scandurra
f5af5f7334
Avoid leaving selected item index past end of matches list
...
Co-Authored-By: Antonio Scandurra <antonio@zed.dev >
2023-10-10 09:27:18 -04:00
Antonio Scandurra
48a12be538
WIP
2023-10-10 15:03:47 +02:00
Antonio Scandurra
012a7743ad
Checkpoint
2023-10-10 14:43:55 +02:00
Antonio Scandurra
678235023f
Checkpoint
2023-10-10 13:07:53 +02:00
Antonio Scandurra
a4afb72535
Checkpoint: beziers
2023-10-10 13:01:35 +02:00
Kirill Bulatov
1db24e5f2a
Omit history files with path that does not exist on disk anymore ( #3113 )
2023-10-10 11:55:06 +02:00
Kirill Bulatov
639ae671ae
Omit history files with path that does not exist on disk anymore
2023-10-10 12:26:48 +03:00
Julia
354882f2c0
Enable completion menu to resolve documentation when guest
2023-10-10 00:16:15 -04:00
Joseph T. Lyons
1a4e9ecfef
Truncate Discord release note text ( #3112 )
...
Hopefully this works the first time 😅
Release Notes:
- N/A
2023-10-10 00:07:48 -04:00
Joseph T. Lyons
dcdd74dff4
Truncate Discord release note text
2023-10-10 00:00:57 -04:00
Conrad Irwin
ab050d1890
Use Horizontal ranges everywhere
2023-10-09 21:48:50 -06:00
Conrad Irwin
002e2cc42c
Round better for up/down
2023-10-09 21:48:32 -06:00
Conrad Irwin
ef7e2c5d86
Get the project running!
2023-10-09 21:48:31 -06:00
Conrad Irwin
e7badb38e9
Refactor to pass a TextLayoutDetails around
2023-10-09 21:47:58 -06:00
Conrad Irwin and Julia
dacc8cb5f4
Begin to use pixels for column selection
...
For zed-industries/community#759
For zed-industries/community#1966
Co-Authored-By: Julia <floc@unpromptedtirade.com >
2023-10-09 21:47:58 -06:00
Conrad Irwin
a801a4aeef
Remove some unnecessary Eqs
2023-10-09 21:47:58 -06:00
Nathan Sobo
fe60f264c4
Checkpoint
2023-10-09 21:46:49 -06:00
Nathan Sobo
dfdb691f73
Checkpoint
2023-10-09 21:30:14 -06:00
Nathan Sobo
9fe5836240
Move events module up
2023-10-09 21:19:56 -06:00
Nathan Sobo
8074e6b46a
Add basic mouse event handling
2023-10-09 21:17:56 -06:00
Conrad Irwin
d4ef764305
Merge branch 'main' into links
2023-10-09 20:08:48 -06:00
Nathan Sobo
f763ed9a7e
Checkpoint
2023-10-09 19:54:29 -06:00
Conrad Irwin
8922437fcd
code review
2023-10-09 19:06:55 -06:00
Max Brunsfeld
6e98cd5aad
More small following-related fixes ( #3110 )
2023-10-09 15:25:22 -07:00
Marshall Bowers
08f4576aa6
Rename helper style
2023-10-09 18:17:01 -04:00
Max Brunsfeld
1d29709c32
Avoid possible panic in Room::most_active_project
...
Participants' locations might momentarily reference projects that have already been unshared.
2023-10-09 15:04:01 -07:00
Marshall Bowers
7610028a89
Add a story showcasing z-index
2023-10-09 18:00:49 -04:00
Max Brunsfeld
bdcbf9b92e
Add a Reconnect action, for simulating connection blips
2023-10-09 14:46:33 -07:00
Max Brunsfeld
b807b3c785
Handle participants' participant index changing
...
This normally doesn't happen, but it can happen if a participant
loses connection ungracefully, restarts their app, and then
explicitly joins again.
2023-10-09 14:45:19 -07:00
Max Brunsfeld
90b54a45e8
Log a warning when leader activates an unknown view
2023-10-09 14:29:45 -07:00
Kirill Bulatov
bb85d6f63e
Detect file paths that end with : ( #3109 )
...
New rustc messages look like
```
thread 'tests::test_history_items_vs_very_good_external_match' panicked at crates/file_finder/src/file_finder.rs:1902:13:
assertion `left == right` failed: Only one history item contains collab_ui, it should be present and others should be filtered out
left: 0
right: 1
```
now and we fail to parse that `13:` bit properly, fix that.
One caveat is that we highlight the entire word including the trailing
`:`:
<img width="914" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/d653a8ff-3e6e-4e3d-b6ea-dad0c8db0f06 ">
this is unfortunate, but better than nothing (as now).
This is due to the fact, that we detect words with regex inside the
`terminal.rs` and send events to other place that's able to check paths
for existence (and whether that's a path at all), currently there's no
way to detect a path and sanitize it in `terminal.rs`
Release Notes:
- N/A
2023-10-09 23:16:03 +02:00
Marshall Bowers
0d903f4d0d
Clean up theme loading
2023-10-09 17:00:10 -04:00
Kirill Bulatov
ba4f4e0a3e
Detect file paths that end with :
...
New rustc messages look like
```
thread 'tests::test_history_items_vs_very_good_external_match' panicked at crates/file_finder/src/file_finder.rs:1902:13:
assertion `left == right` failed: Only one history item contains collab_ui, it should be present and others should be filtered out
left: 0
right: 1
```
now and we fail to parse that `13:` bit properly, fix that.
2023-10-09 23:55:58 +03:00
Marshall Bowers
312f3d2ab9
Change how the default theme gets determined
2023-10-09 16:53:28 -04:00
Max Brunsfeld
6b710dc146
Fix bug that allowed following multiple people in one pane ( #3108 )
...
I've also simplified the representation of a workspace's leaders, so
that it encodes in the type that there can only be one leader per pane.
Release Notes:
- Fixed a bug where you could accidentally follow multiple collaborators
in one pane at the same time.
2023-10-09 13:50:51 -07:00
Marshall Bowers
def67295e5
Add theme loading
2023-10-09 16:37:20 -04:00
Kirill Bulatov
0823a18cff
Ignore history items' paths when matching search queries ( #3107 )
...
Follow-up of https://github.com/zed-industries/zed/pull/3059
Before:

After:

Release Notes:
- N/A
2023-10-09 22:35:11 +02:00
Max Brunsfeld
ca735ad70f
Ensure there's only one leader per pane
2023-10-09 13:32:38 -07:00
Max Brunsfeld
af90077a6a
Add failing test for switching leaders in a pane
2023-10-09 13:30:14 -07:00
Kirill Bulatov
9cba45910e
Ignore history items' paths when matching search queries
2023-10-09 23:14:32 +03:00
Marshall Bowers
613973d2b1
Add support for switching between the two hardcoded themes
2023-10-09 15:52:57 -04:00