8000 [MWPW-159581] Federal icons by robert-bogos · Pull Request #3797 · adobecom/milo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[MWPW-159581] Federal icons #3797

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

Open
wants to merge 14 commits into
base: stage
Choose a base branch
from
Open

[MWPW-159581] Federal icons #3797

wants to merge 14 commits into from

Conversation

robert-bogos
Copy link
Contributor
@robert-bogos robert-bogos commented Mar 10, 2025

Description

Key points from this PR:

Centralized Icon Repository: A new /assets/icons/svgs directory was added to the /federal/ repo, allowing multiple sites (Milo and others) to use the same set of icons. All icons currently available are listed here /icons/icons.json

Consistent Authoring Notation: Authors will continue to use the current notation, such as :icon-play:, to insert icons into content. This ensures a seamless transition with no change in authoring experience.

Source Change: Icons will no longer be served from the Milo code-bus. Instead, they will be fetched from the federal repository. Only when an icon is not found on federal, it will fall back to fetching from the Milo code-bus.

Author Contributions: This new system enables authors to contribute and expand the icon set by adding new icons to the centralized repository, a feature that was previously unavailable.

Sidekick library: The Sidekick plugin library was updated to reflect the changes above and a search field was added to improve authoring accessibility on the icons tab.

Related Issue

Resolves: MWPW-159581

Testing instructions

  • open the test pages and check for all icons to be rendered;
  • open the sidekick library page and check the functionality for the icons tab;

Test URLs

Sidekick library:

Acrobat:

Express:

BACOM:

CC:

Homepage:

Blog:

Milo:

GNav Test URLs

Gnav + Footer + Region Picker modal:

Thin Gnav + ThinFooter + Region Picker dropup:

Localnav + Promo:

Sticky Branch Banner:

Inline Branch Banner:

Blog

RTL Locale

@robert-bogos robert-bogos requested a review from a team March 10, 2025 16:21
@robert-bogos robert-bogos self-assigned this Mar 10, 2025
Copy link
Contributor
aem-code-sync bot commented Mar 10, 2025

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

Copy link
Contributor

This pull request is not passing all required checks. Please see this discussion for information on how to get all checks passing. Inconsistent checks can be manually retried. If a test absolutely can not pass for a good reason, please add a comment with an explanation to the PR.

@rgclayton
Copy link
Contributor

Nit. For the consumer pages listed it would be more helpful to see a page with the new icons on them. That would make it more quick to verify if there is a problem or not for consumers.

I went ahead and created some sample pages for:

The federated icons are looking good on those two pages.

Copy link
Contributor
@vhargrave vhargrave left a comment

Choose a reason for hiding this comment

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

I tested two pages where we had csos in the past and they seem to be good! 🚀
https://main--dc--adobecom.aem.live/acrobat/acrobat-pro?martech=off&milolibs=federal-icons
https://main--cc--adobecom.aem.page/drafts/ramuntea/table-with-tooltip?martech=off&milolibs=federal-icons

In general I think you've done it. Just need to fix a few small things, and then we're over the finish line so amazing job!!

The biggest thing I saw that needs to be fixed though is:
Georouting seems to be off if there are tabs.
https://main--cc--adobecom.aem.page/drafts/ramuntea/table-with-tooltip?martech=off&milolibs=federal-icons&akamaiLocale=CH

@robert-bogos
Copy link
Contributor Author

I tested two pages where we had csos in the past and they seem to be good! 🚀 https://main--dc--adobecom.aem.live/acrobat/acrobat-pro?martech=off&milolibs=federal-icons https://main--cc--adobecom.aem.page/drafts/ramuntea/table-with-tooltip?martech=off&milolibs=federal-icons

In general I think you've done it. Just need to fix a few small things, and then we're over the finish line so amazing job!!

The biggest thing I saw that needs to be fixed though is: Georouting seems to be off if there are tabs. https://main--cc--adobecom.aem.page/drafts/ramuntea/table-with-tooltip?martech=off&milolibs=federal-icons&akamaiLocale=CH

Fixed the Georouting icon thing. Thanks for pointing out!

@robert-bogos robert-bogos requested a review from vhargrave March 19, 2025 09:17
Copy link
Contributor
@vhargrave vhargrave left a comment

Choose a reason for hiding this comment

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

Last big I can see is that the icons request is getting called a lot, when there multiple exception cases. It would probably be ideal if this was only one icon's call.
image

Copy link
Contributor
@mokimo mokimo left a comment

Choose a reason for hiding this comment

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

Let's break down this huge function

Copy link
Contributor

This PR has not been updated recently and will be closed in 7 days if no action is taken. Please ensure all checks are passing, https://github.com/orgs/adobecom/discussions/997 provides instructions. If the PR is ready to be merged, please mark it with the "Ready for Stage" label.

@github-actions github-actions bot added the Stale label Mar 27, 2025
Copy link
Contributor
github-actions bot commented Apr 3, 2025

Closing this PR due to inactivity.

@github-actions github-actions bot closed this Apr 3, 2025
@robert-bogos
Copy link
Contributor Author

Last big I can see is that the icons request is getting called a lot, when there multiple exception cases. It would probably be ideal if this was only one icon's call. image

Good catch! It was a race condition when falling back to milo icons. I fixed it 👍

@robert-bogos robert-bogos reopened this Jun 12, 2025
Copy link
Contributor
@mokimo mokimo left a comment

Choose a reason for hiding this comment

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

Gave it a high level check, since we already had gone through this a few times.

We'll need to verify carefully QA this, potentially even assign this to all three of our QEs, given this had lead to issues again, and again, and again.. and again.

@github-actions github-actions bot removed the Stale label Jun 13, 2025
Copy link
Contributor
@narcis-radu narcis-radu left a comment

Choose a reason for hiding this comment

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

Things look good, but I think we need to address a spacing issue to keep consistency.

BEFORE:
Screenshot 2025-06-16 at 11 26 43

AFTER:
Screenshot 2025-06-16 at 11 25 39

@mokimo
Copy link
Contributor
mokimo commented Jun 16, 2025

Heya, since this PR has been open since a while - could you leave some feedback on https://github.com/orgs/adobecom/discussions/4407 why/what is blocking this from proceeding?

@robert-bogos
Copy link
Contributor Author

Heya, since this PR has been open since a while - could you leave some feedback on https://github.com/orgs/adobecom/discussions/4407 why/what is blocking this from proceeding?

Left some feedback 👍

@robert-bogos robert-bogos dismissed vhargrave’s stale review June 19, 2025 13:48

Victor is on extended leave and cannot review this

@overmyheadandbody overmyheadandbody added the high-impact Any PR that may affect consumers label Jun 19, 2025
Copy link
Contributor
@fullcolorcoder fullcolorcoder left a comment

Choose a reason for hiding this comment

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

Testing this out on Express works nicely. Looking forward to this one, awesome work.

@rgclayton
Copy link
Contributor

@robert-bogos Were you able to get all of the previous cso issues into a document to test against?

@robert-bogos
Copy link
Contributor Author

Hi @rgclayton ! Not yet, but I'm about to set up a QEs meeting to go over all the previous related CSOs, and I'll construct that document for that.

Copy link
Contributor
github-actions bot commented Jul 1, 2025

This PR has not been updated recently and will be closed in 7 days if no action is taken. Please ensure all checks are passing, https://github.com/orgs/adobecom/discussions/997 provides instructions. If the PR is ready to be merged, please mark it with the "Ready for Stage" label.

@github-actions github-actions bot added the Stale label Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high-impact Any PR that may affect consumers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants
0