Conrad Irwin
dcca48482b
disallow opening private files ( #7165 )
...
- Disallow sharing gitignored files through collab
- Show errors when failing to open files
- Show a warning to followers when view is unshared
/cc @mikaylamaki, let's update this to use your `private_files` config
before merge.
Release Notes:
- Added the ability to prevent sharing private files over collab.
---------
Co-authored-by: Piotr <piotr@zed.dev>
Co-authored-by: Mikayla <mikayla@zed.dev>
2024-01-31 12:05:51 -08:00
Mikayla
c05edee2b5
Port the rest of the app
2024-01-21 20:26:33 -08:00
Mikayla
a44aae9e91
Finish documenting the action, asset, color, and element modules in GPUI
...
Remove SmallVec from the public API of GPUI
2024-01-20 20:15:23 -08:00
Piotr Osiewicz
b6d8665fc1
pane: stop propagation of drag/click events in resizing handle
...
This prevents focused editor from being scrolled while a pane is getting resized.
Fixes: Mouse down to start an editor resize causes a scroll
2024-01-18 14:24:03 +01:00
Kirill Bulatov
a601e96b6c
Style collab notifications properly
2024-01-17 16:44:43 +02:00
Kirill Bulatov
39dff0e827
Stop using button for collab notifications
2024-01-17 11:06:46 +02:00
Antonio Scandurra
1c260e6dfd
Merge remote-tracking branch 'origin/main' into cache
...
# Conflicts:
# crates/copilot/src/sign_in.rs
# crates/gpui/src/window.rs
# crates/workspace/src/pane_group.rs
2024-01-10 22:58:52 +01:00
Antonio Scandurra
2923b71f83
Replace WindowContext::notify
with WindowContext::refresh
2024-01-10 17:27:02 +01:00
Mikayla
e786e22121
And a few more todos
2024-01-09 16:41:17 -08:00
Kirill Bulatov
625c9d8980
Remove some todo!'s
2024-01-09 11:36:36 +02:00
Mikayla
51caa74349
Restore the active pane magnification feature
2024-01-08 15:48:31 -08:00
Antonio Scandurra
84c36066bc
Start on caching views
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2024-01-08 19:07:20 +01:00
Piotr Osiewicz
97aed8a4d7
Restore ability to reset pane split size by double clicking drag handle. ( #3937 )
...
Release notes
- Fixed double clicking on pane drag handle not resetting pane's split
size.
- Fixed pane group sizes not being serialized.
2024-01-08 16:48:17 +01:00
Antonio Scandurra
cf03ea2da9
Don't shift pane content when following someone
2024-01-05 10:55:33 +01:00
Max Brunsfeld
789ce8dd75
Remove 2 suffix for workspace
...
Co-authored-by: Mikayla <mikayla@zed.dev>
2024-01-03 11:08:51 -08:00
Max Brunsfeld
ca735ad70f
Ensure there's only one leader per pane
2023-10-09 13:32:38 -07:00
Conrad Irwin
92bb9a5fdc
Make following more good
...
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-09-29 17:59:19 -06:00
Max Brunsfeld
a8b35eb8f5
Merge branch 'main' into allow-following-outside-of-projects
2023-09-28 11:58:28 -07:00
Max Brunsfeld
0f39b63801
Rename color_index to participant_index
...
Co-authored-by: Conrad <conrad@zed.dev>
2023-09-28 11:37:22 -07:00
Max Brunsfeld
545b5e0161
Assign unique color indices to room participants, use those instead of replica_ids
...
Co-authored-by: Conrad <conrad@zed.dev>
Co-authored-by: Antonio <antonio@zed.dev>
2023-09-28 11:06:09 -07:00
Conrad Irwin
37b6e1cbb7
Add SwapPaneInDirection
...
Add keybindings for vim (and non-vim)
2023-09-26 22:00:51 -06:00
Max Brunsfeld
4ffa167256
Allow following into channel notes regardless of project
2023-09-21 17:12:59 -07:00
Nathan Sobo
e0fdc7d0aa
Eliminate PaintContext
2023-09-11 09:00:59 -06:00
Nathan Sobo
a24d94cfda
Eliminate LayoutContext
2023-09-11 08:47:00 -06:00
Nathan Sobo
ebf8b32811
Checkpoint
2023-09-08 16:25:10 -06:00
Nathan Sobo
5a778fbde6
Checkpoint
2023-09-06 14:16:15 -06:00
Max Brunsfeld
404f76739c
Format let-else statements
2023-08-25 10:11:32 -07:00
Mikayla
e5eed29c72
Add components example
...
Re-arrange generics on mouse event handler
Add TypeTag struct for dynamically tagged components
2023-08-15 03:06:43 -07:00
Nathan Sobo
db96fb1307
Merge remote-tracking branch 'origin/main' into paint-context
2023-08-08 18:27:16 -06:00
Mikayla Maki
56704c7c5f
Remove placeholders
2023-07-26 09:37:52 -07:00
Nathan Sobo
1b03c5d69c
Pass PaintContext to Element::paint
...
I want to use this on another branch, but it's a sweeping change,
so this prepares the ground for it. This can always be reverted if
it doesn't work out.
2023-07-25 17:32:31 -06:00
Mikayla Maki
25e4bcea7f
Implement cascading resize algorithm
2023-07-24 08:04:46 -07:00
Mikayla Maki
429a2fc623
Add drag end events
...
Fix left dragging cascade
WIP: Implement right dragging, WIP: use drag end events to set and reset state around initial flex orientation
2023-07-23 13:28:30 -07:00
Mikayla Maki
28ee05b324
WIP: cascade split resizes
2023-07-23 01:20:25 -07:00
Mikayla Maki
b4b53eb5f1
Refactor resize handle code to be amenable to cascading resizes
2023-07-22 21:48:45 -07:00
Mikayla Maki
d84d663ac3
fmt
2023-07-20 10:36:23 -07:00
Mikayla Maki
4d1dbb8aa3
Add a double click to reset resized splits
2023-07-20 10:33:28 -07:00
Conrad Irwin
464cc2e71a
Assertions for assumptions
2023-07-20 11:11:37 -06:00
Conrad Irwin
e1379f0ef0
Add support for activating a pane by direction
...
Contributes: zed-industries/community#476
Contributes: zed-industries/community#478
2023-07-19 18:29:11 -06:00
Alex Viscreanu
c0b2326053
fix(flexes): reset flexes when collapsing axis
...
Co-authored-by: Mikayla Maki <mikayla@zed.dev>
2023-07-14 21:49:33 +02:00
Mikayla Maki
9da8f609cf
tidy up names
2023-07-13 14:34:32 -07:00
Mikayla Maki
331fd896b5
fmt
2023-07-13 14:21:30 -07:00
Mikayla Maki
5797282b98
Add resising serialization
2023-07-13 14:21:14 -07:00
Mikayla Maki
00b04f1c85
Restore active pane magnification
2023-07-13 13:10:36 -07:00
Mikayla Maki
d5f7ad08fa
Styled and refined behavior for split resizing
2023-07-13 11:28:21 -07:00
Mikayla Maki
26b9be628e
Add the math for pane resizing
2023-07-12 22:35:51 -07:00
Mikayla Maki
5385ca411b
Added the new elements and wired through the pointers to update the pane axis ratios
2023-07-12 17:53:01 -07:00
Mikayla Maki
488b41826b
WIP
2023-07-12 12:46:56 -07:00
Antonio Scandurra
146809eef0
Merge branch 'main' into panels
2023-05-22 14:10:17 +02:00
Max Brunsfeld
2d5f03e148
Remove optional path argument when getting settings
2023-05-17 15:05:20 -07:00