- labelSelector has two primary applicators
- matching utils function
- this should normally NOT be cached and not receive updates over sockets
- this is done by stipulating transient = true
- findLabelSelector
- this should normally be cached and receive updates
- this is done by stipulating transient = false
- when applicable (workload and services detail page) we want live updates whilst we're on the page
- we don't when we leave, so unwatch
- fix and align these two and their usages
- ensure each input (transient) is correct for context
- ensure response is in the correct format and handled correctly
- improved typing
Additionally
- Improve labelling for network policy ingress/egress label selectors
- Replace empty table with 'no details' in cis report detail page's list's sub row
- On services page handle the very weird use case of no visibility on pods
- Fix issue where extension catalog was not showing when refreshing on extension catalog page list
- Fixed an issue where we would ALWAYS show false positive invalid field warning in console
- Bump up default page size from 10k to 100k
- this is for requests we make to the new vai cache outside of pages
- it matches the default they use when proxying requests to target kube cluster
* Test / Wire in new label filtering to limited places
- Wired in to
- Workload detail page - pods and services (broken due to reverse selector)
- Service Detail - Pods List
- Service create/edit - Pod selector tab
- Also
- Fix showPodRestarts in random location
- TODOs
- Lots of testing / validation required
- reverse deployment --> service selector (not services given deployment, but for each service contains pods from deployment)
- workload model usages of pods getter
- services model usages of pods getter
- many many more....
* wired in, NOT tested
* improvement
* sdfdsf
* ryrty
* werer
* The great test off begins
* testing and tidying
* testing and tidying
* First good run
* tests, fixes and improvements
* updates
* Tidying up
* Fixes (namespace orientated), tweaks, updates
* Fix unit test
* Fixes for vai off
* Re-write `matching`
- handle namespaces better (given if the resource is namespaced
- better align with legacy matching fn (given specific scenarios that should return none or all)
* Lots of fixes, but mainly vai off --> pods list --> deployment detail --> pods list updates correctly
* fix lint, unit test
* e2e fix
* Fix weird plugins build validation failure (TS error on expected param for JS method with a default)
* Fix workload services
* changes following mini code review
* Only show pods tab if workload type supports it, always show pod resource table if tab is shown
* refactor catalog install and uninstall extension modals as a prompt modal + add unit tests
* remove todos
* address merge conflicts + revert change to structuredClone + update unit test
* refactor add repos and developer load extension modals as a prompt modal + add unit tests
* fix broken unit test
* remove unused prop
* remove todos
* code cleanup
* refactor AssignTo, MoveModal and feature flag modal as prompt modals + add unit tests + remove store mechanisms that were dedicated to these modals
* fix small issues with FeatureFlagListDialog and MoveNamespaceDialog
* fix merge conflicts + remove code comments
* address merge conflicts + remove text from template
* update AppModal, PromptModal and focusTrap to use only the watcher based focus trap and wire in required props for prompt modals + add unit test for current prompt modals display assertion + minor tweaks to current prompt modals so that they work fine on unit tests
* update PR with recommended changes
* fix lint issue
* push to retry pipelines
* remove unit test variable from promptModal
* remove prop not needed - autoTriggerFocusTrapWatcher
- Remove plusMore from dialogs and use a default one
- Fix double and string in resourceNames
- Fix pods remove dialog
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
* working on key nav for cluster badge appearance
* color input is now key nav friendly + tooltip works on focus + trying to get focus trap to work properly
* remove console logs + add focus trap to card component with prop control + fix element for config badge button
* fix lint problem
* fix TS errors on pkg build
* remove step of building the skeleton app in the check-plugins-build step, which imo doesnt serve any purpose whatsoever
* add focus-trap as a shell dependency + revert publish script change
* remove focus-trap directive + improve chaining event handler modifiers
* pin focus-trap to 7.6.2 + replace link for button on cluster explorer main page + remove unused ev
* address pr comments
Performing this change so the vue3 migration script can modify all @input, @v-model of components without changing plain elements. This will reduce the number of vue3 compiler errors.
* wip
* add logout action according to logic (SAML - logoutAll) + add modal to prompt user to select SLO logout type when logging out of Dashboard
* update authProvidersInfo method to allow for a getter usage in order to make it store reactive
* wip - missing final plumbing for the finalRedirectUrl
* bug fix for non-reactive header logout when auth provider is enabled
* adjust slo UI elements to match expected UI/UX
* minor adjustments + pr cleanup
* cleanup
* handle promise rejection for standard users (apparently they cannot get the schema)
* Updates
- Tweaked text (to be reviewed)
- Removed some code smells
- Ensure rancher logout via modal uses same process as normal logout
- Use async buttons in logout modal
- Add cancel to log out modal
- Fix logout on fail-whale page
* Add error handling (WIP with Andreas, does not currently reach final redirct / verify route)
* Fix check for IS_SLO
* Only allow optional auth provider log out if logged in auth provider
* Fix error message (SLO failures still result in rancher log out)
* check complete slo flow + add special copy when doing a slo logout
* Update shell/dialog/SloDialog.vue
Co-authored-by: Phillip Rak <rak.phillip@gmail.com>
* Update shell/edit/auth/saml.vue
Co-authored-by: Phillip Rak <rak.phillip@gmail.com>
* update syntax from phil pr review
* Fix logout modal on diangostics, about, etc pages that use plain template
* Remove PromptRemove from diagnostic page
- it uses the plain template which now contains it
- caused x2 modals to show
---------
Co-authored-by: Richard Cox <richard.cox@suse.com>
Co-authored-by: Phillip Rak <rak.phillip@gmail.com>
* fixes i18n and small UX
* new layout design for the modal
* enables edit badge from cluster explorer
---------
Signed-off-by: scures <scurescu@suse.com>