ZIm/crates/ui/src
Nate Butler fa3d29087d
Add REPL dropdown menu to toolbar (#14493)
TODO: 


- [x] Actions run from menu not firing
- [x] Menu differentiates idle and busy for running kernel

Menu States:
- [x] No session && no support known

No session && no kernel installed for languages of known support
- (TODO after) Intro to REPL
- [x] Link to docs

No session but can start one
- [x] Start REPL
- (TODO after) More info -> Docs?

Yes Session

- [x] Info: Kernel name, language
  example: chatlab-3.7-adsf87fsa (Python)
  example: condapy-3.7 (Python)
- [x] Change Kernel -> https://zed.dev/docs/repl#change-kernel
- ---
- [x] Run
- [x] Interrupt
- [x] Clear Outputs
- ---
- [x] Shutdown


(Release notes left empty as the change will be documented in the REPL
release!)

Reserved for a follow on PR:

```
- [ ] Status should update when the menu is open (missing `cx.notify`?)
- [ ] Shutdown all kernels action
- [ ] Restart action
- [ ] [Default kernel changed - restart (this kernel) to apply] // todo!(kyle): need some kind of state thing that says if this has happened
```


Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Co-authored-by: Kyle Kelley <rgbkrk@gmail.com>
Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
2024-07-15 11:55:49 -07:00
..
components Add REPL dropdown menu to toolbar (#14493) 2024-07-15 11:55:49 -07:00
styles Improve experience when themes provide transparent status colors (#13996) 2024-07-09 11:27:47 -04:00
utils Bring Jupyter to Zed Editing (#12062) 2024-06-17 10:02:31 -07:00
clickable.rs Prompt Library Refinements (#13470) 2024-06-25 11:43:30 -04:00
components.rs ui: Add NumericStepper component (#13954) 2024-07-08 18:45:49 -04:00
disableable.rs Fix possessive "its" in docs and comments (#3998) 2024-01-10 10:09:48 -05:00
fixed.rs Document ui crate traits 2024-01-09 14:15:25 -05:00
prelude.rs Add Tool Strip (#11756) 2024-05-13 17:58:08 -04:00
selectable.rs Add UI setting components (#13550) 2024-06-26 13:02:58 -04:00
styled_ext.rs Improve experience when themes provide transparent status colors (#13996) 2024-07-09 11:27:47 -04:00
styles.rs Improve experience when themes provide transparent status colors (#13996) 2024-07-09 11:27:47 -04:00
ui.rs Add WithRemSize element (#11928) 2024-05-16 14:37:55 -04:00
utils.rs Document UI modules 2024-01-09 12:57:12 -05:00
visible_on_hover.rs Remove 2 suffix for ui, storybook, text 2024-01-03 12:33:51 -08:00
with_rem_size.rs ui: Don't break flex layout when using WithRemSize (#12076) 2024-05-20 21:39:18 -04:00