ZIm/crates/ui/src
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
..
components Add note about used context in the model selector (#15235) 2024-07-26 12:48:06 -03:00
styles ui: Make Label respect the ui_font_weight setting (#15241) 2024-07-25 21:08:28 -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 settings_ui: Add UI and buffer font weight controls (#15104) 2024-07-24 14:09:13 -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