Uploaded image for project: 'Red Hat Advanced Cluster Security'
  1. Red Hat Advanced Cluster Security
  2. ROX-30700

MainPage double renders cause duplicate page view telemetry events

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • None
    • UI
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • Rox Sprint 4.9H - Global

      When visiting the following pages, the <MainPage> component renders twice and triggers two page view events:

      1. VM -> Exception Management
      2. VM -> Vuln Reporting
      3. Platform Conf -> Policy Management
      4. Platform Conf -> Access Control

      (Note the above list may not be exhaustive.)

      We should either:

      • fix the re-renders
      • change the logic so that the pageview event is triggered in some other way (URL diff?)
      • both

      In addition, it might be beneficial to build a small e2e test helper that can be added for new pages to verify that only a single event is reported. See https://github.com/stackrox/stackrox/pull/16536 for more information.

              rh-ee-dvail David Vail
              rh-ee-dvail David Vail
              ACS UI
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: