Skip to content

People section of the site #567

@thibaudcolas

Description

@thibaudcolas

As part of #566, we have been discussing how a new "People" section could be a really good fit for this site, for a few reasons:

  • It’s a common need for Wagtail projects, so we can demonstrate something that has real-world relevance.
  • It’s independent of the bread theme. This makes the demo more relevant if/when we invest into supporting other content.
  • It’s relatively simple for us to produce realistic "People" content without copyright issues
  • It’s a simple content type for us to have tens / possibly hundreds of items.

Specifications

Here is what I would propose:

  • A new people app
  • With a PeopleIndexPage listing page
  • And a PersonPage detail page

This would require renaming the existing Person model to Author, so it’s clear "Authors" and "People" are different content. Or alternatively, find a different name for this new section of the site.

Landing / index page

The page could start as a copy of BreadIndexPage or LocationIndexPage. But afterwards ideally we could introduce more "landing page" content in addition to showing the PersonPage detail pages within the section. Perhaps the index page could use RoutablePageMixin to filter the people by category (say a "team" field with 5-6 different options?), but in addition opportunity to display conditional content for each of those categories?

Detail page

Displaying a person’s profile. Ideally with content that would support showcasing the diversity of our community, so:

  • Single name field, not the first_name and last_name mistake of our existing Person model
  • Profile picture, with an alt text field that could say a bit more than just "Picture of |name|"
  • Bio (regular StreamField?)
  • Possibly a location field, either plain text or connected to location models

Elsewhere

In addition to the above, possible related improvements:

  • Feature 3-5 people on the homepage in a new section
  • Possibly allow "Authors" to be connected to a "PersonPage"
  • Not sure if the section would be present in the top-level menu or no (have it within "About"?)

Working on this

Before we start PRs I think this requires more thought / feedback here in the comments, and proposed designs. Doesn’t necessarily need to be polished designs, references to existing sites / similar sections could be plenty enough. cc @lupyana who was interested to work on this

Metadata

Metadata

Assignees

Labels

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions