Commit Graph

6 Commits

Author SHA1 Message Date
Alexandre Alves 50e1daccd5
Refactor AssignTo, MoveModal and feature flag modal as prompt modals (#14187)
* 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
2025-05-06 17:34:55 +01:00
Jordon Leach 7e58161982
Initial `$shell` api - add `ModalManager` and `SlideInPanelManager` (#13840)
* Initial $shell internal-api - Add ModalManager and SlideInPanelManager components

* Use Teleport for Modal and SlideIn managers - Add unit tests

Unit test fix

* Add focus trap and tabindex to Modal and SlideIn managers
2025-04-16 15:09:05 -04:00
Alexandre Alves 4af23f6d6a
working on issues reported in the a11y tests (#13609) 2025-04-02 09:57:46 +01:00
Alexandre Alves 340d41031e
SAML SLO support (#11182)
* 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>
2024-08-22 19:16:06 +01:00
Cody Jackson fdf7018b7e Removing the rest of authenticated middleware. Primarily cluster loading. 2024-07-10 11:23:42 -07:00
Cody Jackson 48e1b0b3bb Layout removal
fixes #10059
2024-01-22 06:30:17 -07:00