feat(ia-epic): Adjustments to Menu for Information Architecture UI #487
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.
All Submissions:
Changes proposed in this Pull Request:
This code helps to complete Asana Task: "Newspack Information Architecture > IA Listings".
See the primary PR here: Automattic/newspack-plugin#3483
The code in this PR does 3 things:
It adds a helpful note above a callback function to alert future developers that the callback function might be removed via
remove_action
by the "parent" Newspack Plugin. This could be helpful to know if a developer isn't seeing the correct output from the callback they expect.It adds a "todo" that recommends we remove the Category and Tag links since they just link to the normal Posts categories and tags anyway. This isn't needed in the main PR above, but in an effort to possibly "clean up" the plugin a bit, since it's getting cleaned up via the Information Architecture (IA) project anyway :-)
The final change, is the one that I highly recommend we do. It will make the code in the main PR above easier. The change here is to move "Marketplace Listings" above "Generic Listings". In the IA project it was deemed that Marketplace should go above Generic. So my recommendation is to do a little "clean up" in the Listings plugin now and move Marketplace above Generic :-)
Screenshot:
How to test the changes in this Pull Request:
Other information: