Skip to content

Integrate grist databases into docs (Panographix - HackDays 2025) #1082

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

Draft
wants to merge 58 commits into
base: main
Choose a base branch
from

Conversation

SimonClo
Copy link

@SimonClo SimonClo commented Jun 18, 2025

⚠️ This PR is a draft and needs to be cleaned ⚠️
This PR is a spin-off from #1053

Purpose

Merge the HackDays 2025 “database & charts” prototype into the public Docs repository to kick-start native data-driven capabilities (tables, charts, embeds) for civil-servant users while preserving Docs’ friendly UX.

Proposal

This PR introduces a new custom block developed during HackDays 2025:

DatabaseBlock: lets authors create a new Grist table or pick an existing one directly from the editor, then display and edit the data inline.
Behind the scenes we rely on Grist as a lightweight backend, but the UI hides the Grist complexity so that non-technical agents can stay focused on their documents.

Known limitations / next steps

General cleanup of the code
Authentication: today we pass a hard-coded Grist API token (env var GRIST_TOKEN). We aim to fetch it via OIDC (ProConnect) before merge.
Accessibility review (ARIA roles, colour contrast) still pending.

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.

3 participants