Conrad Irwin
e1c8369b3d
Rename menu_handle
to right_click_menu
and child
to trigger
...
This makes things more in-line with `popover_menu`.
2023-11-30 16:39:43 -07:00
Nate Butler
92d2048aa4
WIP
2023-11-30 00:28:05 -05:00
Marshall Bowers
b357ae4dc3
Add new Button
and IconButton
components ( #3448 )
...
This PR adds new `Button` and `IconButton` components built on top of
our new button abstractions.
Both of these buttons are built from the common `ButtonLike` base, and
implement the `ButtonCommon` (name TBD) trait in order to provide a
common interface.
There are still some visual tweaks that we'll need to make to the new
buttons, but those should be straightforward to make after we land this.
Release Notes:
- N/A
2023-11-29 17:41:44 -05:00
Marshall Bowers
d8ed7c0721
Move GraphicSlot
out of components
module ( #3444 )
...
This PR moves the `GraphicSlot` definition out of the `components`
module, as it doesn't contain a component.
Release Notes:
- N/A
2023-11-29 15:29:33 -05:00
Marshall Bowers
e77846d2dc
Rework Toggle
into Toggleable
and ToggleState
2023-11-29 14:33:52 -05:00
Nate Butler
a8bf0834e6
Button2 – Part1 ( #3420 )
...
## TODO
- [x] Remove `InteractionState`
- [ ] `Selectable` should use `Selection` instead of a boolean
- [x] Clean out ui2 prelude
- [ ] Build out button2 button types
- [ ] Port old buttons
Release Notes:
- N/A
---------
Co-authored-by: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-11-29 12:23:09 -05:00
Nate Butler
6fe7b22164
UI refinements + Popover ( #3377 )
...
[[PR Description]]
- Update default ui_font_size
- Update toolbar style
- Start on ui::Popover
Release Notes:
- N/A
2023-11-21 13:49:10 -05:00
Nate Butler
dac7912e87
Start on popover
2023-11-21 12:10:06 -05:00
Marshall Bowers
f4b4bdfd83
ui2: Get component stories compiling again ( #3376 )
...
This PR gets the component stories defined in `ui2` compiling again.
Release Notes:
- N/A
2023-11-21 12:06:25 -05:00
Nate Butler
453aa5ffd7
TextColor
-> Color
2023-11-21 01:05:29 -05:00
Nate Butler
205607a9cd
Clean out UI
2023-11-21 00:44:51 -05:00
Nate Butler
3d66ba35a3
Add ui::Divider component
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-11-10 16:12:32 -05:00
Conrad Irwin
acab2f9003
MODAL
2023-11-07 13:23:27 -07:00
Conrad Irwin
c59817cd72
Merge branch 'main' into editor2-rendering
2023-11-06 11:06:43 -07:00
Nate Butler
1bce5dcc69
Add checkboxes and their stories
2023-11-05 01:06:41 -05:00
Nate Butler
b125cc279f
Simplify toggle, do some reorganization
2023-11-04 11:24:31 -04:00
Marshall Bowers
76db100d11
ui2: Reorganize components ( #3228 )
...
This PR reorganizes the components in the `ui2` crate.
The distinction between "elements" and "components" is now gone, with
all of the reusable components living under `components/`.
The components that we built while prototyping but will eventually live
in other crates currently reside in the `to_extract/` module.
Release Notes:
- N/A
2023-11-03 17:34:11 -04:00
Conrad Irwin
33245d119e
Tooltip on tabs
...
Co-Authored-By: Julia <julia@zed.dev>
2023-11-03 14:02:46 -06: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
Nate Butler
32028fbbb1
Checkpoint – Notifications Panel
2023-10-19 20:04:21 -04:00
Marshall Bowers
349ad7858b
Add placeholder BufferSearch
2023-10-13 17:20:44 -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
d956bd3743
Add RecentProjects
component
2023-10-09 11:47:22 -04:00
Marshall Bowers
100a4731e2
Add ThemeSelector
component
2023-10-09 11:44:08 -04:00
Marshall Bowers
000ae27aff
Add LanguageSelector
component
2023-10-09 11:39:42 -04:00
Marshall Bowers
06b0707aa9
Add MultiBuffer
component
2023-10-09 11:36:09 -04:00
Marshall Bowers
02d32de044
Add Toast
component
2023-10-09 11:31:56 -04:00
Marshall Bowers
333e3e4f01
Add ContextMenu
component
2023-10-09 11:25:33 -04:00
Marshall Bowers
f7721d0523
Add CommandPalette
component
2023-10-09 11:20:10 -04:00
Marshall Bowers
e5473fc51a
Add Palette
component
2023-10-09 11:15:50 -04:00
Marshall Bowers
dc2ddfb42c
Add Keybinding
component
2023-10-09 11:09:44 -04:00
Marshall Bowers
4eeed14d34
Add CollabPanel
component
2023-10-09 11:04:53 -04:00
Marshall Bowers
eb642551ac
Add TitleBar
component and wire up to the workspace
2023-10-07 12:10:39 -04:00
Marshall Bowers
f33d41af63
Add Facepile
and PlayerStack
components
2023-10-07 12:02:42 -04:00
Marshall Bowers
5e7954f152
Add TrafficLights
component
2023-10-07 11:55:10 -04:00
Marshall Bowers
9e79ad5a62
Add ChatPanel
component
2023-10-07 11:50:41 -04:00
Marshall Bowers
ff066ef177
Add EditorPane
component and wire up in the workspace
2023-10-07 11:33:11 -04:00
Marshall Bowers
63e834ce73
Add Toolbar
component
2023-10-07 11:21:09 -04:00
Marshall Bowers
b118e60160
Add Breadcrumb
component
2023-10-07 11:18:06 -04:00
Marshall Bowers
00e8531898
Add TabBar
component
2023-10-07 11:13:54 -04:00
Marshall Bowers
82577b4acc
Add Terminal
component
2023-10-06 18:50:49 -04:00
Marshall Bowers
8db7f7ed37
Add Tab
component
2023-10-06 18:43:25 -04:00
Marshall Bowers
d5ffd4a1fb
Add Pane
and PaneGroup
components
2023-10-06 18:37:28 -04:00
Marshall Bowers
b53579858a
Add StatusBar
component
2023-10-06 18:25:55 -04:00
Marshall Bowers
28d504d7d3
Add WorkspaceElement
component
2023-10-06 18:19:12 -04:00
Marshall Bowers
56c2ac048d
Add ProjectPanel
component
2023-10-06 17:58:23 -04:00
Marshall Bowers
208d5df106
Add Buffer
component
2023-10-06 17:47:10 -04:00
Marshall Bowers
d09f53c380
Add AssistantPanel
component
2023-10-06 17:24:52 -04:00
Marshall Bowers
696aee3891
Add IconButton
component
2023-10-06 17:16:00 -04:00
Marshall Bowers
bcad2f4e9e
Move UI out of storybook2
and into ui2
2023-10-06 17:07:59 -04:00