Improve Zeta rating ergonomics (#21845)

This PR adds keyboard shortcuts to common interactions you might want to
do in the Zeta rating panel.

This PR also adds a way to fake inline completion requests, as well as
the test data used to create this PR, to make it easier to adjust the UI
in the future.

It also changes the status bar from the text "Zeta" to "ζ", because I
thought it looked cool.

Release Notes:

- N/A
This commit is contained in:
Mikayla Maki 2024-12-11 01:57:46 -08:00 committed by GitHub
parent 63e1bf01a4
commit b36dcf3b92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 525 additions and 89 deletions

View file

@ -204,7 +204,7 @@ impl Render for InlineCompletionButton {
}
div().child(
Button::new("zeta", "Zeta")
Button::new("zeta", "ζ")
.label_size(LabelSize::Small)
.on_click(cx.listener(|this, _, cx| {
if let Some(workspace) = this.workspace.upgrade() {