Closed priethor closed 2 years ago
I think this one is important to solve https://github.com/WordPress/gutenberg/issues/29401
There is currently an exploration underway regarding separating presentation from the underlying data (items) of a navigation. This is all to do with allowing navigations to be reused across a site.
We should check out Dan's PRs and provide feedback:
Also related is this issue about Theme switching.
Updated the issue with @talldan 's listed follow-ups.
I think this one is important to solve
29401
Thanks for flagging that one, @carolinan! I've added it to the Navigation Block project board as a ToDo item. However, I would recommend not including bugs in tracking/overview issues, as they are more oriented to provide a feature roadmap, and including bugs makes it harder to grasp the overall progress of projects regarding their scope.
wp_navigation
post type has been merged. This allows the same navigation (items) to be used in multiple places on a site but with the potential for each one to have a different visual presentation.wp_navigation_area
taxonomy and modelling the ways that classic Menus currently work.With the merger of #35857 (@tellthemachines 👏 ), I wonder if we shouldn't — for the sake of this tracking issue — check the box for #34041?
This will not preclude further enhancements to transforms, which is one of the most powerful aspects of the block, to the point that the feature could deserve its own tracking issue!
Primary
, Secondary
or Tertiary
. These terms are provided by default and denote an approximate hierarchy of navigations on a site.{ "primary": 794, "secondary": 112 }
where the keys are the navigation areas and the values are the post IDs of Navigation post types.Below is a collation of the Issues I'm aware of that are "Must Haves" for WP 5.9, for which the Gutenberg feature freeze is the 26th November.
⚠️ Update: the list of tasks has been moved to the 5.9 overview issue under Navigation block
.
I've also added these to the WP 5.9 Must Haves board.
Please note: this intentionally does not cover any bugs as these can still be fixed during the Beta phase.
If we want to take a harder line for "must have" I think both #36593 and #36722 could be moved if not ready.
For #36722, yes, the property name could be simplified, but there is also a reason we moved the name from menu to navigation, so personally I like the more descriptive property name, but even if we want to change later we can deprecate.
For #36593, it's a better user experience without the "Save as" button but nothing is functionally broken or an issue, so it would be good to have, but like above I wouldn't hold a release for it.
Thanks for summarising @getdave. I updated the "Navigation block" section in https://github.com/WordPress/gutenberg/issues/36556 to be the same as your list in https://github.com/WordPress/gutenberg/issues/35521#issuecomment-975327997. Let's try to use https://github.com/WordPress/gutenberg/issues/36556 if we can as that's the issue that the 5.9 squad is referring to.
If we want to take a harder line for "must have" I think both #36593 and #36722 could be moved if not ready.
That's a good point. There are PRs underway to address those issues, but as you say if those aren't going to land then they could be dropped without compromising things.
If we want to take a harder line for "must have" I think both #36593 and #36722 could be moved if not ready.
I was given to understand that removing the dialog that forces users to name their navigation block before saving is a must have for this release. #36593 is the only issue tracking that work, since #36575 was closed.
It is important at this stage that we're all super clear about what needs to be done for 5.9, so let's please not create further confusion by mentioning issue numbers instead of explicitly referring to the features themselves.
wp_navigation
Custom Post) will be shipping in 5.9.wp_nav_menu
for classic Themes.wp_navigation
Post) to the existing Navigation block.Thanks to all the hard work we’re down to the last couple of items on the “Must Haves” list.
We’d really appreciate any help with reviewing and/or coding on the following PRs/items:
Also, tangentially related in that no editor = no nav block:
If anyone is aware of any other critical items that impact on the "Must Haves" please feel free to edit this list.
Thank you 🙇
[Type] Bug
issues.#feature-navigation-block-editor
on Core Slack if you have a question or wish to contribute. Block: Navigation
label.Sorry if this is not the right place to put this question here, but I want to know how we can modify the svg icons used for the dropdown in navigation block ? Is there some way through functions.php or otherway to use a different icon, for example plus icon instead of the arrow ?
@uniquesolution There isn't a way to change those SVGs yet, we are discussing (among other things) how to best enable a UI for that in this PR.
But you should be able to do it with CSS in the mean time. Something like this:
button.wp-block-navigation__responsive-container-open {
background: url('mysvgfile') no-repeat center center;
width: 24px;
height: 24px;
}
button.wp-block-navigation__responsive-container-open svg {
display: none;
}
As discussed with @priethor and noted in the #feature-navigation-block Slack channel I'm closing this Issue in favour of a new Tracking Issue over at https://github.com/WordPress/gutenberg/issues/38275.
Supersedes #27593
With most of the work in #27593 in place, it is a good time to revisit the Navigation block priorities with a near-future release in mind. Instead of mass-editing the existing issue, let's close it and leave it as a snapshot of a first iteration and focus here on the next round of improvements. Bugs should be reported with the
[Type] Bug
label and added directly to the Navigation Project Board.High Priority
Setup interactions & placeholders
Design customization & inner blocks
IA
General UI & Copy
Normal Priority
Setup interactions & placeholders
Design customization & inner blocks
Responsiveness & hamburger menu
Backlog
This issue aims to collect new features or enhancements that build towards a better Navigation Block experience or allow for richer designs, excluding requirements driven by compatibility with the Navigation Editor.