Add icon preview interface#1108
Draft
DenverCoder1 wants to merge 2 commits into
Draft
Conversation
Implements a new Icon Preview Interface and updates the UI to include tabs for separating the upload and preview features. - **UI Updates:** - Adds `Tabs` and `Tab` components in `App.tsx` to separate the Upload Form and Icon Preview Interface into distinct tabs, enhancing the application's navigation and organization. - Updates `App.scss` with styles for the tab interface, ensuring a consistent and visually appealing design across devices with responsive design considerations. - **Icon Preview Interface:** - Introduces a new component `IconPreviewInterface.tsx` that allows users to select an icon source and then displays a list of available icons from that source. - Implements fetching of available icons based on the selected icon source using an API call, dynamically updating the icon selection dropdown. - Provides a preview of the selected icon and displays the badge URL, including a copy-to-clipboard functionality for the badge URL. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/DenverCoder1/custom-icon-badges/pull/1108?shareId=7dbef41a-71d7-41b6-bc6e-3c4271bb472a).
Owner
Author
|
Implements a new Icon Preview Interface and updates the UI to include tabs for separating the upload and preview features.
For more details, open the Copilot Workspace session. |
devlopersabbir
approved these changes
Oct 16, 2024
nareshrajkumar866
approved these changes
May 21, 2025
nareshrajkumar866
approved these changes
May 21, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to #923
Introduces a new Icon Preview Interface to the demo site, enabling users to preview static badges with Octicons and Feather Icons and generate badge URLs with the logo parameter.
IconPreviewInterface.tsx: Implements a new React component for the icon preview interface, allowing users to select an icon from Octicons or Feather Icons, preview the badge, and generate a URL with thelogoparameter.App.tsx: Integrates the newIconPreviewInterfacecomponent into the main app component, enabling its display on the demo site.App.scss: Adds styling for the new icon preview interface component, ensuring it matches the site's aesthetic and provides a user-friendly experience.For more details, open the Copilot Workspace session.