feat(flags): feature-flag control on the project page #5
Open
gabrielvidal
wants to merge 1 commits from
feature-flags into main
pull from: feature-flags
merge into: gabrielvidal:main
gabrielvidal:main
gabrielvidal:dashboards-fixes
gabrielvidal:split-big-files
gabrielvidal:held-regex
gabrielvidal:subagent-interrupts
gabrielvidal:form-html
gabrielvidal:tokunia-video
gabrielvidal:settings-uniform
gabrielvidal:worker-ask-fix
gabrielvidal:worker-generic-mac
gabrielvidal:runner-shortcuts
gabrielvidal:notify-unify
gabrielvidal:perf-list-cache
gabrielvidal:mac-worker
gabrielvidal:model-switch
gabrielvidal:pipeline-paths
gabrielvidal:multi-account
gabrielvidal:qwen38-support
gabrielvidal:url-prompt
gabrielvidal:running-pages
gabrielvidal:homelab-tag
gabrielvidal:root-project
gabrielvidal:or-models
gabrielvidal:deploying-loader
gabrielvidal:worktree-diff
gabrielvidal:conv-tags
gabrielvidal:tags-page
gabrielvidal:agents-page
gabrielvidal:icon-picker-shortcuts
gabrielvidal:conv-cta
gabrielvidal:stamp-refine
gabrielvidal:post-task-cache
gabrielvidal:post-tidy-completed
gabrielvidal:form-badge
gabrielvidal:hooks-delay-seconds
gabrielvidal:cost-dashboard
gabrielvidal:plan-forms
gabrielvidal:form-mobile
gabrielvidal:guidelines-dag
gabrielvidal:skills-view
gabrielvidal:navbar-hold
gabrielvidal:spawnbox-status
gabrielvidal:hold-editable-expand
gabrielvidal:drawer-transparent
gabrielvidal:hold-fix
gabrielvidal:hold-editable
gabrielvidal:charroll-bump
1 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| e2bca5c4d6 |
feat(flags): feature-flag control on the project page
Adds a Feature flags card next to the .env editor: it flips each declared flag's for-everyone default in the project's public/feature-flags.json, mints the token link that unlocks the admin panel on the deployed site, and publishes the file to that site with no rebuild. Toggle-only by design — flags are declared in code by whoever ships the feature. The panel on the live site has no Authelia session, so its write comes back to /api/flags/publish with a minted HMAC token, as a text/plain POST so the browser fires no preflight for forward-auth to bounce. Publishing runs on the host sidecar (the container has neither zipgo nor the deploy key) as a fixed one-file operation, never a generic exec. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> |