Skip to content

Add gallery hub filter panel#15954

Open
ramram-mf wants to merge 22 commits into
TP1-3891-gallery-hub-project-list-modalfrom
TP1-3892-gallery-hub-filter-panel
Open

Add gallery hub filter panel#15954
ramram-mf wants to merge 22 commits into
TP1-3891-gallery-hub-project-list-modalfrom
TP1-3892-gallery-hub-filter-panel

Conversation

@ramram-mf
Copy link
Copy Markdown
Collaborator

@ramram-mf ramram-mf commented May 19, 2026

Description

This PR implements the filter feature for the Gallery Hub landing page

image

Gallery page filter feature

Link to sample test page: https://foundation-s-tp1-3892-g-gqcovp.mofostaging.net/en/gallery/
Related PRs/issues: Jira Ticket

@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-3892-g-gqcovp May 19, 2026 02:00 Inactive
@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-3892-g-gqcovp May 19, 2026 02:43 Inactive
@ramram-mf ramram-mf had a problem deploying to foundation-s-tp1-3892-g-gqcovp May 19, 2026 03:12 Failure
@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-3892-g-gqcovp May 19, 2026 04:06 Inactive
@ramram-mf ramram-mf self-assigned this May 19, 2026
…gallery-hub-filter-panel

# Conflicts:
#	foundation_cms/static/js/components/gallery_hub/overlay.js
#	foundation_cms/static/scss/components/gallery_hub/_modals.scss
#	foundation_cms/static/scss/components/gallery_hub/_settings.scss
@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-3892-g-gqcovp May 19, 2026 04:58 Inactive
@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-3892-g-gqcovp May 19, 2026 05:50 Inactive
@ramram-mf ramram-mf requested review from adalcima and mmmavis May 19, 2026 06:14
@ramram-mf ramram-mf marked this pull request as ready for review May 19, 2026 06:15
@ramram-mf ramram-mf requested a review from beccaklam May 19, 2026 06:15
@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-3892-g-gqcovp May 19, 2026 17:53 Inactive
Copy link
Copy Markdown

@beccaklam beccaklam left a comment

Choose a reason for hiding this comment

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

Hi @ramram-mf this is looking great! Some issues though:

  • the program, country and year filters should actually be styled with check boxes (since they are not topic tags and that pill style is particular to topic tags):
Image
  • I also can't scroll on mobile when I test the page on my phone?

  • The 'display results' button should also having 1rem of padding all around it:

Image

@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-3892-g-gqcovp May 19, 2026 19:22 Inactive
@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-3892-g-gqcovp May 19, 2026 20:29 Inactive
@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-3892-g-gqcovp May 19, 2026 20:34 Inactive
@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-3892-g-gqcovp May 19, 2026 21:54 Inactive
@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-3892-g-gqcovp May 19, 2026 22:13 Inactive
@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-3892-g-gqcovp May 19, 2026 22:42 Inactive
@ramram-mf ramram-mf requested a review from beccaklam May 19, 2026 22:50
Copy link
Copy Markdown
Collaborator

@mmmavis mmmavis left a comment

Choose a reason for hiding this comment

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

Love it! Functionality and UX/UI are all very sleek I left a few inline comments for small things. I did find one bug - when the filter panel is open, the site nav and search are still expandable but their dropdowns appear behind the filter overlay. @beccaklam , what should the expected behaviour be? My instinct is the filter should close when the user opens the nav or search, but will rely on your expertise to settle on the decision

Comment thread foundation_cms/static/js/components/gallery_hub/overlay.js Outdated
Comment thread foundation_cms/static/js/components/gallery_hub/filter_panel.js Outdated
Comment thread foundation_cms/static/js/components/gallery_hub/state.js Outdated
Comment thread foundation_cms/static/js/components/gallery_hub/overlay.js Outdated
Comment thread foundation_cms/templates/patterns/pages/gallery_hub/gallery_page.html Outdated
Comment thread foundation_cms/static/js/components/gallery_hub/filter_panel.js Outdated
…t-modal' into TP1-3892-gallery-hub-filter-panel

# Conflicts:
#	foundation_cms/static/js/components/gallery_hub/overlay.js
#	foundation_cms/templates/patterns/pages/gallery_hub/gallery_page.html
@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-3892-g-gqcovp May 20, 2026 00:54 Inactive
@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-3892-g-gqcovp May 20, 2026 01:41 Inactive
@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-3892-g-gqcovp May 20, 2026 01:50 Inactive
@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-3892-g-gqcovp May 20, 2026 02:31 Inactive
@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-3892-g-gqcovp May 20, 2026 02:39 Inactive
@ramram-mf ramram-mf requested a review from mmmavis May 20, 2026 02:48
Copy link
Copy Markdown

@beccaklam beccaklam left a comment

Choose a reason for hiding this comment

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

Hi @ramram-mf , thank you for making those changes! Just a few more requests upon a second inspection:

  • The icons in the filter should be 32x32 instead of 24x24
  • On desktop can we decrease the spacing between topic tags (gallery-hub-filter__options) to gap: 1rem .5rem from gap: 1.5rem 1rem
  • Can we also decrease the gap between the check boxes on desktop from 1.5rem to 1rem?
  • Also, my apologies, I should have specified that moving the 'Project List' and 'Filter' buttons pertained only to Mobile. Mobile looks good now but Desktop should look like this (note the red lines for alignment):
Image

@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-3892-g-gqcovp May 20, 2026 06:18 Inactive
@ramram-mf ramram-mf temporarily deployed to foundation-s-tp1-3892-g-gqcovp May 20, 2026 06:26 Inactive
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.

3 participants