Skip to content

fix(ui): distinguish catalog status icons - #1955

Merged
csirmazbendeguz merged 1 commit into
agntcy:mainfrom
lntutor:fix/catalog-status-icons
Aug 10, 2026
Merged

csirmazbendeguz merged 1 commit into
agntcy:mainfrom
lntutor:fix/catalog-status-icons

Conversation

@lntutor

@lntutor lntutor commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Closes #1933.

  • display the security shield only for scan reports marked safe
  • use a plain shield for safe scans without findings and a shield with an exclamation mark for safe scans with findings
  • use a check-circle for trusted entries and a lock for verified ownership so those states no longer share the same glyph
  • rebuild the checked-in catalog UI assets from current main

Verification

  • npm run check (0 errors; two pre-existing warnings)
  • npm run build

npm run lint remains blocked by eight pre-existing Prettier failures in unrelated files.

@lntutor
lntutor requested a review from a team as a code owner July 31, 2026 20:03
@github-actions github-actions Bot added the size/XS Denotes a PR that changes 0-49 lines label Jul 31, 2026
@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@lntutor

lntutor commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

Current head 1d6df81f4471383c1d6a1f61508f1d88cf652ecc is mergeable, the visible CI/coverage/DCO checks on this head are green, and there are no unresolved review threads on the current PR state. This looks ready for maintainer review when convenient.

@csirmazbendeguz

csirmazbendeguz commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

I have tested out this branch and I'm including the screenshots:

Safe=yes

Safe=yes, MaxSeverity=Medium (orange)

Screenshot 2026-08-03 at 13 58 25

Safe=yes, MaxSeverity=Low (blue)

Screenshot 2026-08-03 at 14 24 35

Safe=yes, MaxSeverity=None (green)

Screenshot 2026-08-03 at 14 26 25

Safe=no, MaxSeverity=High,Critical

Safe=no, MaxSeverity=Critical (red)

Screenshot 2026-08-03 at 14 12 25

Safe=no, MaxSeverity=High (dark orange)

Screenshot 2026-08-03 at 14 15 49

Safe=no, MaxSeverity=Medium,Low,None

Safe=no, MaxSeverity=Medium (orange)

Screenshot 2026-08-03 at 14 19 55

Safe=no, MaxSeverity=Low (blue)

Screenshot 2026-08-03 at 14 21 38

Safe=no, MaxSeverity=None (green)

Screenshot 2026-08-03 at 14 22 53

@csirmazbendeguz csirmazbendeguz left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for your PR!

We have made some adjustments to the issue (#1933). I understand it wasn't 100% clear, we didn't consider the issue thoroughly and we only realized the problem after reviewing your PR

We decided to simplify the logic around the shield badges. Please check the issue and adjust your PR. Thanks!

Assisted-by: OpenAI Codex GPT-5 <[email protected]>
Signed-off-by: Loi Nguyen <[email protected]>
@lntutor
lntutor force-pushed the fix/catalog-status-icons branch from 1d6df81 to 1cb9c81 Compare August 8, 2026 15:49
@lntutor

lntutor commented Aug 8, 2026

Copy link
Copy Markdown
Contributor Author

Addressed the revised badge requirements in 1cb9c81ebd867f1cfcd98d73a5ab82eccacd20f5.

The branch is rebuilt on current main, which also resolves the merge conflict. Catalog cards now render no security shield for every safe=no result. Safe scans without findings use the plain shield, while safe scans with findings use the shield-with-exclamation. The distinct Trusted check-circle and Verified lock are preserved.

Verification on this exact commit:

  • npm run check: 0 errors, two pre-existing warnings
  • npm run build: passed and regenerated the checked-in static assets
  • DCO: passed

npm run lint still stops on the same eight unrelated pre-existing Prettier failures; none are touched by this PR.

@csirmazbendeguz csirmazbendeguz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM! Thanks!

@csirmazbendeguz
csirmazbendeguz merged commit 9881984 into agntcy:main Aug 10, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Denotes a PR that changes 0-49 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Accessibility] Improve AI Catalog card icons

2 participants