Skip to content

176 web animation techniques, each a live demo with plain settings and a ready-made prompt for your AI assistant. No dependencies, no build step.

docs: update the GitHub templates for the guided-steps page

matin697334a9ed04
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
index cc9a6ef7..5bbcd442 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -2,4 +2,4 @@ blank_issues_enabled: true
contact_links:
- name: Browse the live handbook
url: https://matinmonshizadeh.github.io/animation-handbook/
- about: See all 113 techniques running before filing an issue.
+ about: See all 129 techniques running before filing an issue.
diff --git a/.github/ISSUE_TEMPLATE/new_technique.yml b/.github/ISSUE_TEMPLATE/new_technique.yml
index 09f6f693..7dbb70a3 100644
--- a/.github/ISSUE_TEMPLATE/new_technique.yml
+++ b/.github/ISSUE_TEMPLATE/new_technique.yml
@@ -24,6 +24,24 @@ body:
- 07 Ambient & Background
validations:
required: true
+ - type: input
+ id: slug
+ attributes:
+ label: Suggested slug
+ description: The folder name under the category, in lowercase with hyphens.
+ placeholder: e.g. spring-follow
+ validations:
+ required: true
+ - type: dropdown
+ id: kind
+ attributes:
+ label: Page kind
+ description: How the visitor meets the demo. It decides the player bar under the stage. If you are not sure, leave it and we will agree on it here.
+ options:
+ - Plays once (Replay, Loop, Slow motion)
+ - Loops (Pause, Slow motion)
+ - Do it (Show me; the visitor hovers, clicks, drags or presses Tab)
+ - Scroll (Play, Back to top)
- type: textarea
id: what
attributes:
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index 80efe8a3..da72b3bd 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -8,13 +8,19 @@
- [ ] One technique = one folder under `animations/<category>/<slug>/`
- [ ] Folder contains exactly `index.html` and `README.md`
+- [ ] Copied from a page of the same kind, with `data-hb-kind` set on the body and the player bar unchanged
- [ ] No build step, no frameworks, no external/CDN requests — runs offline
- [ ] Under ~300 lines
- [ ] README has all six sections (What it is / When / How / Key parameters / Production notes / See also)
-- [ ] Registered in the root `index.html` `CATS` array and the category `README.md`
+- [ ] Registered in the root `index.html` `CATS` array (with the page's one-line description) and in `sitemap.xml`
+- [ ] Listed in the category `README.md` and the root `README.md` with the same name and description
+- [ ] Linked from its neighbors (Next / Previous), and the `NN.MM` category line of later pages renumbered
+- [ ] Technique count updated where it is written (root `README.md`, home page, `tests/pages.test.js`, `.github/ISSUE_TEMPLATE/config.yml`)
- [ ] Responsive: reflows at 375px, touch targets ≥ 44px, works with touch
- [ ] Respects `prefers-reduced-motion`
- [ ] Animates only `transform` / `opacity`
+- [ ] If a shared file changed, `?v=N` is bumped on every page
+- [ ] `node --test "tests/*.test.js"` passes and the page check gives six `ok` lines for the page
## Screenshot / GIF