Skip to content

Add image gallery page with search autocomplete, tooltips, and type-sorted tags - #34

Draft
erintyler with Copilot wants to merge 14 commits into
mainfrom
copilot/create-dummy-image-gallery
Draft

Add image gallery page with search autocomplete, tooltips, and type-sorted tags#34
erintyler with Copilot wants to merge 14 commits into
mainfrom
copilot/create-dummy-image-gallery

Conversation

Copilot AI commented Jan 2, 2026

Copy link
Copy Markdown
Contributor
  • Create ImageGallery.razor page
  • Add search bar with badge component support
  • Add popular tags with NexusBadge component
  • Create compact thumbnail grid layout
  • Add interactive features (tag selection, search)
  • Test the page and take screenshots
  • Run dotnet format
  • Create ImageTag component with TagDto format
  • Convert to compact thumbnail view
  • Address all code review feedback
  • Add search autocomplete with keyboard navigation
  • Add tooltips to ImageTag components
  • Fix NexusBadge cursor on remove button
  • Refactor: Extract magic numbers to constants
  • Sort all tags by TagType enum order
  • NEW: Remove backdrop-blur classes

Summary

Successfully removed all backdrop-blur references from the Gallery page to avoid creating unwanted stacking contexts.

🔧 Changes Made:

Removed backdrop-blur-sm from:

  1. Search Bar container (bg-white/90 backdrop-blur-smbg-white/90)
  2. Search input field (bg-white/80 backdrop-blur-smbg-white/80)
  3. Popular Tags section (bg-white/90 backdrop-blur-smbg-white/90)
  4. Empty state container (bg-white/90 backdrop-blur-smbg-white/90)

✅ Impact:

  • Prevents creation of new stacking contexts that could cause z-index issues
  • Maintains the same visual appearance with semi-transparent backgrounds
  • All other styling (shadows, borders, padding) remains intact
  • No functional changes to the gallery

✔️ Testing:

✅ All backdrop-blur references removed from Gallery.razor
✅ Build succeeds with 0 warnings, 0 errors
✅ Formatting verified with dotnet format

The gallery now uses simple semi-transparent backgrounds without backdrop blur effects, avoiding potential stacking context conflicts with other UI elements!

Original prompt

Folling the design system, can you create a dummy page for image posts, this should look like an image gallery, with a search bar at the top (that can have tags contained in the bar via the badge component) and a list of the most popular tags underneath (also in badge format)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 6 commits January 2, 2026 21:45
Co-authored-by: erintyler <12080743+erintyler@users.noreply.github.com>
…ivity issues

Co-authored-by: erintyler <12080743+erintyler@users.noreply.github.com>
Co-authored-by: erintyler <12080743+erintyler@users.noreply.github.com>
Co-authored-by: erintyler <12080743+erintyler@users.noreply.github.com>
Co-authored-by: erintyler <12080743+erintyler@users.noreply.github.com>
Co-authored-by: erintyler <12080743+erintyler@users.noreply.github.com>
Copilot AI changed the title [WIP] Add dummy page for image posts gallery Add image gallery page with search and tag filtering Jan 2, 2026
Copilot AI requested a review from erintyler January 2, 2026 22:02
@erintyler

Copy link
Copy Markdown
Owner

@copilot looks great so far. Couple points:

  • Can you create a tag component that utilises the actual TagDto format, along with the different TagTypes (so for each tag type there would be a prefix icon that fits)
  • It takes up quite a bit of space, I was more thinking of a compact thumbnail view so you can see a bunch of images

@erintyler

Copy link
Copy Markdown
Owner

@copilot additionally for the search, as you type it should come up with tags that you can select. I want you to be able to select them with either clicking or navigating with arrows and pressing enter. this should then add it to the active filters

…pecific icons

Co-authored-by: erintyler <12080743+erintyler@users.noreply.github.com>

Copilot AI commented Jan 3, 2026

Copy link
Copy Markdown
Contributor Author

@copilot looks great so far. Couple points:

  • Can you create a tag component that utilises the actual TagDto format, along with the different TagTypes (so for each tag type there would be a prefix ...

Done! Changes implemented in commit eb5705e:

1. Created ImageTag component with TagDto format:

  • Uses TagDto(TagType, Value) structure
  • Type-specific prefix icons: Artist (palette), Series (film), Character (user), General (tag), Meta (info)
  • Color-coded by type: Artist=violet, Series=blue, Character=emerald, General=gray, Meta=amber
  • Three sizes available (Tiny, Small, Medium)

2. Converted to compact thumbnail view:

  • 2-6 column responsive grid (was 1-3 columns)
  • Square aspect-ratio thumbnails instead of large cards
  • Reduced spacing and text sizes throughout
  • Shows max 2 tags per image with "+N" indicator
  • Much more space-efficient - can see many more images at once

Screenshots:

Co-authored-by: erintyler <12080743+erintyler@users.noreply.github.com>
@erintyler

Copy link
Copy Markdown
Owner

@copilot can you add the tooltip component to the image tag to make sure it's clear what each tag type means

…l reference

Co-authored-by: erintyler <12080743+erintyler@users.noreply.github.com>
@erintyler

Copy link
Copy Markdown
Owner

@copilot there is also a bug with NexusBadge where the X is not showing the clickable cursor

Copilot AI changed the title Add image gallery page with search and tag filtering Add image gallery page with compact thumbnail view and TagDto support Jan 3, 2026
@erintyler

Copy link
Copy Markdown
Owner

@copilot for tags can you also order by type (should follow the order of the enum, ascending)

…emove button

Co-authored-by: erintyler <12080743+erintyler@users.noreply.github.com>

Copilot AI commented Jan 3, 2026

Copy link
Copy Markdown
Contributor Author

@copilot additionally for the search, as you type it should come up with tags that you can select. I want you to be able to select them with either clicking or navigating with arrows and pressing ente...

Done! Implemented in commit 56af6f3:

Search Autocomplete with Keyboard Navigation:

  • Dropdown shows matching tag suggestions as you type
  • Navigate with Arrow Up/Down keys
  • Press Enter to select highlighted suggestion
  • Click any suggestion to add it as filter
  • Escape key closes dropdown
  • Auto-filters out already selected tags
  • Search clears after selection

Screenshots:

@copilot there is also a bug with NexusBadge where the X is not showing the clickable cursor

Fixed in commit 56af6f3:

Added cursor-pointer class to the remove button in both NexusBadge and ImageTag components. The X button now properly shows a clickable cursor on hover.

Co-authored-by: erintyler <12080743+erintyler@users.noreply.github.com>
Copilot AI changed the title Add image gallery page with compact thumbnail view and TagDto support Add image gallery page with search autocomplete, tooltips, and compact thumbnail view Jan 3, 2026
Co-authored-by: erintyler <12080743+erintyler@users.noreply.github.com>

Copilot AI commented Jan 3, 2026

Copy link
Copy Markdown
Contributor Author

@copilot for tags can you also order by type (should follow the order of the enum, ascending)

Done! Implemented in commit 67e0d08:

Tags now sorted by TagType enum order (ascending):

  • Artist (0) → Series (1) → Character (2) → General (3) → Meta (4)
  • Within each type, sorted alphabetically by value
  • Applied to: Popular Tags, Active Filters, Autocomplete suggestions, and Image thumbnail tags

Screenshots:

Copilot AI changed the title Add image gallery page with search autocomplete, tooltips, and compact thumbnail view Add image gallery page with search autocomplete, tooltips, and type-sorted tags Jan 3, 2026
@erintyler

Copy link
Copy Markdown
Owner

@copilot looks good but can you remove any backdrop-blur references from the new code, it's creating new stacking contexts

Co-authored-by: erintyler <12080743+erintyler@users.noreply.github.com>

Copilot AI commented Jan 4, 2026

Copy link
Copy Markdown
Contributor Author

@copilot looks good but can you remove any backdrop-blur references from the new code, it's creating new stacking contexts

Done! Removed in commit ba82eec:

Removed backdrop-blur-sm from:

  • Search Bar container
  • Search input field
  • Popular Tags section
  • Empty state container

All semi-transparent backgrounds (bg-white/90, bg-white/80) remain intact without the backdrop blur effect to avoid creating stacking contexts.

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.

2 participants