Skip to content
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

As an editor, I want to manage the menus displayed across the site in wagtail so that I can easily update them when needed. #255

Closed
5 tasks
thatbudakguy opened this issue Dec 8, 2020 · 5 comments
Assignees
Milestone

Comments

@thatbudakguy
Copy link
Contributor

thatbudakguy commented Dec 8, 2020

testing notes

  • check that the main navigation matches what is in production
  • check that the footer matches what is in production (expected exceptions: Contact & Directions and Credits should now be listed under Home; Admin has been removed)
  • check a few landing pages to confirm that the pages under them display as attachment cards
  • in wagtail, change the order of one or two top-level pages; reload the public site and confirm the main menu and footer reflect the order change you made
  • in wagtail, edit a page that is in the menu and set it to not show in menus (on the promote tab); reload the public site and confirm that the page is no longer included in the menu

dev notes

wagtailmenus is already installed.

  • header/main nav: uses wagtailmenus "main menu"; make sure to check out the "autopopulate" option. if autopopulate is wrong, consider an exodus step to correctly set up the menu. note that you can call manage commands from other commands; the main exodus script can call autopopulate and then modify if it needs to.
  • footer nav: uses pages with show_in_menus; just shows 1st and 2nd level pages. not editable. make sure it includes things that are children of root/parallel like about, etc.
  • child page nav: show all one-level-down children that have show_in_menus. does this match current production? if not, what are the outliers? can we live with them changing?
@thatbudakguy thatbudakguy added this to the v3.0 milestone Dec 8, 2020
@rlskoeser
Copy link
Contributor

Needs to handle top nav, footer nav, and parent page nav; consider splitting out page nav into a separate story.

@thatbudakguy thatbudakguy changed the title As a content editor, I want to manage the menus displayed across the site in wagtail so that I can easily update them when needed. As an editor, I want to manage the menus displayed across the site in wagtail so that I can easily update them when needed. Feb 16, 2021
@rlskoeser rlskoeser self-assigned this Mar 23, 2021
@manawinters
Copy link

I'm getting an "internal service error" when I go to the attachment cards, despite a hard refresh.

@manawinters
Copy link

People drop down is out of order in test site -- instead of staff, students, affiliates, ec (as it is in production site), it reads "students, staff, ec, affiliates"

@rlskoeser, how do I "change the order of top level pages" in wagtail?

@rlskoeser
Copy link
Contributor

@manawinters checking with @thatbudakguy to make sure we ran the version of the exodus script that sets the order.

To edit page order — when you're looking at a list of pages in the wagtail edit interface, click the "sort" column heading — that will give you grabbable handles next to the titles that you can use to drag and drop pages within the order.

If you want to move a page to somewhere different in the hierarchy, there is a "move" option in the "more" menu.

@manawinters
Copy link

@rlskoeser, thanks. all above tests were successful. once the order of People is fixed, I will close out the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants