Max Brunsfeld
30dffbb409
Introduce a Render trait, make views implement it
...
Don't pass a render function separately from the view.
Co-authored-by: Nathan Sobo <nathan@zed.dev>
Co-authored-by: Mikayla <mikayla@zed.dev>
Co-authored-by: Antonio <as-cii@zed.dev>
2023-10-30 15:19:40 -07:00
Marshall Bowers
14d24a9ac6
Remove references to old_theme
2023-10-30 14:36:49 -04:00
Marshall Bowers
61694bba6a
Remove unneeded constructors for stories
2023-10-26 16:46:49 +02:00
Marshall Bowers
1887f3b594
Rename S
type to V
2023-10-26 15:54:43 +02:00
Marshall Bowers
eb19071d84
ui2: Clean up take
s
2023-10-26 15:44:39 +02:00
Marshall Bowers
88ef74ec8f
Checkpoint: Compiling after view type removal
2023-10-26 15:20:38 +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
927278e20d
Remove IntoAnyElement bound from Element trait
2023-10-26 11:49:36 +02:00
Marshall Bowers
9fb9885931
Checkpoint: Compiling
2023-10-26 10:08:39 +02:00
Marshall Bowers
437d147935
Rename player
to players
2023-10-25 16:39:06 +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
Nate Butler
bfb37bbe94
Merge branch 'n/elevation' into zed2
2023-10-24 08:34:54 -04:00
Marshall Bowers
bb35583998
Merge branch 'gpui2' into zed2
2023-10-24 14:11:13 +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
Nate Butler
e99d862f3f
WIP Button Refactor
2023-10-23 14:50:53 -04:00
Nate Butler
3a326bfa7e
🤦 Remove references to system_color
2023-10-23 11:05:17 -04: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
Antonio Scandurra
e4fe9538d7
Checkpoint
2023-10-21 16:01:47 +02:00
Marshall Bowers
4dc2440024
Enable text wrapping for Details
2023-10-20 16:13:54 -04:00
Marshall Bowers
901af8de3f
Remove Clone
bound from Avatar
2023-10-20 11:13:13 -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
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
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
184f5f2397
Restore active styles for Input
s
2023-10-19 14:17:35 -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
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
24086191af
Split Label
and HighlightedLabel
2023-10-18 12:37:47 -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