Skip to content

[PLAY-2175] Playbook Website: Add Icons to New Icon Page Dynamically #4778

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

Merged
merged 3 commits into from
Jun 26, 2025

Conversation

ElisaShapiro
Copy link
Contributor

@ElisaShapiro ElisaShapiro commented Jun 17, 2025

What does this PR do? A clear and concise description with your runway ticket url.
PLAY-2175 updates the newly added Icon Page from PLAY-1448 at ../playbook_icons to get its Icon + Category information from the playbook-icons repo dynamically with a script.

The script extracts each icon's name and category, serializes it into JSON, and writes it to app/assets/icons.json. The controller parses icon.json, groups icons by category, and passes it to the view. The script runs whenever yarn install is run (locally/in CI).

Screenshots: Screenshots to visualize your addition/change
desktop mode

How to test? Steps to confirm the desired behavior:

  1. Go to the /playbook_icons endpoint in review env and see Icon page with all icons sorted into categories and alphabetical within those categories.

Checklist:

  • LABELS Add a label: enhancement, bug, improvement, new kit, deprecated, or breaking. See Changelog & Labels for details.
  • DEPLOY I have added the milano label to show I'm ready for a review.
    - [ ] TESTS I have added test coverage to my code.
  • SEMVER I have added a minor, major, or patch label for release.
  • RC I have added an inactive RC label if not an active RC.

@ElisaShapiro ElisaShapiro self-assigned this Jun 17, 2025
@ElisaShapiro ElisaShapiro added milano 20 MAX - Deploy this PR to a review environment via Milano improvement This is used when your PR contains library upgrades or doc/site improvements. (USED IN CHANGELOG)) minor Semver Target Inactive RC Skip the release candidate process labels Jun 17, 2025
@ElisaShapiro ElisaShapiro marked this pull request as ready for review June 17, 2025 18:31
@ElisaShapiro ElisaShapiro requested review from a team as code owners June 17, 2025 18:31
@ElisaShapiro ElisaShapiro merged commit d39908b into master Jun 26, 2025
7 checks passed
@ElisaShapiro ElisaShapiro deleted the PLAY-2175-add-playbook-icons-to-icon-page branch June 26, 2025 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement This is used when your PR contains library upgrades or doc/site improvements. (USED IN CHANGELOG)) Inactive RC Skip the release candidate process milano 20 MAX - Deploy this PR to a review environment via Milano minor Semver Target
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants