Skip to content

feat: celebrate employee ornament on activation - #39

Merged
xnoto merged 2 commits into
mainfrom
feat/employee-celebration
Sep 9, 2026
Merged

feat: celebrate employee ornament on activation#39
xnoto merged 2 commits into
mainfrom
feat/employee-celebration

Conversation

@xnoto

@xnoto xnoto commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Makes the floating JRPG employee a keyboard-accessible “Celebrate enlightenment” button. Click, tap, Enter, or Space replays a short 280ms squash/rebound with an accent glow; the existing float remains on the wrapper. The visible sprite remains 16×32, while its transparent pointer target expands to 24×32.

Fixes # — not applicable; owner-approved interaction enhancement.

Type of change

  • Bug fix
  • Feature / enhancement
  • Documentation
  • Infrastructure (OpenTofu root or module)
  • GitOps desired state (manifests, kustomize, charts, SOPS/KSOPS secrets)
  • Container image
  • CI / reusable workflow
  • Refactor / cleanup
  • Breaking change

Validation

  • Required pull-request checks pass — static-checks
  • Generated or centrally distributed files were regenerated by their owning automation, not hand-edited (not applicable: source-only HTML/CSS/JS interaction)

Manual branch-browser validation confirmed native button semantics and accessible name, 2px keyboard focus outline, pointer activation including the expanded hit area, click replay/cleanup, and reduced-motion behavior (float, celebration animation, and glow disabled while the button remains usable).

Remaining validation gate: existing PR CI runs static pre-commit checks and service-worker syntax only; it does not execute browser interaction or reduced-motion tests. This PR intentionally does not broaden CI. Owner review must accept that coverage limitation before merge.

Impact and rollout

Self-contained in makeitworkcloud/www: only makeitwork.cloud/index.html changes. The source is directly deployed; no producers, consumers, pins, generated copies, PWA behavior, service worker, metadata, links, assets, onion-site content, or workflow configuration change. After an owner-approved merge, deploy.yml automatically runs static checks, syncs both site directories to S3, and purges Cloudflare. Rollback is a revert followed by the same automatic deployment.

Safety and secrets

  • Contains no plaintext secrets, decrypted SOPS values, state files, kubeconfigs, tokens, or private endpoints
  • No local OpenTofu init/plan/apply/destroy/import/state operations were run or claimed — plans come from pull-request checks
  • Breaking or irreversible effects are described above with rollback notes

This change was materially produced by an AI agent under owner direction.

Replace the decorative aria-hidden span with a semantic button that plays
a one-shot squash/bounce celebration with blue-accent glow on activation,
while keeping the continuous float animation, sprite geometry, and all
surrounding copy, layout, tokens, and assets unchanged.

- button.koan-ornament with aria-label "Celebrate enlightenment"; SVG aria-hidden
- 280ms employeeCelebrate keyframes on the SVG (wrapper float untouched)
- focus-visible outline using the existing --focus-ring token
- prefers-reduced-motion: float and celebration animation/glow disabled,
  button and focus behavior retained
- minimal JS replays the class on each activation and removes it after
  the effect (animationend + timeout fallback)
Commit 3383b38 accidentally inserted a duplicated "12-5.373 12-12 "
segment into the MEGA contact icon's path data. Restore the path d
attribute exactly to its base-main value.

Also expand the koan-ornament button's pointer target to 24px wide with
a transparent ::before pseudo-element (4px horizontal outsets), without
scaling or repositioning the visible 16x32 SVG. Celebration behavior,
semantics, keyboard/focus, reduced-motion, and PWA behavior unchanged.
@xnoto
xnoto requested a review from a team as a code owner September 8, 2026 05:33
@xnoto
xnoto merged commit 20d3a31 into main Sep 9, 2026
2 checks passed
@xnoto
xnoto deleted the feat/employee-celebration branch September 9, 2026 01:18
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.

1 participant