-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Site Editor: Navigation templates #25739
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
Changes from 1 commit
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
da18be9
Extract everything we can and refactor
david-szabo97 186b244
Autodrafting for theme templates
david-szabo97 6c720c2
Remove unneccessary code
david-szabo97 dd60398
Extend findTemplate
david-szabo97 790ac20
Rename args
david-szabo97 5921992
Move optional parameters to the end
david-szabo97 4036921
Fix old name
david-szabo97 5b76047
Show all template parts
david-szabo97 9e74cc1
Remove current theme and preview
david-szabo97 4195108
Remove unused styles
david-szabo97 8cb3123
Remove current template group
david-szabo97 b9b2c02
Cleanup component and styles
david-szabo97 3d6a135
Remove template switcher folder
david-szabo97 637354a
Use original NavigationItem
david-szabo97 f34fc16
Remove NavigationItemWithIcon
david-szabo97 af092c0
Remove unused styles
david-szabo97 06faa7c
Remove unused prop
david-szabo97 3ba796d
Fix typo
david-szabo97 969ff62
Remove unused property
david-szabo97 6e1c693
Return template directly
david-szabo97 c40e390
Merge selects
david-szabo97 9c6e04a
Extract templates as a hook
david-szabo97 9e2b8e8
Extract useTemplates to its own file
david-szabo97 88e3f45
Create TemplateNavigationItems component
david-szabo97 485f5fb
Fix prop
david-szabo97 1608e3a
Add titles
david-szabo97 0817526
Move preview to TemplateNavigationItems
david-szabo97 0d8ab08
Add description to items
david-szabo97 e694a7b
Use destructuring
david-szabo97 e5711c2
Fix height of item
david-szabo97 1a56595
Use slug for template parts too
david-szabo97 ba847e8
Create slot-fill for preview panel
david-szabo97 c6b07a0
Add query args to show all
david-szabo97 4f7c00a
NavigationMenu must be rendered
david-szabo97 6ba556d
Add posts
david-szabo97 976ed93
Add titles and descriptions for items
david-szabo97 e72bba7
Fix stying
david-szabo97 4e3b47b
Fix typo
david-szabo97 d4873a6
Add page title and desc
david-szabo97 1218680
Use ID for activeItem
david-szabo97 086e39e
Fix cache invalidation
david-szabo97 c8b1d4c
Add documentation
david-szabo97 71ceb5b
Return template file content
david-szabo97 7990a9b
Sort by slug to make order deterministic
david-szabo97 bf02206
Revert "Use ID for activeItem"
david-szabo97 a081994
Add comment
david-szabo97 24d2293
Use destructured
david-szabo97 d239fbb
Extract constants
david-szabo97 7a2600d
Create auto-draft automatically when templates are requested
david-szabo97 38c4ce5
Revert "Revert "Use ID for activeItem""
david-szabo97 787e076
Inline useTemplates
david-szabo97 2cc0c62
Format PHP
david-szabo97 a369fd7
Update e2e tests
david-szabo97 34d5078
Use entityType
david-szabo97 83b3597
Use title and excerpt if available
david-szabo97 d74ae61
Format PHP
david-szabo97 51c9075
Rename constants
david-szabo97 abfcfa5
Standarize activate prop
david-szabo97 41c0bd3
Fix title
david-szabo97 6a4d721
Add all templates menu
david-szabo97 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
Move preview to TemplateNavigationItems
- Loading branch information
commit 081752640ed5d4f1e8ad92666f8c2a5f351013b7
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
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.