-
Notifications
You must be signed in to change notification settings - Fork 64
RHDHBUGS-3359: Add missing Common icons reference section #2382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release-1.9
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| :_mod-docs-content-type: REFERENCE | ||
|
|
||
| [id="common-icons-for-customization_{context}"] | ||
| = Common icons for customization | ||
|
|
||
| [role="_abstract"] | ||
| When customizing {product-short}, you can use predefined system icon identifiers in various configuration contexts, including global header buttons, quick access cards, quick starts, and navigation menu items. | ||
|
|
||
| The following table lists commonly used icon identifiers available in {product-short}: | ||
|
|
||
| [cols="30%,70%", options="header"] | ||
| |=== | ||
| |Icon identifier | ||
| |Description | ||
|
|
||
| |`add` | ||
| |Plus sign icon, typically used for "Create" or "Add new" actions | ||
|
|
||
| |`bookmarks` | ||
| |Bookmark icon for saved items | ||
|
|
||
| |`catalog` | ||
| |Catalog or list icon | ||
|
|
||
| |`category` | ||
| |Category or organization icon | ||
|
|
||
| |`developerHub` | ||
| |{product-short} logo icon | ||
|
|
||
| |`extension` | ||
| |Extension or plugin icon | ||
|
|
||
| |`favorite` | ||
| |Star icon for favorites or starred items | ||
|
|
||
| |`github` | ||
| |GitHub logo icon | ||
|
|
||
| |`group` | ||
| |Group or team icon | ||
|
|
||
| |`home` | ||
| |Home icon | ||
|
|
||
| |`manageAccounts` | ||
| |User account management icon | ||
|
|
||
| |`school` | ||
| |Education or learning icon | ||
|
|
||
| |`search` | ||
| |Search or magnifying glass icon | ||
| |=== | ||
|
|
||
| [NOTE] | ||
| ==== | ||
| In addition to these predefined icon identifiers, you can use: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it would make sense to also mention Backstage system icons that are available. |
||
|
|
||
| * *Full image URLs*: External image URLs (for example, `https://example.com/icon.png`) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you also add Data encoded URIs?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It would be nice if it could be table with examples as it is here: https://docs.redhat.com/en/documentation/red_hat_developer_hub/1.10/html-single/evaluate_project_health_using_scorecards/index#threshold-icon-component-options or https://docs.redhat.com/en/documentation/red_hat_developer_hub/1.9/html-single/customizing_red_hat_developer_hub/index#customize-quickaccesscard-card-icons-on-the-rhdh-homepage_customize-the-home-page. It would be also good if those tables will be deleted in this PR and instead we just reference this 1 page that will be the source of truth. |
||
| * *SVG paths*: Valid inline SVG markup | ||
| * *Relative paths*: Paths to images in your {product-short} public folder | ||
|
|
||
| For information about extending the internal icon catalog with custom icons, see xref:extend-internal-icon-catalog_front-end-plugin-wiring[]. | ||
| ==== | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add the link for common icons also to scorecard icons section?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think quickstart plugin has also reference to common icons, can you check if it is working and if there are any other non-working common icons references and update them to this reference? Thank you!
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another one: https://docs.redhat.com/en/documentation/red_hat_developer_hub/1.10/html-single/customizing_red_hat_developer_hub/index#configure-the-logo-in-the-global-header_configure-the-global-header-in-rhdh
customizing rhdh section might have more