Repository navigation
fix(web): render font ligature icon instead of svgIcon in index progress overlay - #1055
Merged
Merged
Conversation
kyasbal
requested review from
K53,
jyane,
kkuchima and
renamoo
as code owners
September 28, 2026 09:08
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the IndexProgressLayoutComponent to use text interpolation for the Angular Material icon instead of the svgIcon input, and updates the corresponding unit tests to assert the icon's text content. Feedback on the changes highlights that formatting the icon name interpolation across multiple lines introduces leading and trailing whitespace, which can prevent the browser from correctly resolving and rendering the font icon ligatures. It is recommended to keep the interpolation on a single line.
Merged
via the queue into
GoogleCloudPlatform:main
with commit Sep 28, 2026
8b85c53
17 checks passed
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.
Background & Problem
When rendering the search index progress overlay in the bottom right corner, Angular Material threw runtime errors:
In
IndexProgressLayoutComponent, the template bound[svgIcon]="isReady() ? 'check_circle' : 'sync'". BecausesvgIcondirects Angular Material to searchMatIconRegistryfor pre-registered SVG assets rather than font ligatures, passing standard Google Material Symbols names caused lookup failures.Solution Approach
IndexProgressLayoutComponent's template to render the icon name as font ligature text inside the<mat-icon>element ({{ isReady() ? "check_circle" : "sync" }}), aligning with KHI's Material Symbols font icon configuration.index-progress-layout.component.spec.tsensuring that the icon displays'sync'when indexing and'check_circle'when ready.Remaining Issues & Future Work
None.