Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
c21540d
Merge main into rebrand-doors (2026-12-02)
LukasWallrich Dec 2, 2026
9b3b8d6
SEO test fixture and sister-site list for the FORRT ORE redirect
LukasWallrich Dec 2, 2026
f543749
Rename /just_os_chatbot/ to /just-os-chatbot/ with Hugo alias
LukasWallrich Dec 2, 2026
9521c66
Rename /teaching_os/ to /teaching-os/ with Hugo alias
LukasWallrich Dec 2, 2026
40dfa3e
Rename /mapping_os/ to /mapping-os/ with Hugo alias
LukasWallrich Dec 2, 2026
e0e5923
Rename /about/cite_us/ to /about/cite-us/ with Hugo alias
LukasWallrich Dec 2, 2026
1af363b
Redirect /talk/openday22/ to /about/us/ via Hugo alias
LukasWallrich Dec 2, 2026
da09d8b
Remove placeholder #contact social links from nine authors
LukasWallrich Dec 2, 2026
3ae36e0
Show five Google Forms as native forms that contact Google only on su…
LukasWallrich Dec 2, 2026
632b7b1
SEO test: cover the production redirect to FORRT ORE
LukasWallrich Dec 2, 2026
914701c
Merge branch 'sync/main-into-doors-20261202' into doors/native-google…
LukasWallrich Dec 2, 2026
71caf30
SEO checks: renumber the empty-icons check; accept redirects on the V…
LukasWallrich Dec 2, 2026
b1a7ed4
Forms: load the script only where a form is; reject unknown arguments…
LukasWallrich Dec 2, 2026
a2432f6
Merge remote-tracking branch 'origin/doors/hyphen-urls' into sync/mai…
LukasWallrich Dec 2, 2026
aa9d5bc
Merge main into rebrand-doors (through #1339)
LukasWallrich Dec 2, 2026
7249b66
Merge branch 'sync/main-into-doors-20261202' into doors/native-google…
LukasWallrich Dec 2, 2026
9139e32
Innovative Mentoring: offer the lab survey as a template, not a live …
LukasWallrich Dec 2, 2026
1595f02
Forms check: a crash is not a changed form
LukasWallrich Dec 2, 2026
0e5618b
Lab survey: two typos in the question list
LukasWallrich Dec 2, 2026
dacb4c0
Merge remote-tracking branch 'origin/rebrand-doors' into doors/native…
LukasWallrich Dec 2, 2026
35eb2be
Accessibility statement: forms are no longer embedded
LukasWallrich Dec 2, 2026
fd5be9f
Merge remote-tracking branch 'origin/rebrand-doors' into doors/native…
LukasWallrich Dec 2, 2026
ae71d9d
Accessibility statement: keep forms, as some still open on Google's site
LukasWallrich Dec 2, 2026
7fadec6
Merge remote-tracking branch 'origin/rebrand-doors' into doors/native…
LukasWallrich Dec 2, 2026
743c23d
Design check: look for Google in a request's host, not its whole address
LukasWallrich Dec 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,15 @@ Triggers `deploy.yaml` after successful processing via `repository_dispatch`.

## Quality Checks

### [link-check.yaml](link-check.yaml)
**Weekly link check, and a check that the site's forms match Google**

| Trigger | Runs on |
|---------|---------|
| Mondays at 01:30 UTC, manual dispatch | `main` |

Besides checking links, it compares `assets/gforms/` with the live Google Forms. If a form has changed, it opens an issue assigned to the site maintainer. Fix it promptly by running `python3 scripts/build_google_forms.py` and committing the result, because Google may discard responses sent from the site until then. If the script stops with an error, the site cannot reproduce the change: undo it in Google or update `layouts/partials/google_form.html`. The issue closes itself once the definitions match again.

### [spell-check.yaml](spell-check.yaml)
**Spelling validation using codespell**

Expand Down
54 changes: 52 additions & 2 deletions .github/workflows/link-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ name: Link Checker
# =======================
# Website Link Validation
# =======================
# Purpose: Downloads the latest built site and checks all links (internal + external)
# Purpose: Downloads the latest built site and checks all links (internal + external), and
# compares the site's copies of Google Forms (assets/gforms/) with the live forms
# Triggers: Weekly on Mondays at 01:30 UTC or manual dispatch
# Reports: Updates the existing open "link-check"-labeled issue (or creates one if none exists)
# Reports: Updates the existing open "link-check"-labeled issue (or creates one if none exists).
# A changed Google Form gets its own issue, which closes once the copies match again
# Config: See .lychee.toml for exclusion patterns and request settings

on:
Expand Down Expand Up @@ -548,3 +550,51 @@ jobs:
gh issue create --title "$TITLE" --body-file "$BODY_FILE" --label link-check
fi

google-forms:
name: Check Google Forms
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
ISSUE_TITLE: A Google Form on forrt.org has changed
steps:
- name: Checkout repository
uses: actions/checkout@v6

- name: Compare the site's forms with the live Google Forms
id: compare
run: |
set +e
python3 scripts/build_google_forms.py --check 2>&1 | tee /tmp/google-forms.txt
echo "code=${PIPESTATUS[0]}" >> "$GITHUB_OUTPUT"
Comment thread
LukasWallrich marked this conversation as resolved.
Resolved

- name: Create or update the issue
if: steps.compare.outputs.code == '1'
run: |
{
echo "A Google Form shown on forrt.org no longer matches the copy the site uses. Until this is fixed, Google may discard responses sent from the site, and visitors are not told."
echo
echo '```'
cat /tmp/google-forms.txt
echo '```'
echo
echo "**To fix:** run \`python3 scripts/build_google_forms.py\` and commit the result. If it stops with an error, the site cannot reproduce the change: undo it in Google or update \`layouts/partials/google_form.html\`."
} > /tmp/google-forms-issue.md
EXISTING=$(gh issue list --state open --search "\"$ISSUE_TITLE\" in:title" --json number --jq '.[0].number // empty')
if [ -n "$EXISTING" ]; then
gh issue edit "$EXISTING" --body-file /tmp/google-forms-issue.md
else
gh issue create --title "$ISSUE_TITLE" --body-file /tmp/google-forms-issue.md --assignee LukasWallrich
fi

- name: Close the issue once the forms match
if: steps.compare.outputs.code == '0'
run: |
EXISTING=$(gh issue list --state open --search "\"$ISSUE_TITLE\" in:title" --json number --jq '.[0].number // empty')
if [ -n "$EXISTING" ]; then
gh issue close "$EXISTING" --comment "The site's copy matches the live forms again."
fi

- name: Fail the run if the comparison could not finish
if: steps.compare.outputs.code != '0' && steps.compare.outputs.code != '1'
run: exit 1
37 changes: 37 additions & 0 deletions assets/css/doors/gform.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/* Google Forms drawn as the site's own forms (layouts/partials/google_form.html). `form.gform.gform` outweighs
article.css, which loads later and resets paragraph, label and heading type. */
form.gform.gform{max-width:720px;margin:24px 0;padding:24px;background:#fff;border:1.5px solid var(--line);border-radius:var(--r-large);color:var(--ink);font:16px/1.5 var(--text);text-align:start;overflow-wrap:anywhere}
form.gform.gform .gform-heading{margin:0 0 8px;font-size:22px;line-height:1.25}
form.gform.gform :is(p.gform-description,p.gform-text){max-width:none;margin:0 0 22px;font-size:16px;line-height:1.5}
form.gform.gform .gform-question{min-width:0;margin:0 0 22px;padding:0;border:0}
form.gform.gform .gform-title{display:block;float:none;width:100%;margin:0 0 6px;padding:0;font-size:16px;font-weight:600;line-height:1.4}
form.gform.gform .gform-title:has(b){font-weight:400}
form.gform.gform .gform-title b{font-weight:600}
.gform-required{color:var(--urgent)}
form.gform.gform p.gform-help{max-width:none;margin:0 0 8px;color:var(--soft);font-size:15px;line-height:1.4}
form.gform.gform .gform-input{display:block;width:100%;min-height:44px;padding:8px 12px;background:#fff;border:1.5px solid var(--soft);border-radius:var(--r-small);color:var(--ink);font:16px/1.4 var(--text)}
form.gform.gform .gform-input:focus{border-color:var(--ink);outline:3px solid var(--ink);outline-offset:0}
form.gform.gform .gform-option{display:flex;gap:10px;align-items:flex-start;margin:0;padding:5px 0;font-size:16px;font-weight:400;line-height:1.4;cursor:pointer}
.gform-option :is(input[type=radio],input[type=checkbox]){flex:none;width:18px;height:18px;margin:2px 0 0;accent-color:var(--link)}
form.gform.gform .gform-other{flex-wrap:wrap;align-items:center}
form.gform.gform .gform-other label{display:flex;gap:10px;margin:0;font-size:16px;font-weight:400}
form.gform.gform .gform-other .gform-input{flex:1 1 200px;width:auto}
form.gform.gform .gform-clear{min-height:36px;padding:0;background:none;border:0;color:var(--link);font:15px/1.3 var(--text);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.gform-clear[hidden]{display:none}
form.gform.gform .gform-submit{min-height:44px;padding:10px 24px;background:var(--link);border:0;border-radius:999px;color:#fff;font:700 16px/1.3 var(--text);cursor:pointer}
form.gform.gform .gform-submit:hover{background:var(--ink)}
form.gform.gform .gform-submit:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
form.gform.gform .gform-submit:disabled{background:var(--soft);cursor:progress}
form.gform.gform p.gform-note{max-width:none;margin:10px 0 0;color:var(--soft);font-size:15px;line-height:1.4}
form.gform.gform .gform-note a{color:inherit;text-decoration:underline}
form.gform.gform p.gform-status{max-width:none;margin:12px 0 0;font-size:16px;font-weight:600;line-height:1.5}
form.gform.gform p.gform-status:empty{display:none}
form.gform.gform p.gform-status.is-error{color:var(--urgent)}
.gform-body[hidden]+.gform-status{margin-top:0!important}
.gform-status:focus:not(:focus-visible){outline:none}
@media(pointer:coarse){form.gform.gform .gform-option{padding:10px 0}form.gform.gform .gform-clear{min-height:44px}}
@media(max-width:760px){form.gform.gform{padding:18px 16px}}
/* A survey readers copy for their own use (Educators' Corner 007): credit, copy button and its questions. */
.article-layout .article-style .survey-template{margin:24px 0;padding:20px 22px;background:var(--surface);border-radius:var(--r-large)}
.article-layout .article-style .survey-template>:first-child{margin-top:0}
.article-layout .article-style .survey-template>:last-child{margin-bottom:0}
12 changes: 4 additions & 8 deletions assets/css/doors/hub.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,22 +95,18 @@
.rh-checklist{margin:0;padding-inline-start:1.25em;display:grid;gap:10px;font-size:16px;line-height:1.5}
.rh-checklist li{margin:0}
.rh-checklist a{color:var(--link);font-weight:600;text-decoration:underline;text-underline-offset:3px}
/* Submit page: highlight the duplicate-check step right above the click-to-load form so both steps lead on phones. */
/* Submit page: highlight the duplicate-check step right above the form so both steps lead on phones. */
.rh-submit .rh-head{padding-bottom:18px}
.rh-submit .rh-main .article-style p:has(+ .click-to-load){margin:18px 0 14px;padding:14px 18px;background:var(--res-bg);border-inline-start:4px solid var(--res);border-radius:var(--r-small);font-size:17px;line-height:1.5}
.rh-submit .rh-main .article-style p:has(+ .click-to-load) a{color:var(--link);font-weight:600;text-decoration-line:underline;text-decoration-color:var(--u-rest-color);text-decoration-thickness:var(--u-thick);text-underline-offset:var(--u-offset);text-decoration-skip-ink:auto}
.rh-submit .rh-main .article-style p:has(+ .click-to-load) a:is(:hover,:focus-visible){text-decoration-color:currentColor;text-decoration-thickness:var(--u-thick-hover)}
.rh-submit .rh-main .article-style .click-to-load{margin-top:0;padding:18px 20px;background:var(--surface);border:1.5px solid var(--line);border-radius:var(--r-large)}
.rh-submit .rh-main .article-style .click-to-load p{margin:0 0 14px;font-size:16px;line-height:1.5}
.rh-submit .rh-main .article-style .click-to-load .btn-primary{margin-inline-end:14px}
.rh-submit .rh-main .article-style p:has(+ .gform){margin:18px 0 14px;padding:14px 18px;background:var(--res-bg);border-inline-start:4px solid var(--res);border-radius:var(--r-small);font-size:17px;line-height:1.5}
.rh-submit .rh-main .article-style p:has(+ .gform) a{color:var(--link);font-weight:600;text-decoration-line:underline;text-decoration-color:var(--u-rest-color);text-decoration-thickness:var(--u-thick);text-underline-offset:var(--u-offset);text-decoration-skip-ink:auto}
.rh-submit .rh-main .article-style p:has(+ .gform) a:is(:hover,:focus-visible){text-decoration-color:currentColor;text-decoration-thickness:var(--u-thick-hover)}
@media(max-width:1000px){
.rh-two-col{grid-template-columns:1fr;grid-template-areas:none;gap:24px}
.rh-main,.rh-panel{grid-area:auto}
}
@media(max-width:760px){
.rh-submit .rh-head .heading-plate{display:none}
.rh-panel-jumps a{min-height:44px}
.rh-submit .rh-main .article-style .click-to-load{padding:16px}
}

/* Large-scale replication projects directory: Research toolbar + clean linked table / phone cards. */
Expand Down
1 change: 0 additions & 1 deletion assets/css/doors/sections.css
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,6 @@ html:has(.contributor-az:not([hidden])){scroll-padding-top:calc(var(--contributo
.article-layout .article-style .lesson-plan-pair>div>:is(h2,h3):first-child{margin-top:0}
.article-layout .article-style .lesson-plan-panel{padding:22px 24px;background:var(--edu-bg);border-radius:var(--r-large)}
.article-layout .article-style .lesson-plan-panel>:last-child{margin-bottom:0}
.article-layout .article-style .lesson-plan-panel .click-to-load{background:#fff}
@media(min-width:1001px){.article-layout .article-style .lesson-plan-pair{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}}
@media(min-width:1240px){.article-layout .article-style .lesson-plan-pair{grid-template-columns:minmax(0,580px) minmax(0,1fr)}}
@media(max-width:1000px){.article-layout .article-style .lesson-plan-panel{margin-top:16px}}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"id": "1FAIpQLSckPkeCR6_hsmxqV9yQ66oLgLOhnnHBrk4ejgIBTsOQ0mZ6gg",
"title": "",
"description": "This is a simple, anonymous, open-text short survey for users of FORRT's Lesson Plans to give their feedback (critical or otherwise) so that we can learn how to better these resource. Please also feel free to share your experience, students experience, and any suggestions that may have arisen. If you would like to provide us with files, please email us at info@forrt.org",
"confirmation": "Your response has been recorded.",
"collect_email": false,
"items": [
{
"type": "paragraph",
"entry": "973290020",
"title": "What is your experience using FORRT's lesson plans? Any feedback or experience or suggestion is welcomed.",
"help": "",
"required": true
},
{
"type": "short",
"entry": "446372946",
"title": "What is your email? (if you want us to contact you back)",
"help": "",
"required": false
}
]
}
Loading
Loading