ZIm/crates/ui/src/components
Danilo Leal 5e04753d1c
Add note about used context in the model selector (#15235)
When pressing <kbd>control</kbd> + <kbd>enter</kbd>, the AI-powered
inline transformation input displays an icon button and a token count,
which should show roughly the same numbers you'd see on your assistant
panel. At a first glance, though, the token count not being zero can be
confusing, where you'd wonder where that's coming from. That's because
the inline input uses whatever piece of context and/or information of
the currently selected assistant tab to suggest more accurate edits.

So, this PR introduces an informative piece of text to the
`ModelSelector` menu, on the inline transformation input, which delivers
exactly this bit of info, aimed at clarifying the connection between
these two methods of interacting with LLMs.

I've also took the opportunity to change the icon button's icon to one
that's a bit easier to see, still representing the affordance of "click
to configure something".

Release Notes:

- Add note about how inline edits consume context from the assistant
panel to clarify interaction with LLMs.

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
2024-07-26 12:48:06 -03:00
..
avatar Make border methods always require an explicit width (#11450) 2024-05-06 13:22:47 -04:00
button Add REPL dropdown menu to toolbar (#14493) 2024-07-15 11:55:49 -07:00
checkbox Make border methods always require an explicit width (#11450) 2024-05-06 13:22:47 -04:00
label ui: Make Label respect the ui_font_weight setting (#15241) 2024-07-25 21:08:28 -04:00
list Adjust model selector popover design (#15056) 2024-07-24 12:24:54 +02:00
stories settings_ui: Add UI and buffer font weight controls (#15104) 2024-07-24 14:09:13 -04:00
avatar.rs Add dedicated indicator for showing a muted call participant (#4076) 2024-01-16 16:18:06 -05:00
button.rs Remove 2 suffix for ui, storybook, text 2024-01-03 12:33:51 -08:00
checkbox.rs Add CheckboxWithLabel component (#7881) 2024-02-15 21:00:30 -05:00
context_menu.rs ui: Make custom rows in ContextMenus use a normal cursor (#15239) 2024-07-25 20:16:53 -04:00
disclosure.rs Prompt Library Refinements (#13470) 2024-06-25 11:43:30 -04:00
divider.rs Clean up references in doc comments in ui and theme crates (#3985) 2024-01-09 15:22:36 -05:00
dropdown_menu.rs Make context and dropdown menus scrollable (#15127) 2024-07-24 18:43:01 -04:00
facepile.rs gpui: Make style macros more composable (#14007) 2024-07-09 13:52:52 -04:00
icon.rs Add note about used context in the model selector (#15235) 2024-07-26 12:48:06 -03:00
indicator.rs Clean up Indicator (#11275) 2024-05-01 18:10:35 -04:00
keybinding.rs keymap: Allow modifiers as keys (#12047) 2024-06-25 10:17:23 -06:00
label.rs Remove 2 suffix for ui, storybook, text 2024-01-03 12:33:51 -08:00
list.rs Remove 2 suffix for ui, storybook, text 2024-01-03 12:33:51 -08:00
modal.rs Allow ssh connection for setting up zed (#12063) 2024-05-21 22:39:16 -06:00
numeric_stepper.rs settings_ui: Add theme settings controls (#15115) 2024-07-24 16:25:52 -04:00
popover.rs Revert "Fix aside affecting parent popover height (#11859)" (#11942) 2024-05-16 18:53:08 -04:00
popover_menu.rs settings_ui: Add theme settings controls (#15115) 2024-07-24 16:25:52 -04:00
radio.rs Allow ssh connection for setting up zed (#12063) 2024-05-21 22:39:16 -06:00
right_click_menu.rs gpui: Pass Style by value to request_layout (#11597) 2024-05-09 11:38:53 +02:00
setting.rs Prefer .map for conditionals with else conditions (#15118) 2024-07-24 17:09:07 -04:00
settings_container.rs settings_ui: Add UI and buffer font weight controls (#15104) 2024-07-24 14:09:13 -04:00
settings_group.rs settings_ui: Add UI and buffer font weight controls (#15104) 2024-07-24 14:09:13 -04:00
stack.rs Rename h_stack and v_stack to h_flex and v_flex, respectively (#4053) 2024-01-15 11:34:06 -05:00
stories.rs Extract title_bar crate (#13597) 2024-06-27 19:14:13 -04:00
tab.rs ui: Remove absolute positioning for tab slots (#14836) 2024-07-19 15:11:27 -04:00
tab_bar.rs Introduce a new markdown crate (#11556) 2024-05-09 11:03:33 +02:00
tool_strip.rs Add Tool Strip (#11756) 2024-05-13 17:58:08 -04:00
tooltip.rs Allow UI font weight to be assigned in settings (#12333) 2024-05-26 23:06:58 -06:00