Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-4235

Dynamic home page doesn't support top visited and latest visited cards

Create Doc EPIC for Fe...Prepare for Y ReleasePrepare for Z ReleaseXMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 1.5.0
    • 1.3.0
    • UI
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • RHIDP-4706 - Ability to add a global Floater button
    • Hide
      = Support for top visited and recently visited cards on the customizable home page

      With RHDH 1.5, two new cards are available for the customizable home page:
      - Top Visited Pages Card – Displays the most frequently visited pages.
      - Recently Visited Pages Card – Shows the latest pages accessed.

      These cards track visited pages for each user within their browser and can be configured in the dynamic home page as follows:


      {code}
                    - mountPoint: home.page/cards
                      importName: TopVisitedCard
                      config:
                        layouts:
                          xl: { w: 6, h: 4 }
                          lg: { w: 6, h: 4 }
                          md: { w: 6, h: 4 }
                          sm: { w: 6, h: 4 }
                          xs: { w: 6, h: 4 }
                          xxs: { w: 6, h: 4 }
                    - mountPoint: home.page/cards
                      importName: RecentlyVisitedCard
                      config:
                        layouts:
                          xl: { w: 6, h: 4, x: 6 }
                          lg: { w: 6, h: 4, x: 6 }
                          md: { w: 6, h: 4, x: 6 }
                          sm: { w: 6, h: 4, x: 6 }
                          xs: { w: 6, h: 4, x: 6 }
                          xxs: { w: 6, h: 4, x: 6 }
      {code}
      These additions enhance personalization by providing quick access to frequently and recently visited pages.
      Show
      = Support for top visited and recently visited cards on the customizable home page With RHDH 1.5, two new cards are available for the customizable home page: - Top Visited Pages Card – Displays the most frequently visited pages. - Recently Visited Pages Card – Shows the latest pages accessed. These cards track visited pages for each user within their browser and can be configured in the dynamic home page as follows: {code}               - mountPoint: home.page/cards                 importName: TopVisitedCard                 config:                   layouts:                     xl: { w: 6, h: 4 }                     lg: { w: 6, h: 4 }                     md: { w: 6, h: 4 }                     sm: { w: 6, h: 4 }                     xs: { w: 6, h: 4 }                     xxs: { w: 6, h: 4 }               - mountPoint: home.page/cards                 importName: RecentlyVisitedCard                 config:                   layouts:                     xl: { w: 6, h: 4, x: 6 }                     lg: { w: 6, h: 4, x: 6 }                     md: { w: 6, h: 4, x: 6 }                     sm: { w: 6, h: 4, x: 6 }                     xs: { w: 6, h: 4, x: 6 }                     xxs: { w: 6, h: 4, x: 6 } {code} These additions enhance personalization by providing quick access to frequently and recently visited pages.
    • Enhancement
    • In Progress
    • RHDH F&UI plugins 3263, RHDH F&UI plugins 3264, RHDH F&UI plugins 3266, RHDH F&UI plugins 3269

      Description of problem:

      While the upstream home plugin supports the top visited and latest visited feature, the dynamic home page plugin doesn't support it in 1.3.x.

      It was never official announced or documented, but it would be nice to support all features from the upstream.

      Steps to Reproduce

      1. Setup RHDH with 1.3.0
      2. Configure the home page in your app-config:
      dynamicPlugins:
        frontend:
          janus-idp.backstage-plugin-dynamic-home-page:
            mountPoints:
              - mountPoint: home.page/cards
                importName: TopVisitedCard
              - mountPoint: home.page/cards
                importName: RecentlyVisitedCard
      

      Actual results:

      Both cards shows an error:

      NotImplementedError
      No implementation available for apiRef{homepage.visits}
      

      Expected results:

      Both cards should show the top and recently visited pages from the current user.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      1.3.0

      Additional info (Such as Logs, Screenshots, etc):

      None

              dsantra12 Debsmita Santra
              cjerolim Christoph Jerolimov
              RHIDP - Frontend Plugins & UI
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: