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

Album view #310

Closed
damianmoore opened this issue Aug 2, 2021 · 1 comment
Closed

Album view #310

damianmoore opened this issue Aug 2, 2021 · 1 comment
Assignees
Milestone

Comments

@damianmoore
Copy link
Collaborator

damianmoore commented Aug 2, 2021

Following on from #299 where album (A type) tags got assign in batch to photos, we now need to display those photos.

@GyanP Please create your branch off of new-ui which should have your latest batch operation code merged in by the time you read this.

  • In the floating Tabs component add a new tab labelled Albums between Timeline and Map.
  • Make the tab link to /?mode=albums.
  • Create new GraphQL endpoint that returns albums (tags of type A). These results should be sorted alphabetically and contain:
    • Tag name
    • Tag ID
    • Number of photos that are assigned this tag
    • Cover image (most recent photo that was tagged with this album tag)
  • The Albums view page should look the same as timeline but show the albums returned from the GraphQL query above.
  • Clicking on an album will not take you directly to a photo but to /?mode=albums&album_id=07473ff9-7395-4a43-9163-e8da016d5ce7 which then shows more thumbnails.
  • Data for photos within an album can be fetched using the main GraphQL query that uses multiFilter as the selected album will just be tag filter as we have already done.
  • The search bar needs to still work, i.e.
    • Typing a partial tag name will reduce the albums listed (but dropdown shouldn't display)
    • When an album is selected the dropdown should work again and should filter photos by tags etc. as in timeline view.
  • On timeline, user should be able to select multiple photos and then "Add to album" option which has text field like tags
    • timeline_fab_menu
  • When viewing thumbnails in an album, user should be able to select multiple photos and then choose from "Delete from Album" (which removes from current album or "Add to album" which shows option window for adding tag for another album.
    • albums_fab_menu
@damianmoore
Copy link
Collaborator Author

damianmoore commented Sep 28, 2021

Merged as of c0fdeb7 and in release v0.23.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants