Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-24753

Subscriptions (Watch) GUI routing

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • No
    • Plat-Ex Sprint 59

      Moving the Subscription (Watch/Curiosity) GUI from prod-beta to prod-stable correlates with the UI not being able to navigate between product views.

      To recreate in prod-stable

      • Navigating between RHEL <-> OpenShift the views update
      • Navigating between RHEL <-> Satellite the views do no update
        • Hitting refresh once you've navigated updates the product correctly

      Acceptable outcomes

      • Determine diffs between prod-beta /prod-stable that are preventing Subs from migrating would be helpful but not necessarily required
        • If this is something that will simply be resolved by chrome migrating from beta to prod-stable Subs is willing to wait within a reasonable timeframe, end of the month.
      • A patch Subs can implement

       

      Assumptions and questions

      • Prod-beta for Subs GUI works as intended, and includes the Subs v6+ routing updates. This included, primary PR 989 
        • Removed the platform navigation callback originally used to help force reloads
        • Narrowed routes down to 2. Subs now uses a route parameter and a missing product view
        • An aspect of Redux is used to help drive our product context now. The React router move forced a change from the original implementation
        • Updated React routing package to latest.
      • Using proxy to debug routing issues now appears deceptive. We had to push code to actually see actual behavior in environment. We determined during this work that routing updates now have be pushed, temporarily, to see actual behavior. Alternatives include running in ephemeral
      • Issues Subs considered
        • routing package mismatch. Subs is using `v6.8.1` in prod-beta
          • some aspect of wrapping the v6+ React routing packages useLocation, or another hook could be causing a route update issue if an earlier versions of the package is used
        • the behavior of not updating views, for Subs, was originally created by not having the platform navigation callback `insights.chrome.on('APP_NAVIGATION', [callback])`

            mmarosi123 Martin Marosi
            cdcabrera Charles Cabrera
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: