Skip to content

feat: add React component library with template build pipeline and dev tooling#1

Merged
Saoutax merged 5 commits into
mainfrom
dev
Jun 29, 2026
Merged

feat: add React component library with template build pipeline and dev tooling#1
Saoutax merged 5 commits into
mainfrom
dev

Conversation

@Saoutax

@Saoutax Saoutax commented Jun 29, 2026

Copy link
Copy Markdown
Member

No description provided.

Saoutax and others added 5 commits June 26, 2026 20:35
Set up a local development server that replicates the SAPedia MediaWiki
Citizen skin layout, enabling preview of template components in isolation.

- Add Vite config with React plugin and ~ path alias
- Add HTML shell with Citizen skin header (logo, search, drawer, preferences)
- Add React SPA entry with router, preferences panel, and page previews
- Add page registry using import.meta.glob to scan src/templates/*
- Add custom radio and toggle switch components for preferences
- Add dev script that fetches Citizen skin CSS then starts Vite

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Integrate Tailwind CSS via PostCSS with @tailwindcss/postcss for production
builds and @tailwindcss/vite for the dev server. Register a new Tailwind
gadget in the gadget definition list.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…ntation

- Create dual-mode wiki components (dev HTML preview / build wikitext output)
- Add template build script with MediaWiki noinclude wrapper
- Integrate template build into main build pipeline and deploy mapping
- Add component documentation with usage examples
- Refine Mainpage template components with Tailwind styling
- Replace hardcoded vite define with .env.development + loadEnv

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@Saoutax Saoutax self-assigned this Jun 29, 2026
@Saoutax Saoutax added the enhancement New feature or request label Jun 29, 2026
@Saoutax Saoutax merged commit 3e5777d into main Jun 29, 2026
6 of 7 checks passed
@Saoutax Saoutax deleted the dev branch June 29, 2026 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant