Skip to content

Demo Save-to-Drive: ON by default + discoverable for hackathon judges (deployed) - #279

Closed
Mawar2 wants to merge 4 commits into
mainfrom
demo-submit-on-submit-screen
Closed

Demo Save-to-Drive: ON by default + discoverable for hackathon judges (deployed)#279
Mawar2 wants to merge 4 commits into
mainfrom
demo-submit-on-submit-screen

Conversation

@Mawar2

@Mawar2 Mawar2 commented Jun 11, 2026

Copy link
Copy Markdown
Owner

Follow-up to #276, deployed (rev 00018-j8l, image aaacec3).

  • The "Save to Google Drive" button is no longer in the human-review action row; it is its own labeled "Demo mode · Save to Google Drive" panel that bypasses open [GAP] markers (SubmitDemo, demo=1).
  • Demo mode is ON by default so hackathon judges self-testing the live app discover the save path without flipping a hidden toggle; the gate shows the review actions AND the save panel together. The self-describing toggle persists an off state for a strict review walkthrough.
  • Fixed a CSS bug where .demo-submit{display:flex} overrode the [hidden] attribute.

go test ./... green. Merged under deadline authorization.

🤖 Generated with Claude Code

…-to-Drive

Demo-prep UI for the gate (per Malik):
- Pad the aggregated gap-summary status bar above 'What Tomás produced' and add
  a prominent 'Open full editor mode' button (top + artifact row).
- Remove the gold OpenFlags boxes and the per-section gap bars / Show-list /
  Next-gap controls from the gate — gap resolution now lives ONLY on the full
  editor (/editor); the gate stays a clean review surface (keeps the gap-warn
  textarea highlight + the summary).
- Rename 'Submit to SAM.gov' -> 'Save to Google Drive' (done + submitted states).
- Demo mode: a persisted toggle reveals a 'Save to Google Drive' action at the
  gate that saves the package from any state (SubmitDemo, demo=1), skipping the
  ready-to-submit gate; production submit is unchanged.
Tests updated: TestWorkspaceGateAggregatesGaps (new gate layout + editor keeps
gap controls), TestProposalFlowOverHTTP (renamed copy), +TestDemoSubmitFromGate.
…rive submit panel

Per Malik: the 'Save to Google Drive' button no longer sits in the human-review
action row. Demo mode now SWAPS the gate's Approve/Request-changes actions for a
distinct submit panel (Demo mode · Save to Google Drive) that bypasses any open
[GAP] markers — so a presenter blocked by gaps can still reach submit. The Demo
mode toggle sits just above the actions (persistent, so it can be toggled off);
when on it hides [data-demo-hide] (the review actions) and reveals
[data-demo-only] (the submit panel).
…Save-to-Drive together

Hackathon judges self-testing the deployed app won't discover a hidden toggle, so
default demo mode ON: the gate shows Approve/Request-changes AND a labeled
'Demo mode · Save to Google Drive' panel that bypasses open [GAP] markers. The
toggle (now self-describing) persists an off state for a strict review
walkthrough. Drops the action-swap; the panel is its own labeled block.
@Mawar2

Mawar2 commented Jun 11, 2026

Copy link
Copy Markdown
Owner Author

Superseded by #280 — a clean re-land of the same net change (proposals_templates.go, demo-mode-ON-by-default) off current origin/main, avoiding the stacked-squash conflict this PR hit. Already live on Cloud Run.

@Mawar2 Mawar2 closed this Jun 11, 2026
@Mawar2
Mawar2 deleted the demo-submit-on-submit-screen branch June 11, 2026 23:42
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