Made a few changes to improve the performance of the page. I experienced noticeable lag while editing the paths.
Updated KeyValue to address spacing and protip change requests.
Coalesce all v-select usage into one of three new select, labeled select, and multi-select components.
Additionally this updates the dropdown button component to use the
v-select lib as well.
Formatting on files i've touched.
Add translations where I found them missing in components I touched.
Fixes a lot of bugs related to dropdowns.
refactor vue select
focusing labeled select
update namespace filter to form select
update product switcher to use select
update workspace filter to use select
select should have no default placement otherwise dd is attached to body
combining and cleaning up select styles
header filter styling issues
more style cleanup
no longer need weird z-indexing after fixing dd's
lighten up scrollbar for dropdowns & dark theme
padding cleanup for header dd's
fix workload ports
input with select should use labled select or select if no label
All labeled select components using labels, otherwise select
min width and hide broswer clear button
style cleanup
Default searchable to false unless >= 10 options
rebase fixes
wip new dd button
change button dd to click action instead of nested templates
rebasing issue
close on select
remove button dropdown from keyvalue
wip
remove old button dropdown
more cleanup
fix bug where inline options would recompute
Fix borders for new style
product menu
remove button dropdown from list masthead
new namespace design
fix padding on apps nav
KeyValue:
- If pasted with only one line and doesn't have a ':' or '=' token it will perform a normal paste.
- If pasted in the key column it will replace the current row.
- Performs a normal paste in the value field
ArrayList:
- Only handles pasting when it's single line
- Only shows the default protip if it's single line
rancher/dashboard#1701
- The KeyValue component was adding an initial empty row even when the mode was view so this is now only done when it's not view.
- I also noticed it's possible to have empty binary data so I fixed the download button to download an empty file and prevented it from navigating away from the page
rancher/dashboard#1068