* generic changes from https://github.com/rancher/dashboard/pull/14492/files
* VERY WIP
- move out watch event stuff into own file
- improve typing
- start resolving core unwatch & unwatchIncompatible of side nav cluster watches (not going to store) being seen as incompatible with find cluster action that does go into store
* very wip, vaguely working
* starting to tidy up
* more tidying
* wip - pre-pivot
* maybe...
instead of upfront unwatch with lots of complicated logic... only do it if we hit the issue (i.e. no page entry into page )
* tidying up
* asd
* Remove now uneeded sideNavCache
* big refactor, untested
* tidying up
* tidying
* more tidying
* more tidying
* add some super basic unit tests, fix another
* remove debug logger and last todos
* more unit test fixes
* Fix two bugs, and fix e2e tests
- we don't always have the mgmt cluster, so take this into account
- i've checked all usages of `['management/byId'](MANAGEMENT.CLUSTER`
* more e2e fixes
* Tidying up following review
- more comments
- rename of method to something more sensisble
* Disable support for ssp in side bar and clusters
* wip
* add support for Single Logout for OIDC providers
* enforce endSessionEndpoint field as required
* fix reactiveness on header menu with auth providers + add validation for endSessionEndpoint field as url in oidc auth provider edit interface
* use after save hook to re-fetch auth providers once config options for one has been saved + remove fvValid code and keep isUrl check in validationPassed in oidc edit view
* fix unit test
* reset value of SLO radio input in providers
* fix item 2: All page content should be contained by landmarks
* fix item 4. Elements must only use permitted ARIA attributes
* fix item 6. ARIA attributes must conform to valid values
* fix bug on item 6. and fix item 7. <ul> and <ol> must only directly contain <li>, <script> or <template> elements
* fix item 8. Interactive controls must not be nested
* fix item 10. ARIA toggle fields must have an accessible name
* fix item 11. autocomplete attribute must be used correctly
* fix item 12. Form elements must have labels
* fix item 14. ARIA input fields must have an accessible name
* fix item 15. Buttons must have discernible text
* fix item 16. Images must have alternative text
* working on item 17
* finish fix item 17. ARIA role should be appropriate for the element
* fix wrong role in hidden inputs
* address pr comments
- when we calculate the value of a filter we remove entries that no longer exist
- ensure that this new version of the filter is persisted
- this means whilst on vai supported lists it correctly kicks off a http request
- this also avoids removed namespaces being used in filters if the list changes
Also
- improved some comments
* Add support for vue route and extension init
* Fix lint
* Minor doc fix, fix issue with buttons when scrolled
* Ensure onReady is only called once
* Address PD feedback
* Address more PR feedback - simplify close on action
* Add support for vue route and extension init
* Fix lint
* Ensure onReady is only called once
* Address PD feedback
* Tidy ups
* Add one missing tidy up
* Initial version
* Improve growl integration
* Fix lint issues
* Tidy ups and lint fixes
* Add a maxiumum number of notifications
* Add some notes
* Localisations
* Avoid using general 'actions' class name
* Remove clear all button
* Further fixes
* Remove test code
* Always show a read notification indicator
* Address feedback from walk through
* Add test ids and updated e2e tests, fix lint
* Bump version number to match backend
* Work around version issues
* Fix lint issue
* Fix e2e test
* Fix release notes seen issue breading login landing page
* Update .gitignore
* Remove dev readme file
* Remove todo and tweak comments
* Add simple developer docs, update type comments, bump icon package version number
* Update lock file
* Address PR feedback
* Address PR feedback 2nd round
* Fix lint
* Fix broken import
* PR feedback
* Used partial
* PR review feedback
* Use user id hash in the local storage key
* Encrypt the notifications in local storage
* Remove persist stuff from store
* Fix bug with initialization of the store and release notes
* Bug fix - store encryption key
* Debounce setting of notifications to avoid loop
- tab 1 can fight tab 2 if tab 2 progresses whilst tab 1 processes stale content
---------
Co-authored-by: Richard Cox <ricox@suse.com>
By doing the flagging we can check the pages in slowly without causing disruption, it will also allow us to roll things back if a bug is found last minute. By default we're still showing legacy pages but we will flip that once pages are added.
* port of wip
* asdassad
* Update vai / sql cache based api filtering to match latest changes
* Revert "Pin Rancher version to v2.11-2053ce644a31cd8053d1f58e2487154b0b8513b6-head for e2e tests"
This reverts commit 60f62107e7.
* sdfdsf
* dsfdsf
* asdsad
* fix dynamic hide local cluster changes
* improvements
* aaaa
* Working through todo's/tidys
* Remove debug / tidy up
* resolving todos
* remove some debug
* Tidying up #1
* Make manual refresh and auto-refresh visible on perf setting, disabled by default
* Remove dev stuff
* Fix some e2e tests
* Updated comment
* Wire in resource.changes debounce, clearer label for feature `listAutoRefreshToggle`
* Temporarily disable all watches when vai enable
- remove once rancher/rancher#40773 is resolved, which will then finally fix#12734
* Revert "Temporarily disable all watches when vai enable"
This reverts commit c708f468e4.
* Fix nextResourceVersion
- Ensure it handles resource revisions (in both LIST or individual resources) that are strings
- add unit tests
* Update after review
This adds the `.self` modifier to the namespace keydown event so that the handler only triggers if `event.target` is the element itself. This allows the child input to accept space as an input.
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* fix problem with extra space and scroll on settings banner page
* add v-if to windowmanager + prevent focus on slideInPanelManager close button if there is no slide in panel visible
* remove weird trigger-focus-trap on close button
* address flaky e2e tests
* Create new `useDropdownItem` composable
This composable defines common methods that can be shared across different dropdown menu item types.
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Create new `RcDropdownMenuItemCheckbox` component
`RcDropdownMenuItemCheckbox` specifies the styles and behaviors for a menu items that acts as a checkbox.
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Create a select item dropdown component
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Move container actions into dedicated component
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Toggle container logs actions based on environment
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Fix type for labeledSelect component ref
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Replace trigger mixin data with event.stop
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* Fix typo: LocaleSelector
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
---------
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* add role 'none' to hr elements in TopLevelMenu
* add missing role and label to SideNav
* add aria-label to show/hide button in the Password component
* add role 'none' to hr elements
* add missing alt to user avatar image
This change removes warnings that were printed to the console when hovering over primary navigation items. The `popperOptions` props was removed from floating-vue[^1] and hasn't done anything since we migrated to Vue3.
[^1]: https://floating-vue.starpad.dev/migration/migration-from-v3#removed-props
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
The escape key conflicts with modal editing when working in VIM mode. Using `Shift+Escape` helps to prevent that conflict.
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>