Commit Graph
163 Commits
Author SHA1 Message Date
Marshall Bowers c9c9db903d Fix Component derive macro 2023-10-26 14:20:25 +02:00
Nathan Sobo f4cff69729 WIP: Macro not working fully yet 2023-10-26 13:18:58 +02:00
Nathan Sobo 0285284ae1 Rename IntoAnyElement trait to Component 2023-10-26 12:46:52 +02:00
Nathan Sobo 8ecfea55cd Replace derive Element with derive IntoAnyElement everywhere 2023-10-26 12:38:23 +02:00
Nathan Sobo 315744ec20 Add derive macro for IntoAnyElement 2023-10-26 12:20:46 +02:00
Nathan Sobo 927278e20d Remove IntoAnyElement bound from Element trait 2023-10-26 11:49:36 +02:00
Nathan Sobo 45a8aea0f0 Make FnOnces that render elements IntoAnyElement 2023-10-26 11:21:42 +02:00
Nathan Sobo db7d12f628 WIP 2023-10-26 10:59:27 +02:00
Marshall Bowers 4266ead958 WIP: Trait bounds 2023-10-26 10:46:02 +02:00
Marshall Bowers e31a9401a8 Merge branch 'remove-view-state-associated-type' into gpui2-element-renderer 2023-10-26 10:10:17 +02:00
Marshall Bowers 9fb9885931 Checkpoint: Compiling 2023-10-26 10:08:39 +02:00
Marshall Bowers 06bff41818 WIP: ElementRenderer 2023-10-25 21:08:34 +02:00
Marshall Bowers 7ec9cc08c7 Fix z-index targeting for drag and drop 2023-10-25 20:49:40 +02:00
Marshall Bowers e1032c5341 Remove ThemeColor in favor of theme2::Theme 2023-10-25 16:32:44 +02:00
Marshall Bowers 258496700f Rename theme getter to old_theme 2023-10-25 16:02:47 +02:00
Kirill BulatovandNathan Sobo a01b507ef4 Add OS file drop event handler
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2023-10-24 19:26:06 +02:00
Marshall Bowers 09866ec3e9 WIP 2023-10-24 16:59:24 +02:00
Marshall Bowers cf380a9f62 Remove set_ prefix for List setters 2023-10-24 14:18:51 +02:00
Marshall Bowers bb35583998 Merge branch 'gpui2' into zed2 2023-10-24 14:11:13 +02:00
Marshall Bowers f2710f37c5 Fix default font family 2023-10-24 12:49:18 +02:00
Marshall Bowers 6a532af1fd Swap the parameters to IconButton 2023-10-24 11:26:19 +02:00
Marshall Bowers 47f979d457 Pass IDs to IconButtons instead of generating them 2023-10-24 11:20:31 +02:00
Nathan Sobo 192b3512fd Merge branch 'gpui2-drag-drop' into zed2 2023-10-23 17:18:07 +02:00
Nate Butler 3a326bfa7e 🤦 Remove references to system_color 2023-10-23 11:05:17 -04:00
Nate Butler 438cf529bb Remove duplicate ThemeColor defs 2023-10-23 11:00:45 -04:00
Nathan Sobo ec0b2e5430 Add on_drop listeners 2023-10-23 16:59:16 +02:00
Nathan Sobo 239b0c2f71 Clear active state when drag starts 2023-10-23 16:10:04 +02:00
Nate ButlerandMikayla Maki cc445f7cef Start scaffolding out the Copilot Modal UI
Co-Authored-By: Mikayla Maki <mikayla.c.maki@gmail.com>
2023-10-23 10:00:02 -04:00
Nathan Sobo d1adce5890 Show red box when dragging 2023-10-23 15:09:22 +02:00
Nathan Sobo 96f2c4a9de Checkpoint 2023-10-23 14:15:12 +02:00
Antonio Scandurra e4fe9538d7 Checkpoint 2023-10-21 16:01:47 +02:00
Marshall Bowers 7719ed0d6c Remove unnecessary iterator 2023-10-20 16:34:33 -04:00
Marshall Bowers cbdd1d6d6c Use children instead of when 2023-10-20 16:30:52 -04:00
Marshall Bowers c831c5749a Remove more unneeded Clone bounds 2023-10-20 11:32:10 -04:00
Marshall Bowers d9a030157e Remove Clone bound from Keybinding 2023-10-20 11:12:37 -04:00
Marshall Bowers a0996c1807 Remove Clone bound from ChatMessage 2023-10-20 11:10:13 -04:00
Antonio Scandurra a3dcaf21cb Checkpoint 2023-10-20 16:31:03 +02:00
Nate Butler 0609628645 List actions for ListDetailsEntries 2023-10-19 20:17:41 -04:00
Nate Butler 32028fbbb1 Checkpoint – Notifications Panel 2023-10-19 20:04:21 -04:00
Antonio Scandurra 296fc92721 Checkpoint 2023-10-19 23:47:32 +02:00
Antonio Scandurra 21b4ae3fdc Merge 2023-10-19 23:40:38 +02:00
Antonio Scandurra dd7e1c505c Checkpoint 2023-10-19 23:00:19 +02:00
Marshall Bowers 94f0140f62 Assign each IconButton an ID based on the icon 2023-10-19 16:50:33 -04:00
Marshall Bowers 28b29d0985 Give each Tab its own ID 2023-10-19 16:42:21 -04:00
Marshall Bowers 52f2521f6a Wire up active style for Tab 2023-10-19 16:37:54 -04:00
Marshall Bowers e1e8b63eb5 Remove Clone bound from IconElement 2023-10-19 16:37:15 -04:00
Marshall Bowers 4050bf43c4 Remove Clone bound for Label 2023-10-19 16:31:24 -04:00
Marshall Bowers 1be1bffb29 Wire up active style for Breadcrumb 2023-10-19 16:13:25 -04:00
Marshall Bowers 92542e6b94 Identify IconButton 2023-10-19 16:12:21 -04:00
Marshall Bowers 3932c1064e Merge branch 'gpui2' into gpui2-theme-to-color 2023-10-19 16:10:44 -04:00