Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: photo album search and improved album layout #1943

Merged
merged 4 commits into from
Dec 13, 2024

Conversation

tomudding
Copy link
Member

Description

It is now possible to search for albums by their name. They will be displayed per year, if no album exists containing the search query the year will not be shown. Filtering is taken into account for special situations (such as for graduates).

This also moves albums to the improved grid and card layout from GH-1934 and fixes an issue where it was not clear what year was selected in the year selector navigation bar (for both activities and albums).

Also removes some unused code.

Related issues/external references

Closes GH-1815.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation improvement (no changes to code)
  • Other (please specify)

Both now use `nav-tabs` and when a year is selected from the dropdown, both the
dropdown _and_ the year are now marked as active.

This is very minor but should make it easier to see what you are looking at as
the year is not necessary displayed on the page itself.
Allows users to search for albums. The albums will be grouped by year and only
albums a user has access to are shown (i.e. graduates see less).
@tomudding tomudding force-pushed the feature/photo-album-search branch from 1f7ccc9 to 478033e Compare December 13, 2024 23:27
@tomudding tomudding force-pushed the feature/photo-album-search branch from 478033e to 3e8cf8c Compare December 13, 2024 23:31
@tomudding tomudding merged commit 39b99cb into GEWIS:main Dec 13, 2024
3 of 4 checks passed
github-actions bot added a commit that referenced this pull request Dec 13, 2024
Tom Udding: Merge pull request #1943 from tomudding/feature/photo-album-search

feat: photo album search and improved album layout

Co-authored-by: tomudding <tomudding@users.noreply.github.com>
github-actions bot added a commit to tomudding/gewisweb that referenced this pull request Dec 13, 2024
Tom Udding: Merge pull request GEWIS#1943 from tomudding/feature/photo-album-search

feat: photo album search and improved album layout

Co-authored-by: tomudding <tomudding@users.noreply.github.com>
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.

Add search for albums
1 participant