Skip to content

feat: add explicit page.path#749

Draft
stefanprobst wants to merge 4 commits into
mainfrom
feat/page-paths-resolver
Draft

feat: add explicit page.path#749
stefanprobst wants to merge 4 commits into
mainfrom
feat/page-paths-resolver

Conversation

@stefanprobst

@stefanprobst stefanprobst commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

this adds a page.path column, which allows setting an explicit pathname for pages. page.slug still exists, but only as internal indentifier.

on its own this does nothing - it requires the frontend to render pages via dynamic route segment, and fetch page content via /api/pages/by/path?page=%2Fget-involved%2Fjoin-dariah.


related:

  • the navigation menu currently allows either selecting entity type and entity slug (delegating resolving the entity type/slug to a pathname to api consumers), or adding an explicit url (which can be a hardcoded pathname)
  • person.position includes entity type/slug, and also delegates resolving this to pathnames to the api consumer (see feat: include slugs in person.position api responses #753) - even though we already know the mapping server-side because we use it when populating the typesense index

stefanprobst added a commit that referenced this pull request Jul 20, 2026
include slugs in `person.position` api responses, so the website can
create links to the related organisational unit. e.g. in case of a
"working group chair" position, the api now returns name, type, and slug
of the working group.

open question: should we - in addition to name/type/slug - also resolve
an actual pathname, or should we delegate the responsibility to the api
consumer. this is related to #749
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant