Skip to content

Commit 84221ce

Browse files
voidstackloopclaude
andcommitted
Fix pre-deployment issues in the scaffolded community dashboard
Found while reviewing docs/community-design.md's Phase 2 pieces before actually deploying them (this repo is about to be pushed to GitHub for the first time): - community-forms/README.md linked to ../site/index.html, but the dashboard actually lives at the repo root (index.html) — a broken link a contributor would have hit on their first visit. - community-forms/example/example-form.yml was a real .yml file the monitor.yml workflow's `community-forms/**/*.yml` glob would pick up and actually check on the very first scheduled run — example.gov doesn't resolve, so this would show up on the public dashboard as a permanently broken form. Renamed to example-form.yml.template so it stays as a format reference without being swept into real checks. - index.html had a "TODO: link to this repo once it has a real URL" placeholder; filled in now that the repo has one. Also added Cargo.toml's `repository` field and a CI status badge to README.md, now that there's a real URL for both to point at. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent b8933a6 commit 84221ce

5 files changed

Lines changed: 11 additions & 7 deletions

File tree

‎Cargo.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.1.0"
44
edition = "2024"
55
description = "Tests public-service forms for broken flows, accessibility, mobile usability, and lost input."
66
license = "MIT"
7+
repository = "https://github.com/voidstackloop/formwatch"
78
keywords = ["accessibility", "testing", "cli", "civic-tech", "monitoring"]
89
categories = ["command-line-utilities"]
910

‎README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# formwatch
22

3+
[![CI](https://github.com/voidstackloop/formwatch/actions/workflows/ci.yml/badge.svg)](https://github.com/voidstackloop/formwatch/actions/workflows/ci.yml)
4+
35
A CLI that tests public-service forms (permit applications, benefits forms,
46
license renewals) for the things that quietly break them: broken submission
57
flows, inaccessible markup, unusable mobile layouts, lost input, and unclear

‎community-forms/README.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Forms listed here get checked automatically on a schedule (see
44
`.github/workflows/monitor.yml`), with results published to the
5-
[dashboard](../site/index.html) — see
5+
[dashboard](../index.html) — see
66
[docs/community-design.md](../docs/community-design.md) for the full
77
design and why it's built this way (no server, no database).
88

@@ -33,5 +33,7 @@ design and why it's built this way (no server, no database).
3333
no-`--submit` traffic against on a recurring schedule. If you're
3434
unsure, ask in the PR before adding it.
3535

36-
`example/example-form.yml` is a placeholder, not a real form — replace
37-
or remove it, don't leave it mixed in with genuine entries.
36+
The registry starts empty — see `example/example-form.yml.template` for
37+
the format, but don't add it as-is: `example.gov` doesn't resolve, and a
38+
fake entry would just show up on the dashboard as a permanently broken
39+
form. Open a PR with your first real one instead.
File renamed without changes.

‎index.html‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@
2323
</head>
2424
<body>
2525
<h1>formwatch community dashboard</h1>
26-
<!-- TODO: link to this repo once it has a real URL -->
27-
<p class="sub">Public-service forms, checked automatically. See this
28-
project's repository for how to add a form or read the results
29-
yourself.</p>
26+
<p class="sub">Public-service forms, checked automatically. See
27+
<a href="https://github.com/voidstackloop/formwatch">this project's
28+
repository</a> for how to add a form or read the results yourself.</p>
3029
<div id="status">Loading results&hellip;</div>
3130
<div id="forms"></div>
3231

0 commit comments

Comments
 (0)