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

Developers have validated and created the Pub Type for “Pages” (Legacy & Responsive Journal) #6

Open
gabestein opened this issue Aug 5, 2024 · 0 comments

Comments

@gabestein
Copy link
Member

Following from the relationships card, pages are a pub type that have a sibling relationship to sites.

Why

  • Support the KF website!
  • Support eLife contract
  • Support Legacy to Platform migrations

Open Questions

  • Are pages and collections actually the same and this is just a generic type? E.g. is a "book" actually what we want to use as a page? How do we tell a site builder to render the contents of something that has a type "chapter"?
  • How do we query for pubs within page blocks? Do you need to create relationships to do this or is there some special pub-querying pub field?
  • How do we structure blocks? Two options, both of which aren't perfect are:
    • Blocks are fields with complex schemas that have custom editors. This requires us to invent a way to have repeated fields on Pubs. Maybe a thing we need anyway?
    • Blocks are child pubs with less complex schemas. This potentially makes our ability to build custom editors harder, but preserves a simpler schema structure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant