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

More user-friendly page listing for HomePage Banner Announcements (Wagtail 6) #6629

Open
5 tasks
johnnyporkchops opened this issue Jan 12, 2025 · 0 comments
Open
5 tasks

Comments

@johnnyporkchops
Copy link
Contributor

johnnyporkchops commented Jan 12, 2025

Summary

What we're after:

  • Use the new PageListingViewset available in >=Wagtail 6.1 to create user-friendly page listing for HomePage Banner Announcements that shows the date_active/date_inactive values in the page listing (and any other fields) that the default page listing does not show. Editors will no longer have to open each banner to see the dates--making it much less cumbersome to schedule and manage concurrent banners.

  • In this example screenshot below, I added an add'l property to show active banners dates in green.

Related issues

#6614
#6416
#6580

Completion criteria

  • New admin menu is available for HomePage Banner Announcements that show the date_active/date_inactive values in the page listing (and any other fields we want)
  • Menu item for this listing shows in the main Wagtail sidebar menu

Tech steps or considerations (optional)

List any considerations the tech team should know. Additionally, any specific tech steps can be included here.

  • What fields are helpful in addition to date_active/date_inactive?
  • Is there any value in color coding dates in the listing to show active dates(like screenshot below) ?
  • What is best format for dates here (ie: mm//dd/yyy etc.) ?

Future work

Other future work that may be needed following this issue's completion.

Example:

Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant