Skip to content

Conversation

@its-mitesh-kumar
Copy link
Member

@its-mitesh-kumar its-mitesh-kumar commented Jul 24, 2025

Description

Update Homepage wrapper

Fixes

https://issues.redhat.com/browse/RHDHBUGS-1903

UI after changes

Screen.Recording.2025-07-25.at.1.mp4

How to test changes / Special notes to the reviewer

  1. Add Top Visited and Recent Visited Card in homepage by adding below config. You can set custom home page title (visible on the home page) from here.
dynamicPlugins:
  rootDirectory: dynamic-plugins-root
      
  frontend:
    red-hat-developer-hub.backstage-plugin-dynamic-home-page:
      dynamicRoutes:
        - path: /
          importName: DynamicHomePage
          config:
            props:
             title: ''Custom Title"
      mountPoints:
        - mountPoint: application/listener
          importName: VisitListener
        - 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 }
        - 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 }
  1. Set the document title (seen in the browser tab, Recent and Top visited)
app:
  title: Custom Home Page Title From app.title

@openshift-ci openshift-ci bot requested review from dzemanov and invincibleJai July 24, 2025 05:03
@github-actions
Copy link
Contributor

@invincibleJai
Copy link
Member

red-hat-developer-hub.backstage-plugin-dynamic-home-page:
      dynamicRoutes:
        - path: /
          importName: DynamicHomePage
          config:
            props:
              localClock:
                format: time
              title: Welcome to the Cloud Platform!!
              subtitle: "Hello Mitesh {{displayName}}"

I verified this and observed, title was not working for me and still saw welcome back!

image

Signed-off-by: its-mitesh-kumar <[email protected]>
@its-mitesh-kumar
Copy link
Member Author

its-mitesh-kumar commented Jul 25, 2025

Update the PR it's working now. Updating the description with screen recording.

Screen.Recording.2025-07-25.at.1.mp4

/cc @invincibleJai @ciiay

@openshift-ci openshift-ci bot requested a review from ciiay July 25, 2025 07:52
@github-actions
Copy link
Contributor

Copy link
Member

@invincibleJai invincibleJai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

verified the changes works as expected

@openshift-ci
Copy link

openshift-ci bot commented Jul 25, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: invincibleJai

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@invincibleJai
Copy link
Member

/cherry-pick release-1.7

@openshift-cherrypick-robot
Copy link
Contributor

@invincibleJai: once the present PR merges, I will cherry-pick it on top of release-1.7 in a new PR and assign it to you.

In response to this:

/cherry-pick release-1.7

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-merge-bot openshift-merge-bot bot merged commit 3c5cb86 into redhat-developer:main Jul 25, 2025
14 checks passed
@openshift-cherrypick-robot
Copy link
Contributor

@invincibleJai: new pull request created: #3200

In response to this:

/cherry-pick release-1.7

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

chadcrum pushed a commit to chadcrum/rhdh that referenced this pull request Aug 3, 2025
* chore(homepage): update homepage version

Signed-off-by: its-mitesh-kumar <[email protected]>

* updating the version

Signed-off-by: its-mitesh-kumar <[email protected]>

---------

Signed-off-by: its-mitesh-kumar <[email protected]>
guyoron1 pushed a commit to guyoron1/rhdh that referenced this pull request Sep 29, 2025
* chore(homepage): update homepage version

Signed-off-by: its-mitesh-kumar <[email protected]>

* updating the version

Signed-off-by: its-mitesh-kumar <[email protected]>

---------

Signed-off-by: its-mitesh-kumar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants