Skip to content
This repository was archived by the owner on Apr 9, 2026. It is now read-only.

Commit cf2dc81

Browse files
committed
Add site scaffold, PWA, docs, and accessibility
Add initial site scaffolding and major features: editor/config (.editorconfig, .gitignore), site pages (index.html, 404.html), PWA metadata (manifest.json, sw.js updates), and package.json. Introduce documentation and governance files (ACCESSIBILITY.md, ARCHITECTURE.md, CHANGELOG.md, CONTRIBUTING.md, SECURITY.md). Add new utilities and UX improvements in scripts (logger.js, keyboardShortcuts.js, lazyLoader.js, validatePatches.js) and update core scripts (coreUI.js, populatePatches.js, pwa.js, search.js). Add component styles (accessibility, keyboard-shortcuts, pwa-cache) and tweak root.css. Update assets/data/patches.json. These changes set up offline support, accessibility (WCAG-focused), keyboard shortcuts, lazy loading, validation tooling, and logging to improve maintainability and user experience.
1 parent e64c8ca commit cf2dc81

26 files changed

+4451
-135
lines changed

.editorconfig

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
charset = utf-8
11+
trim_trailing_whitespace = true
12+
13+
# HTML files
14+
[*.html]
15+
indent_style = space
16+
indent_size = 2
17+
18+
# CSS/SCSS files
19+
[*.{css,scss,sass}]
20+
indent_style = space
21+
indent_size = 2
22+
23+
# JavaScript files
24+
[*.{js,mjs}]
25+
indent_style = space
26+
indent_size = 2
27+
quote_type = single
28+
29+
# JSON files
30+
[*.json]
31+
indent_style = space
32+
indent_size = 2
33+
34+
# YAML files
35+
[*.{yml,yaml}]
36+
indent_style = space
37+
indent_size = 2
38+
39+
# Markdown files
40+
[*.md]
41+
trim_trailing_whitespace = false
42+
indent_style = space
43+
indent_size = 2
44+
45+
# Makefile
46+
[Makefile]
47+
indent_style = tab
48+
49+
# Service Worker
50+
[sw.js]
51+
indent_style = space
52+
indent_size = 2
53+
54+
# Manifest
55+
[manifest.json]
56+
indent_style = space
57+
indent_size = 2

.gitignore

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
# Editor directories and files
2+
.vscode/*
3+
!.vscode/settings.json
4+
!.vscode/tasks.json
5+
!.vscode/launch.json
6+
!.vscode/extensions.json
7+
.idea/
8+
*.suo
9+
*.ntvs*
10+
*.njsproj
11+
*.sln
12+
*.sw?
13+
*.swp
14+
*~
15+
.DS_Store
16+
17+
# OS generated files
18+
Thumbs.db
19+
ehthumbs.db
20+
Desktop.ini
21+
$RECYCLE.BIN/
22+
23+
# Logs
24+
logs/
25+
*.log
26+
npm-debug.log*
27+
yarn-debug.log*
28+
yarn-error.log*
29+
lerna-debug.log*
30+
pnpm-debug.log*
31+
32+
# Temporary files
33+
*.tmp
34+
*.temp
35+
*.cache
36+
.sass-cache/
37+
38+
# Build outputs (if you add a build process later)
39+
dist/
40+
build/
41+
.output/
42+
.vercel/
43+
.netlify/
44+
45+
# Dependencies (if you add npm later)
46+
node_modules/
47+
.pnp
48+
.pnp.js
49+
50+
# Testing (if you add tests later)
51+
coverage/
52+
*.lcov
53+
.nyc_output/
54+
55+
# Environment variables
56+
.env
57+
.env.local
58+
.env.development.local
59+
.env.test.local
60+
.env.production.local
61+
62+
# Service worker and cache
63+
# Note: sw.js is tracked, but exclude debug versions
64+
sw.debug.js
65+
66+
# Backup files
67+
*.bak
68+
*.backup
69+
*_backup
70+
backup/
71+
72+
# Archive files
73+
*.zip
74+
*.tar.gz
75+
*.rar
76+
*.7z
77+
78+
# Patches in progress (keep the TBD directory clean)
79+
pages/**/TBD.html
80+
pages/**/*.draft.html
81+
82+
# Local test data
83+
test-data/
84+
local-patches/
85+
86+
# Analytics and monitoring data
87+
analytics-data/
88+
performance-reports/
89+
90+
# Static site generators (if used later)
91+
.next/
92+
.nuxt/
93+
.cache/
94+
public/
95+
96+
# Documentation build
97+
docs/.vuepress/dist/
98+
docs/_site/
99+
100+
# Lock files (if you add package managers)
101+
package-lock.json
102+
yarn.lock
103+
pnpm-lock.yaml
104+
105+
# Local configuration
106+
local.config.js
107+
local.config.json

0 commit comments

Comments
 (0)