Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1453

Theming broken when autorefresh times out in dark fullscreen mode

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 2.2.0
    • None
    • frontend
    • None

      Reproduce:

      • Goto a dashboard in fullscreen mode
      • enable dark mode
      • enable autorefresh and set it to an interval bigger than the server side session timout
      • wait for the autorefresh to trigger

      Expected:

      • I get redirected to the login page
      • theme is switched to light mode

      Observed:

      • I get redirected to the login page
      • theme is mix of dark and light

        This is the controller panel for Smart Panels app

            [OPT-1453] Theming broken when autorefresh times out in dark fullscreen mode

            It is working now for the case you mentioned, but for the following case, it still breaks:

            • Goto a dashboard in fullscreen mode
            • DO NOT enable dark mode
            • open another optimize page and delete the cookies or wait for the session to timeout
            • Click the toggle button when

            Expected:

            • I get redirected to the login page
            • theme is switched to light mode

            Observed:
            I get redirected to the login page
            theme is mix of dark and light

            Omran Abazeed added a comment - It is working now for the case you mentioned, but for the following case, it still breaks: Goto a dashboard in fullscreen mode DO NOT enable dark mode open another optimize page and delete the cookies or wait for the session to timeout Click the toggle button when Expected: I get redirected to the login page theme is switched to light mode Observed: I get redirected to the login page theme is mix of dark and light

            I could not reproduce it with the session timeout, it only occurred when the page data was actively deleted using the development console. But I found an alternative implementation for this ticket that is simpler and also fixes this

            Sebastian Stamm added a comment - I could not reproduce it with the session timeout, it only occurred when the page data was actively deleted using the development console. But I found an alternative implementation for this ticket that is simpler and also fixes this

              Unassigned Unassigned
              sebastian.stamm Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: