assistant: Add the "create your command" item (#16467)

This PR adds an extra item to the slash command picker that links users to the doc that teaches how to create a custom one.

Release Notes:

- N/A

---------

Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com>
This commit is contained in:
Piotr Osiewicz 2024-08-19 17:29:16 +02:00 committed by GitHub
parent 0bea4d5fa6
commit bac8e81e73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 144 additions and 30 deletions

View file

@ -524,7 +524,7 @@ impl<D: PickerDelegate> Picker<D> {
picker
.border_color(cx.theme().colors().border_variant)
.border_b_1()
.pb(px(-1.0))
.py(px(-1.0))
},
)
}