Skip to content

Shortcut plugin mig new - #9416

Closed
amitkumar489 wants to merge 23 commits into
backstage:mainfrom
Infosys:shortcut_plugin_mig_new
Closed

amitkumar489 wants to merge 23 commits into
backstage:mainfrom
Infosys:shortcut_plugin_mig_new

Conversation

@amitkumar489

@amitkumar489 amitkumar489 commented Jun 4, 2026 •

Copy link
Copy Markdown

Hey, I just made a Pull Request!

The shortcuts plugin is now fully migrated to BUI with production-ready styling that automatically adapts to light and dark system themes, improved positioning, and modern Backstage UI components. All ESLint checks pass, and the plugin maintains backward compatibility with existing functionality.

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)
  • All your commits have a Signed-off-by line in the message. (more info)
image

Copilot AI review requested due to automatic review settings June 4, 2026 09:52
@amitkumar489
amitkumar489 requested a review from a team as a code owner June 4, 2026 09:52
@amitkumar489
amitkumar489 requested a review from vinzscam June 4, 2026 09:52
@backstage-goalie

backstage-goalie Bot commented Jun 4, 2026 •

Copy link
Copy Markdown
Contributor

Changed Packages

Package Name Package Path Changeset Bump Current Version
@backstage-community/plugin-shortcuts workspaces/shortcuts/plugins/shortcuts minor v0.23.0

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Migrates the shortcuts plugin UI away from Material-UI components/icons to Backstage UI (BUI) components with CSS modules, and updates dependencies accordingly.

Changes:

  • Replaces MUI icons/components with @backstage/ui and @remixicon/react.
  • Re-implements Add/Edit shortcut popovers and form styling using CSS modules + BUI components.
  • Replaces MUI Avatar-based shortcut icon with a CSS-module-backed avatar div and custom contrast calculation.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
workspaces/shortcuts/plugins/shortcuts/src/Shortcuts.tsx Switches the sidebar “Add Shortcuts” icon from MUI to Remixicon.
workspaces/shortcuts/plugins/shortcuts/src/ShortcutItem.tsx Replaces MUI edit button/tooltip styling with BUI components + CSS modules.
workspaces/shortcuts/plugins/shortcuts/src/ShortcutItem.module.css Adds CSS-module hover behavior for showing the edit button.
workspaces/shortcuts/plugins/shortcuts/src/ShortcutIcon.tsx Replaces MUI Avatar with a styled div and manual contrast color computation.
workspaces/shortcuts/plugins/shortcuts/src/ShortcutIcon.module.css Adds CSS-module styles for the new avatar div.
workspaces/shortcuts/plugins/shortcuts/src/ShortcutForm.tsx Migrates form UI to BUI components and custom CSS-module styling.
workspaces/shortcuts/plugins/shortcuts/src/ShortcutForm.module.css Adds CSS-module styles for fields/actions (borders, spacing, dark mode).
workspaces/shortcuts/plugins/shortcuts/src/EditShortcut.tsx Replaces MUI Popover/Card with a custom fixed-position container + click-outside handling.
workspaces/shortcuts/plugins/shortcuts/src/EditShortcut.module.css Adds CSS-module styles for the edit “popover” card/header.
workspaces/shortcuts/plugins/shortcuts/src/AddShortcut.tsx Replaces MUI Popover/Card with a custom fixed-position container + click-outside handling.
workspaces/shortcuts/plugins/shortcuts/src/AddShortcut.module.css Adds CSS-module styles for the add “popover” card/header.
workspaces/shortcuts/plugins/shortcuts/package.json Swaps MUI dependencies for @backstage/ui and @remixicon/react.
workspaces/shortcuts/.changeset/many-poems-tan.md Adds a changeset documenting the BUI migration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings June 16, 2026 09:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 15 out of 15 changed files in this pull request and generated 8 comments.

Copilot AI review requested due to automatic review settings July 3, 2026 08:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 15 out of 15 changed files in this pull request and generated 7 comments.

Copilot AI review requested due to automatic review settings July 8, 2026 10:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 15 out of 17 changed files in this pull request and generated 9 comments.

Comments suppressed due to low confidence (1)

workspaces/shortcuts/plugins/shortcuts/src/ShortcutForm.tsx:94

  • The URL field is marked required: true, but no message is provided. When this validation fails, errors.url.message will be undefined, so the UI renders an empty error area with no feedback. Provide a required message so users know what to fix.
          control={control}
          rules={{
            required: true,
            validate: urlIsUnique,
            ...(allowExternalLinks

Comment thread workspaces/shortcuts/README.md Resolved
Copilot AI review requested due to automatic review settings July 8, 2026 10:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 15 out of 17 changed files in this pull request and generated 7 comments.

Comment thread workspaces/shortcuts/README.md Resolved
Copilot AI review requested due to automatic review settings July 8, 2026 10:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 15 out of 17 changed files in this pull request and generated 10 comments.

Comment thread workspaces/shortcuts/README.md Resolved
@backstage-goalie

Copy link
Copy Markdown
Contributor

Thanks for the contribution!
All commits need to be DCO signed before they are reviewed. Please refer to the the DCO section in CONTRIBUTING.md or the DCO status for more info.

Copilot AI review requested due to automatic review settings July 14, 2026 09:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 15 out of 17 changed files in this pull request and generated 9 comments.

Comment thread workspaces/shortcuts/README.md Resolved
Copilot AI review requested due to automatic review settings July 15, 2026 05:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 14 out of 16 changed files in this pull request and generated 12 comments.

Copilot AI review requested due to automatic review settings July 15, 2026 06:04
Copilot AI review requested due to automatic review settings July 15, 2026 07:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 18 out of 20 changed files in this pull request and generated 6 comments.

Comment thread workspaces/shortcuts/tsconfig.json Resolved
Signed-off-by: amitkumar489 <[email protected]>
Copilot AI review requested due to automatic review settings July 15, 2026 07:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 18 out of 20 changed files in this pull request and generated 12 comments.

Comment thread workspaces/shortcuts/package.json Resolved
Signed-off-by: amitkumar489 <[email protected]>
Copilot AI review requested due to automatic review settings July 15, 2026 08:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 18 out of 20 changed files in this pull request and generated 10 comments.

Comment thread workspaces/shortcuts/package.json Resolved
Signed-off-by: amitkumar489 <[email protected]>
Copilot AI review requested due to automatic review settings July 15, 2026 08:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 18 out of 20 changed files in this pull request and generated 5 comments.

Comment thread workspaces/shortcuts/package.json Resolved
Signed-off-by: amitkumar489 <[email protected]>
Copilot AI review requested due to automatic review settings July 15, 2026 08:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 18 out of 20 changed files in this pull request and generated 9 comments.

Comment thread workspaces/shortcuts/tsconfig.json Resolved
Comment thread workspaces/shortcuts/package.json Resolved
@amitkumar489

Copy link
Copy Markdown
Author

Pls review @vinzscam

@amitkumar489

Copy link
Copy Markdown
Author

@vinzscam pls review

@amitkumar489
amitkumar489 marked this pull request as draft August 11, 2026 10:29
@github-actions

Copy link
Copy Markdown
Contributor

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions github-actions Bot added the stale label Sep 11, 2026
@github-actions github-actions Bot closed this Sep 25, 2026
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