Skip to content

fix(repositories): add icons to the Artifacts and Upload tabs#480

Open
dragonpaw wants to merge 1 commit into
artifact-keeper:mainfrom
dragonpaw:fix/repo-detail-tabs-missing-icons
Open

fix(repositories): add icons to the Artifacts and Upload tabs#480
dragonpaw wants to merge 1 commit into
artifact-keeper:mainfrom
dragonpaw:fix/repo-detail-tabs-missing-icons

Conversation

@dragonpaw

Copy link
Copy Markdown
Contributor

Summary

On the repository detail screen, every tab in the TabsList rendered a leading lucide icon except Artifacts and Upload, leaving those two visually inconsistent with their siblings (Packages, Members, Security, Notifications, Settings). The icon was simply never added when those two triggers were written.

This adds FileArchive to the Artifacts tab and Upload to the Upload tab, using the same size-3.5 mr-1 pattern as the other tabs. FileArchive is distinct from Package/Boxes, which already denote "Packages" in the tab strip and sidebar.

Test Checklist

  • Unit tests added/updated
  • E2E Playwright tests added/updated
  • Manually tested locally
  • No regressions in existing tests

The new test repo-detail-content.test.tsx renders the full tab strip (admin + virtual repo so all seven tabs are present) and asserts every tab carries an icon — chosen over asserting just the two so the same omission cannot recur on a future tab. Verified it fails on main (flags exactly Artifacts, Upload) and passes with this change.

UI Changes

  • Playwright E2E spec covers the change
  • Responsive layout verified (mobile + desktop) — icons use the same sizing as existing tab icons
  • Dark mode verified — icons inherit currentColor like the others
  • Accessibility checked (keyboard navigation, screen reader) — decorative icons alongside the existing text label; tab roles/labels unchanged
  • N/A - no UI changes

Closes #479

Every TabsTrigger in the repo-detail tab strip rendered a leading lucide
icon except Artifacts and Upload, leaving those two visually inconsistent
with their siblings (Packages, Members, Security, Notifications, Settings).

Add `FileArchive` to the Artifacts tab and `Upload` to the Upload tab,
matching the existing `size-3.5 mr-1` icon pattern. A regression test
renders the full tab strip (admin + virtual repo) and asserts every tab
carries an icon, so the same omission can't recur on a future tab.
@dragonpaw dragonpaw requested a review from a team as a code owner June 9, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Repository detail: Artifacts and Upload tabs are missing icons

1 participant