Skip to content

Remove Environments tab and clean up old code (#9237)#240

Open
keithchong wants to merge 1 commit intoredhat-developer:mainfrom
keithchong:9237-CleanupRefactoring
Open

Remove Environments tab and clean up old code (#9237)#240
keithchong wants to merge 1 commit intoredhat-developer:mainfrom
keithchong:9237-CleanupRefactoring

Conversation

@keithchong
Copy link
Copy Markdown
Collaborator

@keithchong keithchong commented May 8, 2026

See GITOPS-9237 for details. Looks like a lot of changes, but it's actually small because of refactoring

Here is the summary of the changes

  1. Removed old code related to the old Environments page. This was in the src/components folder
  • However, there is some that we still use / can use. They are 'plugin' related so I renamed the folder to plugin. This includes the code to set the flag, and tech preview badge (removed the DP badge)
  • There is a status/icons.tsx file that I want to clean up separately, since it should really belong in the gitops folder and not this new plugin folder
  • The Rollouts topology view support was in the src/components folder, so I simply moved it to the src/gitops folder and adjusted the references
  1. Reran i18n to update the translation files to remove unused strings
  2. There was inadvertant duplicate ExternalLink, so I got rid of one and updated the reference. (Safe, code change here). There should be the external link icon whenever there is a link to the external site. Now, all links have that icon.
  3. package.json changes. There is an exposedModules section which was replaced by plugin-metadata.ts which is referenced by webpack.config.ts. I cleaned this up so we just use the latter. Tested this out, so the exposed modules are indeed exposed. Any modules that were reference code that was deleted was also removed.
  4. console-extensions.yaml - removed the extensions that no longer apply since we are removing the environments page

Signed-off-by: Keith Chong <kykchong@redhat.com>
@keithchong keithchong requested a review from aali309 May 8, 2026 20:28
@aali309
Copy link
Copy Markdown
Collaborator

aali309 commented May 9, 2026

Screenshot 2026-05-09 at 5 39 03 PM Clicking the "Add to favorites" button looks broken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants