Skip to content

Conversation

@lokanandaprabhu
Copy link
Member

Hey, I just made a Pull Request!

This PR introduces a fully configurable "How does it work" instructions section for the Bulk Import plugin, allowing administrators to customize workflow steps through app-config.yaml configuration.

Key Features:

Configurable Steps: Define custom workflow steps with personalized text and icons
Icon Support: Built-in theme-aware icons + custom URL-based icons
Dynamic Layout: Responsive design with horizontal scrolling for many steps (≤6 steps fill width, >6 enable scrolling)
User Preferences: Collapsed/expanded state persisted in localStorage per user

Screenshots

------When 3 steps are configured----
Screenshot 2025-12-31 at 11 16 36 AM


------When 5 steps are configured----

Screenshot 2025-12-31 at 11 16 59 AM

------When 6 steps are configured----

Screenshot 2025-12-31 at 11 17 26 AM

------When icon is not configured----

Screenshot 2025-12-31 at 11 17 49 AM

-------When no steps are configured

image
Screenshot 2025-12-31 at 11 49 22 AM

-----Save user preference

Screen.Recording.2025-12-31.at.11.52.39.AM.mov

✔️ 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)

@rhdh-gh-app
Copy link

rhdh-gh-app bot commented Dec 31, 2025

Important

This PR includes changes that affect public-facing API. Please ensure you are adding/updating documentation for new features or behavior.

Changed Packages

Package Name Package Path Changeset Bump Current Version
@red-hat-developer-hub/backstage-plugin-bulk-import workspaces/bulk-import/plugins/bulk-import minor v6.9.1

Copy link
Contributor

@HusneShabbir HusneShabbir left a comment

Choose a reason for hiding this comment

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

works as expected
/lgtm

Copy link
Member

@debsmita1 debsmita1 left a comment

Choose a reason for hiding this comment

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

Tested this locally

bulkImport:
  instructionsEnabled: true
  instructionsDefaultExpanded: true
  instructionsSteps:
    - id: 'step1'
      text: 'Choose your source control platform'
      icon:
        type: 'builtin'
        source: 'approval-tool' # icon name or URL
    - id: 'step2'
      text: 'Step 2'
      icon:
        type: 'url'
        source: 'https://unpkg.com/[email protected]/24/outline/chat-bubble-left-right.svg' # icon name or URL

Image

* Icon configuration
* @visibility frontend
*/
icon?: {
Copy link
Member

Choose a reason for hiding this comment

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

As of today, we have a way to configure icons https://github.com/redhat-developer/rhdh-plugins/blob/main/workspaces/global-floating-action-button/plugins/global-floating-action-button/src/components/FabIcon.tsx . Could you check if you could use the same logic ? then, it will allow users to use svg and backstage icons as well

@openshift-ci openshift-ci bot removed the lgtm label Jan 12, 2026
@lokanandaprabhu lokanandaprabhu force-pushed the feature/configurable-instructions-section branch from b630b73 to 055d47a Compare January 12, 2026 13:01
@sonarqubecloud
Copy link

Copy link
Member

@debsmita1 debsmita1 left a comment

Choose a reason for hiding this comment

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

Tested the changes

Image

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jan 12, 2026
@lokanandaprabhu lokanandaprabhu merged commit f3fbbee into redhat-developer:main Jan 12, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants