-
Notifications
You must be signed in to change notification settings - Fork 13
Configurable taxa lists #1094
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
Merged
Merged
Configurable taxa lists #1094
Changes from 32 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
fc68985
feat: setup new view for taxa lists
annavik bd2d08d
feat: make it possible to create new taxa lists
annavik e9d79dd
feat: make it possible to edit taxa list details
annavik 9a23bf5
feat: set breadcrumb label for taxa list page
annavik 466dc2c
fix: cleanup
annavik 24d8fe5
Add sorting, timestamps, and taxa count to TaxaList API (#1082)
Copilot 08babab
feat: add taxa count columns and more sort options
annavik b126349
feat: setup form for adding taxon to taxa list
annavik 279dd4c
feat: make "Taxa lists" available from sidebar
annavik 0e8a09f
fix: conditionally render taxa list actions based on user permissions
annavik 4aec469
feat: setup new page for taxa list details
annavik 4bfec3d
fix: tweak breadcrumb logic to show sidebar sub pages
annavik e73ff00
fix: add taxa list filter
annavik 3fdbbd8
feat: added add_taxon and remove_taxon endpoints to TaxaListViewSet
mohamedelabbas1996 6778081
Merge branch 'main' into feat/taxa-lists
annavik f9a5378
feat: make it possible to add taxa to lists from UI
annavik 30459e0
feat: make it possible to remove taxa from lists from UI
annavik fea81bb
feat: make it possible to see taxon details without changing route
annavik 1d3e7a5
fix: cleanup
annavik 84cb25b
fix: hide remove button if user cannot update taxa list
annavik dffa27d
fix: prevent tooltip auto focus in dialogs
annavik 1f5e5d4
refactor: use nested routes for taxa list management (without through…
mihow 6aaf0ea
fix: taxa list creation failing with m2m assignment error
mihow c591ae3
feat: new param to hide/show taxa children when filtering by taxa list
mihow bf3f304
feat: hide taxa children by default in the taxa management view
mihow 4892c11
chore: remove "by-taxon" url prefix
mihow a86308f
Merge pull request #1104 from RolnickLab/feat/taxa-lists-through-model
mihow 8b8cdcc
Merge branch 'main' into feat/taxa-lists
mihow e68e47f
fix: move new taxa list tests in with the others for now
mihow 17cf37e
fix: pass project ID with delete requests
annavik 2716251
fix: address taxa-list PR review feedback (#1119)
mihow 05f60f0
Merge remote-tracking branch 'origin/main' into feat/taxa-lists
mihow d947756
fix: use uppercase rank values in taxa list tests
mihow 4cd067f
fix: add ObjectPermission to TaxaListViewSet
mihow d19885b
chore: note dead code in ProcessingServiceSerializer.create()
mihow 8f5144e
fix: update ProcessingService tests to use project_id query param
mihow 4682933
fix: use IsProjectMemberOrReadOnly for TaxaListViewSet permissions
mihow 312e362
fix: send project instead of project_id in entity creation requests
mihow 73f6e08
feat: add TaxaList CRUD permissions for project members
mihow 3d2eb1e
fix: resolve user_permissions for M2M-to-Project models
mihow d0c8c24
refactor: remove unused list endpoint from TaxaListTaxonViewSet
mihow 136277f
merge: resolve conflict with main
mihow b94023d
fix: replace hardcoded strings with translation keys
mihow File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After #1133 merges: Change to
require_project_for_list = False.PR #1133 makes
require_project_for_list = Truethe default onProjectMixin, but opts outTaxaListViewSetbecause taxa lists are global M2M resources (same rationale asTaxonViewSetandTagViewSet). Keeprequire_project = Truefor write operations -- only listing should be allowed without a project filter.