Skip to content

Conversation

its-mitesh-kumar
Copy link
Member

Description

Adding Localization support for EntityTabs being added from

  1. dynamic-plugins.default.yaml :
            entityTabs:
              - path: /workflows
                title: Workflows
                titleKey: app.entityPage.workflows.title
                mountPoint: entity.page.workflows
  1. defaultTabs.tsx

Which issue(s) does this PR fix

UI after changes

Screen.Recording.2025-10-03.at.6.48.04.PM.mov

How to test changes / Special notes to the reviewer

  • You can mocked up all the defaults tabs and Workflow tabs using below configuration
frontend:
          
    backstage-community.plugin-jfrog-artifactory:
      entityTabs:
        # 1. Overview tab
        - path: /
          title: Overview
          titleKey: app.entityPage.overview.title
          mountPoint: entity.page.image-registry
        # 2. Topology tab  
        - path: /topology
          title: Topology
          titleKey: app.entityPage.topology.title
          mountPoint: entity.page.image-registry
        # 3. Issues tab
        - path: /issues
          title: Issues
          titleKey: app.entityPage.issues.title
          mountPoint: entity.page.image-registry
        # 4. Pull/Merge Requests tab
        - path: /pr
          title: Pull/Merge Requests
          titleKey: app.entityPage.pullRequests.title
          mountPoint: entity.page.image-registry
        # 5. CI tab
        - path: /ci
          title: CI
          titleKey: app.entityPage.ci.title
          mountPoint: entity.page.image-registry
        # 6. CD tab
        - path: /cd
          title: CD
          titleKey: app.entityPage.cd.title
          mountPoint: entity.page.image-registry
        # 7. Kubernetes tab
        - path: /kubernetes
          title: Kubernetes
          titleKey: app.entityPage.kubernetes.title
          mountPoint: entity.page.image-registry
        # 8. Image Registry tab
        - path: /image-registry
          title: Image Registry
          titleKey: app.entityPage.imageRegistry.title
          mountPoint: entity.page.image-registry
        # 9. Monitoring tab
        - path: /monitoring
          title: Monitoring
          titleKey: app.entityPage.monitoring.title
          mountPoint: entity.page.image-registry
        # 10. Lighthouse tab
        - path: /lighthouse
          title: Lighthouse
          titleKey: app.entityPage.lighthouse.title
          mountPoint: entity.page.image-registry
        # 11. API tab
        - path: /api
          title: Api
          titleKey: app.entityPage.api.title
          mountPoint: entity.page.image-registry
        # 12. Dependencies tab
        - path: /dependencies
          title: Dependencies
          titleKey: app.entityPage.dependencies.title
          mountPoint: entity.page.image-registry
        # 13. Docs tab
        - path: /docs
          title: Docs
          titleKey: app.entityPage.docs.title
          mountPoint: entity.page.image-registry
        # 14. Definition tab
        - path: /definition
          title: Definition
          titleKey: app.entityPage.definition.title
          mountPoint: entity.page.image-registry
        # 15. Diagram tab (System)
        - path: /system
          title: Diagram
          titleKey: app.entityPage.diagram.title
          mountPoint: entity.page.image-registry
      mountPoints:
        - mountPoint: entity.page.image-registry/cards
          importName: JfrogArtifactoryPage
          config:
            layout:
              gridColumn: 1 / -1

@openshift-ci openshift-ci bot requested review from davidfestal and josephca October 3, 2025 13:26
@its-mitesh-kumar its-mitesh-kumar changed the title Feat/enitity tabs localization feat(localization): adding localization support for the entityTabs title coming from dynamic-plugins.default.yaml and defaultTabs.tsx Oct 3, 2025
Copy link
Contributor

github-actions bot commented Oct 3, 2025

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

github-actions bot commented Oct 3, 2025

@christoph-jerolimov
Copy link
Member

/retest

Copy link
Member

@christoph-jerolimov christoph-jerolimov left a comment

Choose a reason for hiding this comment

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

Diff looks good but I didn't tested it yet

Copy link
Contributor

github-actions bot commented Oct 3, 2025

@its-mitesh-kumar
Copy link
Member Author

/test e2e-ocp-helm

@christoph-jerolimov
Copy link
Member

/retest

Copy link
Contributor

github-actions bot commented Oct 6, 2025

@its-mitesh-kumar
Copy link
Member Author

/retest

2 similar comments
@its-mitesh-kumar
Copy link
Member Author

/retest

@HusneShabbir
Copy link
Contributor

/retest

@its-mitesh-kumar
Copy link
Member Author

/retest

@its-mitesh-kumar
Copy link
Member Author

/test e2e-ocp-helm

Copy link

You are above your monthly Qodo Merge usage quota. For more information, please visit here.

@invincibleJai
Copy link
Member

/retest

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

/retest

Copy link
Member

@christoph-jerolimov christoph-jerolimov left a comment

Choose a reason for hiding this comment

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

From a good review, this lgtm. 👍

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

@its-mitesh-kumar
Copy link
Member Author

/test e2e-ocp-helm

Copy link

You are above your monthly Qodo Merge usage quota. For more information, please visit here.

@invincibleJai
Copy link
Member

/retest

@invincibleJai
Copy link
Member

/lgtm

Copy link

openshift-ci bot commented Oct 18, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: christoph-jerolimov, debsmita1, 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:
  • OWNERS [christoph-jerolimov,debsmita1,invincibleJai]

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

/retest

Copy link

openshift-ci bot commented Oct 18, 2025

@its-mitesh-kumar: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-ocp-helm f305716 link true /test e2e-ocp-helm

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@invincibleJai
Copy link
Member

/retest

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.

6 participants