WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.47k stars 4.18k forks source link

Navigation Block Tracking Issue i2 #35521

Closed priethor closed 2 years ago

priethor commented 3 years ago

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.

carolinan commented 3 years ago

I think this one is important to solve https://github.com/WordPress/gutenberg/issues/29401

getdave commented 3 years ago

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.

draganescu commented 3 years ago

Updated the issue with @talldan 's listed follow-ups.

priethor commented 3 years ago

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.

getdave commented 2 years ago

Update - 27th October 2021

jasmussen commented 2 years ago

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!

getdave commented 2 years ago

Update - 10th November 2021

getdave commented 2 years ago

WP 5.9 "Must Haves"

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.

mkaz commented 2 years ago

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.

noisysocks commented 2 years ago

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.

getdave commented 2 years ago

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.

tellthemachines commented 2 years ago

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.

getdave commented 2 years ago

Update 24th November 2021

getdave commented 2 years ago

Update for 5.9 merge day (26th Nov 2021)

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 🙇

getdave commented 2 years ago

Update for 1st December 2021

getdave commented 2 years ago

Update for 14th December 2021

uniquesolution commented 2 years ago

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 ?

jasmussen commented 2 years ago

@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;
}
getdave commented 2 years ago

Update 17th Jan 2022

getdave commented 2 years ago

Update 26th Jan 2022

getdave commented 2 years ago

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.