Skip to content

Turn DDP into a static web app#2

Merged
ccerv1 merged 2 commits intomainfrom
feat/static-notebook-export
Mar 16, 2026
Merged

Turn DDP into a static web app#2
ccerv1 merged 2 commits intomainfrom
feat/static-notebook-export

Conversation

@kenyiu
Copy link
Copy Markdown
Member

@kenyiu kenyiu commented Mar 13, 2026

Turn DDP into a static web app.

Done:

  • updated some notebooks so they can be supported by marimo export native function
  • updated some notebooks so they wont show warning messages after export
  • script for exporting all notebooks
  • github actions for running the script

Related work but not showing in the PR:

  • missing UDMs added

Add CI workflows to build/deploy and schedule weekly data refresh; add an export script for notebooks. Switch Marimo iframe to load exported static HTML (HEAD check for 404), improve error UI, and remove local marimo server dependency. Convert insight pages to client components and simplify rendering, adjust layout scrolling. Add reusable chart UI components (DataTable, PlotlyChart, StatCard) and enable Next.js static export + unoptimized images. Update app package scripts and add Plotly dependencies; update .gitignore to ignore exported notebook assets. Various data/notebook model updates and other housekeeping (removed serve_notebooks.py).
@kenyiu kenyiu requested a review from ccerv1 March 13, 2026 11:21
@kenyiu kenyiu closed this Mar 16, 2026
@kenyiu kenyiu deleted the feat/static-notebook-export branch March 16, 2026 15:07
@kenyiu kenyiu restored the feat/static-notebook-export branch March 16, 2026 15:08
@kenyiu kenyiu reopened this Mar 16, 2026
Copy link
Copy Markdown
Member

@ccerv1 ccerv1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything runs! I updated the readme. One thing to consider is the dropdowns. Pinged you on discord about this. In the meantime, I will merge and we can try deploying.

@ccerv1 ccerv1 merged commit bcb583a into main Mar 16, 2026
@ccerv1 ccerv1 deleted the feat/static-notebook-export branch March 16, 2026 18:40
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.

2 participants