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
|
65389a8fac
|
Merge branch 'zed2' into gpui2-element-renderer
|
2023-10-26 10:10:10 +02:00 |
|
Marshall Bowers
|
9fb9885931
|
Checkpoint: Compiling
|
2023-10-26 10:08:39 +02:00 |
|
Marshall Bowers
|
9c10152c89
|
Use Display instead of custom to_string
|
2023-10-26 09:30:21 +02:00 |
|
Marshall Bowers
|
28ef30f7a2
|
Removed unused ui2::color module
|
2023-10-26 09:26:22 +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
|
e67048ee7b
|
Load themes from settings and rework Settings trait
|
2023-10-25 20:37:55 +02:00 |
|
Marshall Bowers
|
a0fe859d87
|
Make theme converter spit out valid Rust structs
|
2023-10-25 18:20:16 +02:00 |
|
Marshall Bowers
|
437d147935
|
Rename player to players
|
2023-10-25 16:39:06 +02:00 |
|
Marshall Bowers
|
0867175a4e
|
Remove reference to removed ThemeColor
|
2023-10-25 16:34:03 +02:00 |
|
Marshall Bowers
|
4fcbc91aca
|
Add note about fixing dead_code and unused_variables warnings in ui2
|
2023-10-25 16:33:33 +02:00 |
|
Marshall Bowers
|
e1032c5341
|
Remove ThemeColor in favor of theme2::Theme
|
2023-10-25 16:32:44 +02:00 |
|
Marshall Bowers
|
bb3f59252e
|
Rename theme2 getter to theme
|
2023-10-25 16:04:49 +02:00 |
|
Marshall Bowers
|
258496700f
|
Rename theme getter to old_theme
|
2023-10-25 16:02:47 +02:00 |
|
Marshall Bowers
|
8043d0d8a9
|
Reference theme2 colors in ThemeColor
|
2023-10-25 15:58:56 +02:00 |
|
Marshall Bowers
|
dd34bb273e
|
Load Theme from theme2 into the storybook
|
2023-10-25 15:50:50 +02:00 |
|
Kirill Bulatov
|
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
|
d6bd000aa8
|
Rename cx.global_default_mut to cx.global_default
|
2023-10-24 17:58:14 +02:00 |
|
Marshall Bowers
|
09866ec3e9
|
WIP
|
2023-10-24 16:59:24 +02:00 |
|
Nate Butler
|
9f48cdac83
|
Lower the default state intensities
|
2023-10-24 08:41:39 -04:00 |
|
Nate Butler
|
bfb37bbe94
|
Merge branch 'n/elevation' into zed2
|
2023-10-24 08:34:54 -04:00 |
|
Marshall Bowers
|
8117e7933c
|
Add missing bounds to Themed
|
2023-10-24 14:30:26 +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
|
785901c75e
|
Load embedded fonts
|
2023-10-24 12:32:30 +02:00 |
|
Marshall Bowers
|
171db00f6e
|
Fix stack overflow
|
2023-10-24 11:39:15 +02:00 |
|
Marshall Bowers
|
6f5cf10acb
|
Comment out .state setting
|
2023-10-24 11:39:10 +02:00 |
|
Marshall Bowers
|
6a532af1fd
|
Swap the parameters to IconButton
|
2023-10-24 11:26:19 +02:00 |
|
Marshall Bowers
|
47f979d457
|
Pass IDs to IconButton s instead of generating them
|
2023-10-24 11:20:31 +02:00 |
|
Nate Butler
|
e99d862f3f
|
WIP Button Refactor
|
2023-10-23 14:50:53 -04:00 |
|
Nate Butler
|
c1c9db2ae2
|
Add elevation enums + docs
|
2023-10-23 13:50:39 -04:00 |
|
Nate Butler
|
297cef14ed
|
WIP add Elevation Docs
|
2023-10-23 11:21:48 -04: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
|
1e13e273d2
|
Add ThemeColor interface for UI coloring and remove redundancy
|
2023-10-23 11:01:04 -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 |
|
Nate Butler
|
c9d214e8ef
|
Start crate doc
|
2023-10-23 10:21:30 -04:00 |
|
Nathan Sobo
|
239b0c2f71
|
Clear active state when drag starts
|
2023-10-23 16:10:04 +02:00 |
|
Nate Butler
|
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 |
|
Nathan Sobo
|
da8919002f
|
Fix runtime errors
|
2023-10-23 11:34:35 +02:00 |
|
Antonio Scandurra
|
ce75be91e1
|
Checkpoint
|
2023-10-22 18:25:24 +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
|
4dc2440024
|
Enable text wrapping for Details
|
2023-10-20 16:13:54 -04:00 |
|
Marshall Bowers
|
c831c5749a
|
Remove more unneeded Clone bounds
|
2023-10-20 11:32:10 -04:00 |
|
Marshall Bowers
|
901af8de3f
|
Remove Clone bound from Avatar
|
2023-10-20 11:13:13 -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 |
|
Antonio Scandurra
|
68bc22f9cd
|
Checkpoint
|
2023-10-20 10:55:06 +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
|
3a70f02cbf
|
Checkpoint
|
2023-10-19 23:21:26 +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
|
a1aba32209
|
Remove Clone bound from Button and Details
|
2023-10-19 16:35:44 -04:00 |
|
Marshall Bowers
|
fa3916d1bf
|
Remove Clone bound for HighlightedLabel
|
2023-10-19 16:34:08 -04:00 |
|
Marshall Bowers
|
3ac7ef90ef
|
Remove Clone bound for Input
|
2023-10-19 16:32:48 -04:00 |
|
Marshall Bowers
|
4050bf43c4
|
Remove Clone bound for Label
|
2023-10-19 16:31:24 -04:00 |
|
Marshall Bowers
|
d91b423a45
|
Remove unused Interactive impl for FakeSettings
|
2023-10-19 16:16:09 -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 |
|
Marshall Bowers
|
2189983323
|
Add missing Clone bounds
|
2023-10-19 15:02:00 -04:00 |
|
Nate Butler
|
58650b7d2d
|
Checkpoint - Still Broken
|
2023-10-19 14:38:01 -04:00 |
|
Marshall Bowers
|
d5fc831321
|
Restore more active styles
|
2023-10-19 14:23:45 -04:00 |
|
Marshall Bowers
|
743949753a
|
Fix mutual-exclusivity of right panels
|
2023-10-19 14:19:10 -04:00 |
|
Marshall Bowers
|
184f5f2397
|
Restore active styles for Input s
|
2023-10-19 14:17:35 -04:00 |
|
Marshall Bowers
|
597aa0475e
|
Remove unused import
|
2023-10-19 14:10:13 -04:00 |
|
Marshall Bowers
|
e657e4d1d1
|
Wire up livestream debug toggle
|
2023-10-19 14:06:31 -04:00 |
|
Marshall Bowers
|
a869de3b1f
|
Add ability to toggle user settings
|
2023-10-19 13:38:19 -04:00 |
|
Marshall Bowers
|
4aac733238
|
Pass the settings to build_child
|
2023-10-19 13:23:08 -04:00 |
|
Marshall Bowers
|
7ed891e0c6
|
Merge branch 'gpui2' into gpui2ui-debug-panel
|
2023-10-19 13:04:37 -04:00 |
|
Marshall Bowers
|
a1f7a97ff5
|
Pull the settings from the global state
|
2023-10-19 13:02:32 -04:00 |
|
Nate Butler
|
bca97f7186
|
Checkpoint – Broken
|
2023-10-19 12:58:17 -04:00 |
|
Marshall Bowers
|
61e09ff532
|
Checkpoint: Thread WindowContext through to user_settings
|
2023-10-19 12:58:17 -04:00 |
|
Nate Butler
|
8e465b4393
|
Add basic debug panel
|
2023-10-19 12:09:39 -04:00 |
|
Marshall Bowers
|
f5c76d93bc
|
Add missing Arc for on_click handler
|
2023-10-19 10:25:54 -04:00 |
|
Nate Butler
|
e34a488b55
|
WIP
|
2023-10-18 20:58:24 -04:00 |
|
Nate Butler
|
c22778bd92
|
Remove debugs
|
2023-10-18 19:15:17 -04:00 |
|
Nate Butler
|
65828c14fc
|
Use ui_size to build icon button
|
2023-10-18 19:12:02 -04:00 |
|
Nate Butler
|
7cb00aeb34
|
Update line heights, buttons to respond to UI scale
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
|
2023-10-18 17:55:17 -04:00 |
|
Nate Butler
|
7b2782c0f6
|
Use ui_size to set relative font sizes
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
|
2023-10-18 17:02:57 -04:00 |
|
Nate Butler
|
3f076eeda6
|
Remove unused code from storybook 2
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
|
2023-10-18 16:27:34 -04:00 |
|
Nate Butler
|
a6a50113da
|
Merge branch 'n/gpui2ui-settings' into gpui2
|
2023-10-18 16:17:57 -04:00 |
|
Nate Butler
|
8b637e194e
|
Update approach to settings
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
|
2023-10-18 16:16:58 -04:00 |
|
Nate Butler
|
289255d67a
|
Update UI elements and implement user settings for customization
|
2023-10-18 15:42:10 -04:00 |
|
Marshall Bowers
|
549e78d7b3
|
Use SharedString for Input s
|
2023-10-18 14:28:28 -04:00 |
|
Marshall Bowers
|
8dad3ad8ea
|
Use SharedString for List s
|
2023-10-18 14:19:26 -04:00 |
|
Marshall Bowers
|
856d23626f
|
Use SharedString for Palette and PaletteItem s
|
2023-10-18 14:03:13 -04:00 |
|
Marshall Bowers
|
24086191af
|
Split Label and HighlightedLabel
|
2023-10-18 12:37:47 -04:00 |
|
Marshall Bowers
|
f0b9e9a89d
|
Use SharedString for Keybinding s
|
2023-10-18 12:26:51 -04:00 |
|
Marshall Bowers
|
6e3393c93f
|
Use SharedString for Button s
|
2023-10-18 10:59:42 -04:00 |
|
Marshall Bowers
|
2b53c67789
|
Use SharedString for Label s
|
2023-10-18 10:58:50 -04:00 |
|
Marshall Bowers
|
8321b9430e
|
Wire up hover styles on Button s
|
2023-10-18 10:53:42 -04:00 |
|
Antonio Scandurra
|
0e4bd485e0
|
Checkpoint
|
2023-10-18 16:36:48 +02:00 |
|
Antonio Scandurra
|
296a2b8e5d
|
Rename fill to bg
|
2023-10-18 09:39:23 +02:00 |
|
Antonio Scandurra
|
597a9f9548
|
Use text color to paint SVGs
|
2023-10-18 09:39:20 +02:00 |
|
Antonio Scandurra
|
4db0350f06
|
Checkpoint
|
2023-10-17 22:16:48 +02:00 |
|
Antonio Scandurra
|
a8697df9e3
|
Checkpoint
|
2023-10-17 21:54:28 +02:00 |
|
Antonio Scandurra
|
c04171abf6
|
WIP
|
2023-10-17 13:32:49 +02:00 |
|
Antonio Scandurra
|
fb1e7eef6b
|
Checkpoint
|
2023-10-17 11:08:48 +02:00 |
|
Antonio Scandurra
|
b526fc070d
|
Merge branch 'gpui2-text-wrap' into gpui2
|
2023-10-17 09:03:16 +02:00 |
|
Antonio Scandurra
|
c6e20aed9b
|
Checkpoint
|
2023-10-17 08:32:33 +02:00 |
|
Marshall Bowers
|
c8b452d411
|
Merge branch 'gpui2-ui' into gpui2
|
2023-10-16 16:54:40 -04:00 |
|
Marshall Bowers
|
708034d1d3
|
Call is_toggled as a method
|
2023-10-16 15:55:43 -04:00 |
|
Nate Butler
|
129273036a
|
Add notifications panel to workspace UI structure
|
2023-10-16 13:11:52 -04:00 |
|
Nate Butler
|
97d77440e7
|
Simplify static panes for now
|
2023-10-16 13:07:15 -04:00 |
|
Marshall Bowers
|
5e43c332f1
|
Merge branch 'gpui2-ui' into gpui2
|
2023-10-13 17:44:28 -04:00 |
|
Marshall Bowers
|
6891e86621
|
Add state to BufferSearch
|
2023-10-13 17:44:21 -04:00 |
|
Marshall Bowers
|
3c1ec2e9ca
|
Add rudimentary UI for BufferSearch
|
2023-10-13 17:36:27 -04:00 |
|
Marshall Bowers
|
49caeeafce
|
Merge branch 'gpui2-ui' into gpui2
|
2023-10-13 17:20:54 -04:00 |
|
Marshall Bowers
|
349ad7858b
|
Add placeholder BufferSearch
|
2023-10-13 17:20:44 -04:00 |
|
Marshall Bowers
|
c70f220db3
|
Wire up buffer search toggle for EditorPane
|
2023-10-13 17:14:09 -04:00 |
|
Nate Butler
|
603765732e
|
Checkpoint
|
2023-10-13 14:50:37 -04:00 |
|
Marshall Bowers
|
e477fa7a93
|
Wire up call controls in the TitleBar
|
2023-10-13 12:46:35 -04:00 |
|
Marshall Bowers
|
f3679b37a2
|
Change TitleBar to a view
|
2023-10-13 12:21:51 -04:00 |
|
Nate Butler
|
b30b1d145c
|
Refactor button rendering to use ThemeColor instead of direct theme calls
|
2023-10-13 11:47:13 -04:00 |
|
Nate Butler
|
e902d5d917
|
Add example NotificationToast to workspace
|
2023-10-13 11:47:05 -04:00 |
|
Nate Butler
|
8bd4107423
|
Fix toast contents not filling container
|
2023-10-13 11:46:48 -04:00 |
|
Nate Butler
|
7ba305e033
|
Hook up buttons in NotificationToast
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
|
2023-10-13 11:03:59 -04:00 |
|
Nate Butler
|
caa0eb6e29
|
Add missing derive Element
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
|
2023-10-13 10:47:39 -04:00 |
|
Nate Butler
|
c6d831a564
|
Update NotificationToast implementation and use in Workspace component
|
2023-10-13 10:35:30 -04:00 |
|
Nate Butler
|
943c02bf79
|
Refactor NotificationToast structure to include primary and secondary actions
|
2023-10-13 10:20:26 -04:00 |
|
Nate Butler
|
c32b081029
|
Add notification toast component and remove ToastVariant from toast.rs
|
2023-10-13 10:05:50 -04:00 |
|
Marshall Bowers
|
44a30e269e
|
Restore elevation docs
|
2023-10-12 18:18:44 -04:00 |
|
Marshall Bowers
|
36bca4f0d6
|
Restore click events on Button s using on_mouse_down
|
2023-10-12 16:56:48 -04:00 |
|
Marshall Bowers
|
6e5ad75c5c
|
Use Workspace::view to construct the view
|
2023-10-12 16:52:32 -04:00 |
|
Marshall Bowers
|
79a61c28d7
|
Remove global WorkspaceState
|
2023-10-12 16:23:10 -04:00 |
|
Marshall Bowers
|
e900ea20b7
|
Fix toggling of left panel
|
2023-10-12 16:12:09 -04:00 |
|
Marshall Bowers
|
fc94c4ea40
|
Render stories as View s
|
2023-10-12 16:06:54 -04:00 |
|
Marshall Bowers
|
d320d3a8bf
|
Remove hacky children
|
2023-10-12 15:50:09 -04:00 |
|
Marshall Bowers
|
24bab48043
|
Use new children approach for Toolbar
|
2023-10-12 15:47:26 -04:00 |
|
Marshall Bowers
|
30979caf25
|
Use new children approach for Pane s and Toast s
|
2023-10-12 15:37:50 -04:00 |
|