Add tags to uploads #38

Merged
BlakeRain merged 23 commits from 17-tags into main 2026-05-21 12:03:27 +00:00
Owner

This PR closes #17 by adding support for tags on each upload. Each upload can have any number of tags, and uploads can be filtered by tags. Tags are kept around in a tags table with unique names over users and teams. Autocomplete in the tag editor is provided using a <datalist>.

There are a few things left to do:

  • The filter UI is present, but doesn't have any effect on the upload list yet.
  • I haven't added any tests for the UI.
  • The user settings page needs to include a section where a user can edit their tags.
This PR closes #17 by adding support for tags on each upload. Each upload can have any number of tags, and uploads can be filtered by tags. Tags are kept around in a `tags` table with unique names over users and teams. Autocomplete in the tag editor is provided using a `<datalist>`. There are a few things left to do: - [x] The filter UI is present, but doesn't have any effect on the upload list yet. - [x] I haven't added any tests for the UI. - [x] The user settings page needs to include a section where a user can edit their tags.
Author
Owner

Progress on this has gone quite well. See the attached images.

There are a couple of problems that will need addressing:

  1. I really like the <parcel-select> element, but it's not going to play nicely if we filter as users change the selection if that causes the list interface to reload. May need to consider something else.
  2. When tags are added to uploads that are new, the select UI doesn't show the new tags in the filter list.
Progress on this has gone quite well. See the attached images. There are a couple of problems that will need addressing: 1. I really like the `<parcel-select>` element, but it's not going to play nicely if we filter as users change the selection if that causes the list interface to reload. May need to consider something else. 2. When tags are added to uploads that are new, the select UI doesn't show the new tags in the filter list.
Author
Owner

Blocked for #39

Blocked for #39
BlakeRain force-pushed 17-tags from 0270085a36
Some checks failed
Check / check (pull_request) Has been cancelled
to 45d4824477
Some checks failed
Check / check (pull_request) Failing after 1m38s
2026-05-20 16:23:45 +00:00
Compare
feat: update filters when tags are changed
Some checks failed
Check / check (pull_request) Failing after 1m34s
70424c2599
feat: add editing of tags for users and teams
Some checks failed
Check / check (pull_request) Failing after 1m38s
bdb83b3aab
chore: check in start of tests
Some checks failed
Check / check (pull_request) Failing after 1m38s
d63e892ea1
fix: broken tests interacting with tags filter
Some checks failed
Check / check (pull_request) Failing after 1m38s
79acbd180a
fix: location of upload filters template
Some checks failed
Check / check (pull_request) Failing after 1m35s
d79f277e24
feat: add tests for clicking on tag labels to filter by tag
Some checks failed
Check / check (pull_request) Failing after 1m37s
df3cee7bfa
feat: refactor upload list query
Some checks failed
Check / check (pull_request) Failing after 1m47s
6f1a092c99
fix(formatting): fix formatting
All checks were successful
Check / check (pull_request) Successful in 4m15s
3d45879aa3
BlakeRain changed title from WIP: Add tags to uploads to Add tags to uploads 2026-05-21 12:02:26 +00:00
BlakeRain referenced this pull request from a commit 2026-05-21 12:03:28 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
BlakeRain/parcel!38
No description provided.