-
-
Notifications
You must be signed in to change notification settings - Fork 639
[6.x] Hierarchical Taxonomies #15192
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
Open
jackmcdade
wants to merge
43
commits into
6.x
Choose a base branch
from
feature/hierarchical-taxonomies
base: 6.x
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
45eff81
Add taxonomy structures so terms can be hierarchical.
jackmcdade 10f3c15
Add a CP tree view and orderable settings for hierarchical taxonomies.
jackmcdade 5bb6d3d
Nest hierarchical term URLs and expose parent/depth in tags.
jackmcdade c4f7503
Show term hierarchy in the terms fieldtype.
jackmcdade b67202b
Expose taxonomy trees in the REST API and GraphQL.
jackmcdade a78f822
Add per-taxonomy route control so URLs can be customized or disabled.
jackmcdade 0cf33e0
Treat custom taxonomy routes as full URL patterns, without collection…
jackmcdade 847503a
Improve creating nested terms in the terms fieldtype.
jackmcdade eabec93
Nest newly created term paths in the persisted taxonomy tree.
jackmcdade b6df8cb
Fix term edits not persisting when associated in another site.
jackmcdade 9ccca78
Let you choose whether deleting a parent term also deletes its children.
jackmcdade 88694c6
Fix deleted terms lingering in entries, and nest YAML term paths in t…
jackmcdade cee51e0
Treat max-depth-1 taxonomies as a flat reorderable list, like collect…
jackmcdade 9524988
Invalidate static cache using actual taxonomy routes, including custo…
jackmcdade b11a022
Show the taxonomy tree to anyone who can view it, and only allow edit…
jackmcdade 4077ebd
Validate taxonomy tree max depth on the server, not just in the UI.
jackmcdade c6ecf18
Rewrite nested term path references when a term is renamed.
jackmcdade 4855d99
Add a structure tag for taxonomy trees, matching collection and nav t…
jackmcdade 9671f59
Include descendant terms in taxonomy filters by default.
jackmcdade 6cb9333
Default hierarchical terms fields to the select dropdown so they can …
jackmcdade d21e752
Sort structured taxonomy terms by tree order in the CP list, matching…
jackmcdade 27a4d4c
Add a site selector to the taxonomy tree so localized titles and crea…
jackmcdade 0331ce3
Show parent breadcrumbs when creating a child term.
jackmcdade a2e8974
Expand CP entry listing term filters to include descendant terms in a…
jackmcdade 6b8b044
Add a term option to the link fieldtype, matching entry and asset.
jackmcdade 59dbd36
Scaffold taxonomy index and term templates, including hierarchy tags …
jackmcdade 7cad640
Replace term parent breadcrumbs with a relationship field so you can …
jackmcdade 4e95283
Import translation helpers
jackmcdade a81db17
Fix terms fieldtype losing tree view when a second flat taxonomy is p…
jackmcdade 89610ed
Swap out the nested child icon for a softer, less brutalist one
jackmcdade 3f6ebf9
Bring back selected term breadcrumbs
jackmcdade d64917f
Use chevrons and AA compatible color contrasts
jackmcdade 1e3dc0c
Gate term path rewriting to hierarchical taxonomies.
jackmcdade e5e9681
Resolve taxonomy tag hierarchy params through localized slugs.
jackmcdade 00a6303
Validate term parent before applying publish-form edits.
jackmcdade 0268fe5
404 the CP taxonomy tree when the taxonomy is not structured.
jackmcdade 41489c2
Validate taxonomy tree depth before deleting terms.
jackmcdade f3aac4d
Ship structured ancestor titles on terms field items.
jackmcdade 8f18c5f
Remove a dead terms-field placeholder branch.
jackmcdade 32294d8
Create nested term paths atomically and write the tree once.
jackmcdade 93dcd3c
Key unsaved taxonomy trees by the default site.
jackmcdade fbe96a1
Sort the new taxonomy validation keys alphabetically.
jackmcdade f4f40de
Validate create-time parents and resolve structure-tag from slugs.
jackmcdade 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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.