Uploaded image for project: 'Camunda Operate'
  1. Camunda Operate
  2. OPE-1141

Toast message when session is expired

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.26.0, 0.26.0-alpha2
    • Component/s: frontend
    • Labels:
      None

      Description

      Feature description

      When session is expired, redirect user to login page and display a toast message saying the session has expired.

       

      Solution draft

      • Use the notification component from common-ui library.
      • Display this message in a dismissable notification component: 'Session expired'
      • When user clicks the button “login”, even if the timer is not finished, we will get rid of the toast immediately.
      • Whenever a request fails because the session is expired (user action, polling, etc.) we will redirect the user to the login page with the toast message.
      • Common-ui does not support dark theme yet, so we will see light theme of notifications in dark theme for now
      • access https://stage.operate.camunda.cloud/ for the first time, redirect to login without the notification
      • access https://stage.operate.camunda.cloud/#/instances  for the first time, redirect to login with the notification
      • https://stage.operate.camunda.cloud/#/instances - was already logged in, waited long time and session expired, when clicking anything we redirect to login page with the notification

       

      Design representation

        mgm-controller-panel

        This is the controller panel for Smart Panels app

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                michael.schoettes Michael Schoettes
                Reporter:
                husna.uygur Hüsna Uygur
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: