Skip to content

feat: logout system redesign

Peter Bolha requested to merge xbolha/STR-1276/logout_system_redesign into main

Description

Redesign of the logout page based on the proposed design in Figma adjusted to work with the MUNI framework. Changes:

  • the first page displays a configurable picture to illustrate the proxy logout meaning
  • progress bar is added
  • configurable proxy name is added to the config (display name for logout screens to specify name instead of showing just "proxy")
  • ssp session cookies are deleted after the first screen and are temporarily kept in the flask session instead
  • the service logout uses a checkbox to include all devices instead of a second button
  • the service logout shows only one list if service sessions == device sessions
  • the third screen shows only the loading status - the failed logouts are moved to the last page
  • the last page includes an overview of failed/unknown status logouts and successful logouts (if any category is empty, it is not included in the final screen)
  • "Back to XXX service" button is shown on the last page if a link is available, otherwise, it's hidden

How to test

  • deploy proxyIdP GUI to id-test from the feature branch
  • make sure you're logged in to some service using proxy, e.g. INET or GitLab (you might need to log out and then log back in to make sure the cookie is being passed to the logout page)
  • access the logout page

Author's checklist

  • I have followed the contribution guidelines
  • This MR has been tested or does not change functionality
  • I have added relevant merge request dependencies (if this MR has any)
  • I have added the correct labels
  • I have assigned reviewers (if any are relevant)
  • I have edited the documentation (if the changes require it) or I have noted the need for the change if I do not have access to the documentation
  • I have marked all introduced BREAKING CHANGES or necessary DEPLOYMENT NOTES in the commit message(s)

Reviewer's checklist

  • This MR has been tested or does not change functionality
  • This MR has correct commit message format

Other information

New logout process screenshots: Step 1 - display what is proxy-unified login, let user initiate the logout process Step 2 - log out of services Step 3 - show logout progress - if any services are logging out spinner is shown Step 4 - show which logouts were successful and which failed/have unknown status

Related issues

Closes STR-1276

Merge request reports