Thanks for contributing! Please follow our code of conduct.
- Bug fixes, docs, and small improvements: open a PR directly. No issue needed.
- New features or larger changes: open an issue first so we can agree on the approach before you build it.
- Questions: ask in Discord instead of opening an issue.
Development is expected to run from a Superset workspace, which is a managed git worktree. Add your clone to the installed Superset app, create a workspace for your change, then run the following commands in that workspace:
./.superset/setup.local.sh
bun run devRun setup.local.sh once in every new worktree before starting development. It
configures workspace-specific app identity, ports, local services, and a seeded
development account so the dev desktop app can run alongside the installed app.
No Neon or third-party credentials are needed.
See DEVELOPMENT.md for the full guide.
- Fork the repo and branch from
main. - Make your change, then check it locally:
bun run lint # CI fails on warnings too. Run `bun run lint:fix` first. bun run typecheck bun run test
- Open a PR from your fork and fill in the template. Check "Allow edits from maintainers" so we can touch up your branch. It speeds up review a lot.
- A conventional-commit title. We squash-merge with the title as the commit subject, so it needs to look like
feat(desktop): add copy-logs buttonorfix(web): guard against missing PR. - One change per PR. Small PRs get reviewed in hours. If you found an unrelated bug along the way, open a second PR.
- Proof it works — screenshots strongly preferred. Say what you ran or clicked, and show it. Any user-visible change needs a screenshot or recording in the PR description; for bug fixes, before/after screenshots are ideal. A PR with screenshots gets reviewed much faster than one we have to check out and run ourselves. See capturing screenshots via CDP below.
- A linked issue for non-trivial changes so reviewers have the context.
The dev desktop app exposes the Chrome DevTools Protocol, so you (or your coding agent) can drive the real app and capture screenshots without manual cropping:
- Launch the dev app with a debugging port:
RENDERER_REMOTE_DEBUG_PORT=9222 bun dev(pick an unused port — multiple workspaces often run at once). - Confirm you're attached to this workspace's app: fetch
http://127.0.0.1:<port>/json/listand check the page target's URL matches your workspace'sDESKTOP_VITE_PORTfrom.env. Never assume a responding CDP endpoint is yours. - Navigate the real UI to the state you changed (real clicks and input, not injected DOM state), then capture with
Page.captureScreenshot.
For the full workflow — attaching over WebSocket, matching the right renderer, repairing auth, and what counts as end-to-end evidence — see .agents/skills/cdp-verification/SKILL.md. apps/desktop/scripts/cdp-smoke-integrations.ts is a working example script.
We follow Clean Code and the boy scout rule: leave the code cleaner than you found it. Biome enforces formatting and linting. Run bun run lint:fix and you're done.