Commit Graph
9464 Commits
Author SHA1 Message Date
Nate Butler 7275ecf4e4 Simplify static panes for now 2023-10-16 13:07:15 -04:00
Marshall Bowers 8aae6d8c06 Add state to BufferSearch 2023-10-13 17:44:21 -04:00
Marshall Bowers 6a5e03777a Add rudimentary UI for BufferSearch 2023-10-13 17:36:27 -04:00
Marshall Bowers f4a369ebe1 Add placeholder BufferSearch 2023-10-13 17:20:44 -04:00
Marshall Bowers 3ed2aca34b Wire up buffer search toggle for EditorPane 2023-10-13 17:14:09 -04:00
Marshall Bowers 8682453432 Wire up call controls in the TitleBar 2023-10-13 12:46:35 -04:00
Marshall Bowers 825a5847d3 Change TitleBar to a view 2023-10-13 12:21:51 -04:00
Nate Butler 609b5cf032 Refactor button rendering to use ThemeColor instead of direct theme calls 2023-10-13 11:47:13 -04:00
Nate Butler e3f0686725 Add example NotificationToast to workspace 2023-10-13 11:47:05 -04:00
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 65db5f3d09 Merge branch 'main' into gpui2 2023-10-12 17:43:05 -04:00
Marshall Bowers 2270279119 Remove old ui and storybook crates (#3125)
This PR deletes the old `ui` and `storybook` crates in favor of their
newer variants that we'll be landing to `main` in the near future.

### Motivation

These crates are based off the old version of GPUI 2 (the `gpui2`
crate).

At this point we have since transitioned to the new version of GPUI 2
(the `gpui3` crate, currently still on the `gpui2` branch).

Having both copies around is confusing, so the old ones are going the
way of the dinosaurs.

Release Notes:

- N/A
2023-10-12 17:40:20 -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 4e13532e95 Hold the story view in the StoryWrapper 2023-10-12 16:11:59 -04:00
Marshall Bowers dae6dd992b Render stories as Views 2023-10-12 16:06:54 -04:00
Marshall Bowers eaea42087f Remove debug logging in Element derive macro 2023-10-12 15:52:42 -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
Max Brunsfeld 7d5430ab5c Mark channel notes as disconnected immediately upon explicitly signing out 2023-10-12 12:39:02 -07:00
Max Brunsfeld f40f6d70c6 Replace disconnected channel notes views when re-opening the notes 2023-10-12 12:38:23 -07: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
Max Brunsfeld 2a3951e49d Exclude disconnected channel views from following messages 2023-10-12 11:55:39 -07: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 7fc9702dad Checkpoint: Back to a compiling state 2023-10-12 12:22:23 -04:00
Marshall Bowers 3626f12a9e Checkpoint 2023-10-12 12:18:35 -04:00
Marshall Bowers 70b3f0c340 Fix issues in storybook2 2023-10-12 10:44:18 -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 8586922582 Fix some merge errors 2023-10-12 10:27:50 -04:00
Marshall Bowers 0e2dea8e9a Merge branch 'gpui2' into gpui2-ui 2023-10-12 10:27:43 -04:00
Kirill Bulatov 2c9ee7814d Add prettier support (#3122) 2023-10-12 17:13:10 +03:00
Kirill Bulatov fb44db5303 Fix license issue 2023-10-12 16:26:28 +03:00
Kirill Bulatov 249fea65c8 Revert unnecessary style changes 2023-10-12 16:17:41 +03:00
Antonio Scandurra e51c815580 Checkpoint 2023-10-12 14:58:31 +02:00
Kirill Bulatov 1fe640e35e Fix tailwind prettier plugin discovery 2023-10-12 15:58:00 +03:00
Antonio Scandurra fd1ca7e5f3 Checkpoint 2023-10-12 14:49:06 +02:00
Kirill Bulatov 31cb6e46be Make all formatting to happen on the client's buffers, as needed 2023-10-12 15:29:57 +03:00
Kirill Bulatov 222bb37da6 Add more tests 2023-10-12 15:14:51 +03:00
Antonio Scandurra b912e821b2 Checkpoint 2023-10-12 13:25:49 +02:00