Commit Graph
80 Commits
Author SHA1 Message Date
Nate Butler db85834ef5 Fix toast contents not filling container 2023-10-13 11:46:48 -04:00
Nate ButlerandMarshall Bowers 6df4c0fdec 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 ButlerandMarshall Bowers bc94f0bef4 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 3e1065baa7 Update NotificationToast implementation and use in Workspace component 2023-10-13 10:35:30 -04:00
Nate Butler ac2fbc3aa9 Refactor NotificationToast structure to include primary and secondary actions 2023-10-13 10:20:26 -04:00
Nate Butler 7da092eb3f Add notification toast component and remove ToastVariant from toast.rs 2023-10-13 10:05:50 -04:00
Marshall Bowers d94c9f8e6c Restore elevation docs 2023-10-12 18:18:44 -04:00
Marshall Bowers 0bf430cb42 Restore click events on Buttons using on_mouse_down 2023-10-12 16:56:48 -04:00
Marshall Bowers 283621b099 Use Workspace::view to construct the view 2023-10-12 16:52:32 -04:00
Marshall Bowers d415df92f3 Remove global WorkspaceState 2023-10-12 16:23:10 -04:00
Marshall Bowers 8a345090f3 Fix toggling of left panel 2023-10-12 16:12:09 -04:00
Marshall Bowers dae6dd992b Render stories as Views 2023-10-12 16:06:54 -04:00
Marshall Bowers 05c9edfc05 Remove hacky children 2023-10-12 15:50:09 -04:00
Marshall Bowers 1febf92edf Use new children approach for Toolbar 2023-10-12 15:47:26 -04:00
Marshall Bowers 0deca06e79 Use new children approach for Panes and Toasts 2023-10-12 15:37:50 -04:00
Nathan Sobo 6460abd29c Checkpoint 2023-10-12 13:27:46 -06:00
Antonio Scandurra 9e2c9c5e01 WIP 2023-10-12 19:40:13 +02:00
Antonio Scandurra 85ba3151ee WIP 2023-10-12 19:30:00 +02:00
Marshall Bowers 3626f12a9e Checkpoint 2023-10-12 12:18:35 -04:00
Marshall Bowers 59125451d8 Temporarily disable click handlers 2023-10-12 10:44:11 -04:00
Marshall Bowers 0e06630ea3 Reconcile with upstream changes 2023-10-12 10:40:47 -04:00
Marshall Bowers 0e2dea8e9a Merge branch 'gpui2' into gpui2-ui 2023-10-12 10:27:43 -04:00
Nate Butler b15f2f24eb Refine project panel, list item 2023-10-11 19:15:27 -04:00
Marshall Bowers 226ee29d6b Hook up assistant panel 2023-10-11 12:38:06 -04:00
Marshall Bowers eec4f7d283 Simplify state interactions 2023-10-11 12:32:05 -04:00
Marshall Bowers 650831569e Merge branch 'gpui2-ui' of github.com:zed-industries/zed into gpui2-ui 2023-10-11 12:24:34 -04:00
Marshall Bowers 88dbb55840 Add support for switching between the project and collab panels 2023-10-11 12:24:33 -04:00
Nate Butler 1dea2c5ccd Refine project panel, list 2023-10-11 12:22:24 -04:00
Marshall Bowers 09baf395a0 Push language selector handler down into StatusBar 2023-10-11 12:11:22 -04:00
Marshall Bowers d51ef067d4 Adjust icon color based on whether the various components are open 2023-10-11 12:09:08 -04:00
Marshall Bowers fa991ae7a1 Add ability to toggle the terminal 2023-10-11 12:01:17 -04:00
Marshall Bowers 65413eaa02 Wire up toggling of project and chat panels 2023-10-10 18:35:20 -04:00
Marshall Bowers 0f2f120de9 Add working toggle for LanguageSelector 2023-10-10 18:21:44 -04:00
Marshall Bowers 74204ed2ce Thread click handler through from workspace to language selector 2023-10-10 18:02:08 -04:00
Marshall Bowers 16ffb01de3 Add click handlers to some of the buttons in the StatusBar 2023-10-10 17:26:53 -04:00
Marshall Bowers 167b5ac941 Add on_click to IconButton 2023-10-10 17:26:33 -04:00
Marshall Bowers d24f58abb3 Wire up click handlers on Buttons 2023-10-10 17:19:18 -04:00
Marshall Bowers 1f2473ea64 Colocate element stories with their elements 2023-10-10 16:00:04 -04:00
Marshall Bowers 23ba6e2c82 Colocate component stories with their components 2023-10-10 15:52:58 -04:00
Marshall Bowers 3ccdcdcddc Add an example of colocating a story for a UI component with its definition 2023-10-10 15:30:16 -04:00
Marshall Bowers dc85425fc2 Comment out overridden widths 2023-10-10 15:17:44 -04:00
Marshall Bowers 724694cba3 Re-enable hover styles 2023-10-10 11:48:25 -04:00
Marshall Bowers d32434779c Add note about CSS hack 2023-10-09 13:39:08 -04:00
Marshall Bowers b604b9ff5b Add a Toast in the bottom-right corner 2023-10-09 13:32:19 -04:00
Marshall Bowers 25ea57bcaf Add div.z_index 2023-10-09 13:19:32 -04:00
Marshall Bowers 0e25444808 Use command modifier for example keybindings in CommandPalette 2023-10-09 12:51:57 -04:00
Marshall Bowers c651d61b78 Add strikethrough support back to Label 2023-10-09 12:33:52 -04:00
Marshall Bowers b9f493c8e5 Add back negative margins, now that they're supported again 2023-10-09 12:33:30 -04:00
Marshall Bowers 5fc40d5514 Add Details component 2023-10-09 11:55:27 -04:00
Marshall Bowers 18e3610263 Add RecentProjects component 2023-10-09 11:47:22 -04:00