Explore: Create menu for short link button (#77336)

* WIP first pass

* Change to toolbarbutton/buttonselect pattern

* Move to two toolbarbuttons with dropdown

* Justify text to the right of icons

* Fix betterer

* Fix styling and tests

* Add to docs

* Perist last clicked, add translations

* move styling to core component

* use label for tooltip, let parser combine panes in multiple params

* Explore: Panes encoding suggestions (#78210)

panes encoding suggestions

* WIP-add menu groups

* Get group actions working

* add icons and non-local last selected state

* Fix translations after merge

* Add categories to translation, tweak the verbiage

* Fix translation extraction

* Fix tests

* fix translation conflict

* Log if time is absolute

---------

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
This commit is contained in:
Kristina
2023-12-12 09:55:03 -06:00
committed by GitHub
parent 117ecf0403
commit bc8ad7b6e5
13 changed files with 244 additions and 25 deletions

View File

@@ -527,7 +527,13 @@
},
"toolbar": {
"aria-label": "Explore toolbar",
"copy-shortened-link": "Copy shortened link",
"copy-link": "Copy URL",
"copy-link-abs-time": "Copy absolute URL",
"copy-links-absolute-category": "Time-sync URL links (share with time range intact)",
"copy-links-normal-category": "Normal URL links",
"copy-shortened-link": "Copy shortened URL",
"copy-shortened-link-abs-time": "Copy absolute shortened URL",
"copy-shortened-link-menu": "Open shortened link menu",
"refresh-picker-cancel": "Cancel",
"refresh-picker-run": "Run query",
"split-close": "Close",