Marshall Bowers
92f2e8eb34
Combine related conditions
2023-11-13 18:22:04 -05:00
Marshall Bowers
53117eb5e5
Merge branch 'main' into one-themes
2023-11-13 18:16:45 -05:00
Nate Butler
701f954448
Start refining tab
2023-11-13 17:51:58 -05:00
Max Brunsfeld
2eedd2ad03
Merge branch 'main' into project-panel2
2023-11-13 13:39:13 -08:00
Conrad Irwin
f464d69ff8
Merge branch 'main' into dispatch-tree
2023-11-13 13:21:57 -07:00
Mikayla
0e3fd92bd0
Get editor tests compiling
2023-11-13 12:10:14 -08:00
Piotr Osiewicz
dfd68d4cb8
WIP: start search2
2023-11-13 20:38:37 +01:00
Max Brunsfeld
1968becf94
Merge branch 'main' into project-panel2
2023-11-13 11:26:51 -08:00
Max Brunsfeld
13dd912817
Get left, right, and bottom docks rendering in the right places in the workspace
...
Co-authored-by: Julia <julia@zed.dev>
Co-authored-by: Marshall <marshall@zed.dev>
2023-11-13 10:47:15 -08:00
Antonio Scandurra
44534b926d
Register actions on the right div
2023-11-13 15:21:47 +01:00
Kirill Bulatov
a9c17e7407
Uncomment all inlay hint cache code and tests
2023-11-13 14:07:48 +02:00
Mikayla
13255ef133
Poke at getting the project panel showing up
2023-11-12 23:22:02 -08:00
Nathan Sobo
7eaba8fabc
WIP
2023-11-10 14:47:45 -07:00
Nathan Sobo
74a0d9316a
Add a DispatchTree which will replace the existing key dispatch strategy
...
Instead of freezing a stack, we will record the entire dispatch tree so we can
change focus.
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2023-11-10 11:56:14 -07:00
Conrad Irwin
cc9fb9dea0
Fix panic caused by focusing the same thing twice
2023-11-09 22:25:46 -07:00
Conrad Irwin
5a711886d4
Refactor to make ModalLayer a View
2023-11-09 22:15:44 -07:00
Conrad Irwin
d4b1d1b528
Move from register_modals to register_workspace_action
2023-11-09 21:51:48 -07:00
Conrad Irwin
e6d6806693
Tidy up some more modal behaviour
2023-11-09 21:11:44 -07:00
Conrad Irwin
77d92ff65a
Tidy up
2023-11-09 20:58:35 -07:00
Max Brunsfeld
b9e098ead8
Start work on creating gpui2 version of project panel
2023-11-09 16:51:03 -08:00
Piotr Osiewicz
194d615691
Fix up keybindings propagation
...
Co-authored-by: Conrad <conrad@zed.dev>
2023-11-09 18:33:36 +01:00
Piotr Osiewicz
d184e0d426
Start working on command_palette2
2023-11-09 17:54:05 +01:00
Mikayla
2c67cc80ba
Merge branch 'main' into event-emitter
2023-11-08 20:10:38 -08:00
Mikayla
a97c8bf58f
Get workspace compiling with new event emitters
2023-11-08 19:29:00 -08:00
Conrad Irwin
b90e34aeb2
go to line2 ( #3261 )
...
- MODAL
- center a div
- MOAR CODE
- Beautiful go to line modal
Release Notes:
- N/A
2023-11-08 17:16:00 -07:00
Conrad Irwin
cef8fa5570
tidy tidy
2023-11-08 17:09:38 -07:00
Conrad Irwin
1b9f76c01d
Refactor GoToLine to use cx.observe_new_views()
2023-11-08 16:23:05 -07:00
Conrad Irwin
6a802e2fda
Make Modals dismissable in theory
2023-11-08 14:45:54 -07:00
Mikayla
097efdebc5
WIP
2023-11-08 12:49:09 -08:00
Mikayla
409e17ad30
Merge branch 'main' into go-to-line2
2023-11-08 11:32:36 -08:00
Nate Butler
e4ca2cb20b
Update titlebar
2023-11-08 12:57:31 -05:00
Max Brunsfeld
bdec1c8202
Merge branch 'main' into picker
2023-11-07 16:57:47 -08:00
Max Brunsfeld
9fe3073af7
Get basic text input working
...
Co-authored-by: Marshall <marshall@zed.dev>
2023-11-07 16:33:02 -08:00
Conrad Irwin
7cdece4857
Beautiful go to line modal
...
Co-authored-by: Julia <julia@zed.dev>
Co-authored-by: Marshall <marshall@zed.dev>
2023-11-07 15:32:34 -07:00
Conrad Irwin
5751303ea4
MOAR CODE
2023-11-07 14:44:36 -07:00
Nate Butler
3a85beeaa5
center a div
2023-11-07 16:23:41 -05:00
Conrad Irwin
acab2f9003
MODAL
2023-11-07 13:23:27 -07:00
Max Brunsfeld
10c94cc8b7
Remove unused import
2023-11-07 11:47:49 -08:00
Mikayla Maki
a3bd04fed2
Merge branch 'main' into picker
2023-11-07 11:44:02 -08:00
Max Brunsfeld
d690fb038d
Merge branch 'main' into picker
2023-11-07 11:27:14 -08:00
Conrad Irwin
1e6a0f1c7b
Wire up GoToLine modal
2023-11-07 12:12:05 -07:00
Conrad Irwin
a2a28af052
Add Modals
...
P.S. this is all completely different now
Co-Authored-By: Marshall <marshall@zed.dev>
Co-Authored-By: Julia <julia@zed.dev>
2023-11-07 09:18:34 -07:00
Marshall Bowers
74853ea55f
Rename ThemeVariant
to Theme
( #3252 )
...
This PR renames the `ThemeVariant` type to `Theme`.
This better reflects its purpose, as well as matches the same name as we
had before, which should make porting crates slightly easier.
Release Notes:
- N/A
2023-11-07 10:41:36 -05:00
Conrad Irwin
c59817cd72
Merge branch 'main' into editor2-rendering
2023-11-06 11:06:43 -07:00
Conrad Irwin
3afdeeac1e
tooltip2 ( #3237 )
...
- Fix executor.timer() in gpui2
- Add support for tooltips
[[PR Description]]
Release Notes:
- N/A
2023-11-06 10:51:01 -07:00
Marshall Bowers
bf80c1da5b
Rename fields in ThemeColors
( #3242 )
...
This PR applies a number of field renames in the `ThemeColors` struct
from the `import-theme` branch.
This will help prevent this branch from diverging too far from `main`.
Release Notes:
- N/A
---------
Co-authored-by: Nate Butler <iamnbutler@gmail.com>
Co-authored-by: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-11-06 11:53:27 -05:00
Julia
4725cd2cd6
Move more tooltip logic into gpui2 & fix tooltip moving on paint
...
Co-Authored-By: Conrad Irwin <conrad@zed.dev>
2023-11-03 18:37:15 -04:00
Julia
3834e26f71
Tooltips in mouse event handler & fix executor timer
...
Co-Authored-By: Conrad Irwin <conrad@zed.dev>
2023-11-03 18:02:58 -04:00
Marshall Bowers
b5224bdafd
Remove unneeded type qualification
2023-11-03 16:40:46 -04:00
Marshall Bowers
1361b61708
Use an IconButton
for the tab close button
2023-11-03 16:36:02 -04:00
Conrad Irwin
33245d119e
Tooltip on tabs
...
Co-Authored-By: Julia <julia@zed.dev>
2023-11-03 14:02:46 -06:00
Conrad Irwin
26e64fb843
gpui2: Add on_hover events
2023-11-03 12:51:38 -06:00
Conrad Irwin
d73c54f604
Add PointingHand on tabs
2023-11-03 11:30:15 -06:00
Conrad Irwin
c604a2e34e
Add hover behaviour to tabs
...
Co-Authored-By: Marshall <marshall@zed.dev>
Co-Authored-By: Nathan <nathan@zed.dev>
2023-11-03 10:55:07 -06:00
Conrad Irwin
920ea1bf0a
Make the close button close
2023-11-03 09:20:27 -06:00
Antonio Scandurra
b5c2cf371a
Ensure panes cover the available space
2023-11-03 16:14:03 +01:00
Conrad Irwin
0edcec7c4e
Fix tab text colors
2023-11-03 09:12:12 -06:00
Kyle Caverly
343525d77b
added workspace event for WorkspaceCreated ( #3222 )
...
added workspace2 event for WorkspaceCreated
Release Notes:
- NA
2023-11-03 11:06:11 -04:00
Antonio Scandurra
b21c25826d
Make tab bar visible
2023-11-03 15:51:33 +01:00
Antonio Scandurra
097171b9b8
Merge remote-tracking branch 'origin/main' into editor2
2023-11-03 14:47:49 +01:00
Antonio Scandurra
3e8fcefaef
Remove more todos
2023-11-03 14:42:26 +01:00
KCaverly
b148c61047
added workspace event for WorkspaceCreated
2023-11-03 08:52:18 -04:00
Kirill Bulatov
1a0cd3e09b
Remove and add more todosmerge .
2023-11-03 13:22:11 +02:00
Antonio Scandurra
77e3c7f8ee
WIP
2023-11-03 12:10:15 +01:00
Kirill Bulatov
eb8a0e7148
Uncomment persistence tests
2023-11-03 12:38:09 +02:00
Antonio Scandurra
b7712c2f4b
Fix a todo in workspace
2023-11-03 11:36:39 +01:00
Antonio Scandurra
6fc7b17259
Expose a focus handle from workspace::Item
2023-11-03 11:00:57 +01:00
Antonio Scandurra
efa27cf9b8
Uncomment more editor code
2023-11-03 10:09:00 +01:00
Antonio Scandurra
cdc82d01f7
Call editor::init
2023-11-03 09:06:25 +01:00
Nathan Sobo
f3b8a9d8c2
WIP
2023-11-02 22:56:04 -06:00
Nathan Sobo
dfc7c81500
WIP
2023-11-02 21:03:29 -06:00
Nathan Sobo
2a12e8f307
Merge remote-tracking branch 'origin/rich_text2' into editor2
2023-11-02 20:34:52 -06:00
Conrad Irwin
583c36e24b
WIP
2023-11-02 15:27:49 -06:00
Marshall Bowers
54969877a4
Make the Zed2 window movable ( #3218 )
...
This PR makes the Zed2 window movable and fixes a crash related to a
`todo!()` that wasn't necessary.
Release Notes:
- N/A
2023-11-02 16:17:31 -04:00
Conrad Irwin
8283909dfd
Disable selective warnings to make cargo check happy
2023-11-02 13:28:58 -06:00
Conrad Irwin
269a72464d
Merge remote-tracking branch 'origin/main' into zed2-workspace
2023-11-02 13:16:24 -06:00
Marshall Bowers
9c8220d04e
Remove commented-out label code
2023-11-02 15:04:52 -04:00
Marshall Bowers
3605afc163
Render active item in pane
2023-11-02 14:40:34 -04:00
Marshall Bowers
8b1b7a2f80
Checkpoint: Basic tab bar structure
2023-11-02 14:34:48 -04:00
Conrad Irwin
5a41eed120
WIP
2023-11-02 11:34:31 -06:00
Conrad Irwin
8f0f5a9ba1
Render status bar
...
Co-Authored-By: Antonio <me@as-cii.com>
2023-11-02 11:18:11 -06:00
Conrad Irwin
803d2b6710
Add double click to zoom the window
...
Co-Authored-By: Antonio <me@as-cii.com>
2023-11-02 10:58:46 -06:00
Conrad Irwin
bd54bfa4e1
Render titlebar
...
Co-Authored-By: Mikayla <mikayla@zed.dev>
2023-11-02 10:31:18 -06:00
Conrad Irwin
634aba89d2
Add back some window events for workspace
...
Co-Authored-By: Antonio <me@as-cii.com>
2023-11-02 10:03:03 -06:00
Nathan Sobo
52e195b47c
WIP
2023-11-02 07:46:49 -06:00
Antonio Scandurra
d4e199cab1
WIP
2023-11-02 13:58:42 +01:00
Antonio Scandurra
c1ca7ad41d
Implement WindowContext::remove_window
2023-11-02 13:37:55 +01:00
Antonio Scandurra
089bf58934
Implement AppState::test
2023-11-02 13:34:21 +01:00
Antonio Scandurra
32dded551c
Checkpoint
2023-11-02 11:05:24 +01:00
Mikayla
6f38eb3252
Finish main merge
2023-11-01 11:52:14 -07:00
Mikayla
1c1b53ecf6
WIP
2023-11-01 11:45:31 -07:00
Antonio Scandurra
337a79e35f
WIP
2023-11-01 18:34:51 +01:00
Antonio Scandurra
c3a8bab4d2
WIP
2023-11-01 17:21:58 +01:00
Antonio Scandurra
147db607c7
WIP
2023-11-01 16:24:19 +01:00
Kirill Bulatov
e8857d959b
WIP
2023-11-01 16:10:07 +02:00
Kirill Bulatov
a9d7c86307
WIP
2023-11-01 15:37:51 +02:00
Kirill Bulatov
73c97d0c10
WIP
...
Uncomment more methods in workspace2.rs
2023-11-01 14:47:29 +02:00
Antonio Scandurra
4d320f065e
WIP
2023-11-01 12:47:19 +01:00
Nathan Sobo
d47ef6470b
WIP
2023-10-31 22:32:18 -06:00
Nathan Sobo
4da8ee1e1d
Remove one todo from the critical path
2023-10-31 21:19:32 -06:00
Nathan Sobo
0ecf6bde73
WIP
2023-10-31 16:15:30 -06:00
Nathan Sobo
90601fe4fd
Checkpoint
2023-10-31 11:16:08 -06:00
Nathan Sobo
0a2fde8707
WIP
2023-10-31 11:03:01 -06:00
KCaverly
fed391fe6b
wip
2023-10-31 12:00:45 -04:00
KCaverly
551171a339
Merge branch 'zed2' of github.com:zed-industries/zed into zed2-workspace
2023-10-31 11:39:34 -04:00
KCaverly
68a1c7ce4c
wip
2023-10-31 11:32:56 -04:00
KCaverly
5550e80c4e
workspace2 is compiling
...
Co-Authored-By: Kirill <kirill@zed.dev>
2023-10-31 11:14:43 -04:00
KCaverly
663e8aed8a
wip progress
2023-10-31 10:49:51 -04:00
KCaverly
eb4ac2c276
wip
2023-10-31 10:12:40 -04:00
KCaverly
efce38fce2
wip
2023-10-31 10:04:04 -04:00
KCaverly
8d0905e479
dock compiling with todos outstanding
...
Co-Authored-By: Kirill <kirill@zed.dev>
2023-10-31 09:25:36 -04:00
Antonio Scandurra
bbe2dd1f8f
WIP
2023-10-31 14:04:59 +01:00
Antonio Scandurra
14a6199b4b
WIP: Make the item module compile again
2023-10-31 13:56:48 +01:00
Antonio Scandurra
538a9e1392
WIP
2023-10-31 11:56:55 +01:00
Mikayla
3dadfb8ba8
Merge branch 'zed2' into zed2-workspace
2023-10-30 16:53:21 -07:00
Antonio Scandurra
1a54ac0d69
Rename Handle to Model
2023-10-30 19:44:01 +01:00
Antonio Scandurra
9688937468
WIP
2023-10-30 19:33:23 +01:00
Antonio Scandurra
b9ce186d21
WIP
2023-10-30 16:54:55 +01:00
Antonio Scandurra
89bcbe3eeb
WIP
2023-10-30 16:43:01 +01:00
Antonio Scandurra
d4d9fcc88c
WIP
2023-10-30 15:39:58 +01:00
Antonio Scandurra
e2ee9a28bf
Implement activate_workspace_for_project
2023-10-30 14:50:50 +01:00
Antonio Scandurra
d9274416b4
Make activate_workspace_for_project
compile
...
Co-authored-by: Mikayla Maki <mikayla@zed.dev>
Co-Authored-By: Kirill Bulatov <kirill@zed.dev>
2023-10-26 14:36:55 +02:00
Antonio Scandurra
c8b5b085f4
WIP
2023-10-26 12:27:20 +02:00