CRC v0.4.0 – SvelteKit Rebuild
This release introduces a full game editor, community game submissions, global search, a news CMS, runner profile theming, and a significantly expanded admin toolkit. The Cloudflare Worker has also been upgraded with KV-backed global rate limiting.
Added
Core Platform
- Full SvelteKit 2 + Svelte 5 rebuild
- Complete TypeScript codebase
- SCSS styling system with reusable components and theme tokens
- CSS custom property theme system (
--accent,--bg,--panel, etc.)
Game Management
Full admin game editor (
/admin/game-editor/[game_id])- Multi-tab editor (General, Categories, Rules, Challenges, Restrictions, Characters, Difficulties, History)
- Cover image upload with crop tool
- Slug generation with lock protection
- Tag editors for platforms, genres, and aliases
- Flexible Fixed Loadout system
Community game submission wizard (
/submit-game)- Multi-step form with category builder
- Challenge and restriction editors
- Character configuration
- Glitch category configuration
- Turnstile CAPTCHA and banned-term validation
Game Pages
New tabbed layout:
- Overview
- Runs
- Rules
- History
- Resources
- Forum
- Suggest an Update
- Submit Run
Advanced run filtering
- multi-select challenge / restriction filters
- character search
- glitch category filtering
- verified-only toggle
- sortable tables
- pagination
Interactive Rules Builder
Suggest Update page with screenshot uploads
Runner Profiles
Fully redesigned runner pages with tabs:
- Overview
- Run Statistics
- Achievements
- Contributions
- Activity
Banner system with advanced display options
Avatar crop tool
Country flags and “Ally of” field
Personal goals system
Community achievements display
Activity timeline
Profile Editing & Theming
- Complete profile editor (
/profile/edit) - Social links approval system
- Highlights editor with video validation
- Personal goals progress tracking
- Profile privacy toggle
Theme Customizer
- Color presets and custom colors
- Background image support
- Font family selection
- Text outline toggle
- Real-time preview
Theme presets:
- Default
- Pink
- Blue
- Purple
- Red
- Gold
- Cyan
- Lime
Global Search
- Unified search page (
/search) - Searches across:
- games
- runners
- runs
- teams
- Category filter tabs
- Header search integration
News System
- Admin news CMS (
/admin/news) - Markdown editor with preview
- Image uploads
- Tag system
- Featured posts
- Homepage news carousel
Admin Toolkit
Moderation Tools
- Runs management with bulk operations
- Profile approvals and change requests
- Game review interface
- Reports management
- Game update suggestion queue
Staff Tools
- Staff guides with in-app markdown
- User management with role assignment
- Per-game moderator / verifier assignments
System Tools
- Service health dashboard
- Debug tools (role simulation, session inspection)
Permissions System
Role hierarchy:
- super_admin
- admin
- moderator
- verifier
- user
- non_user
Route-level access control
Role simulation tools for testing
Content Systems
- Report modal with CAPTCHA
- Markdown rendering across the platform
- Banned terms validation
- Country data module (236 countries)
Infrastructure
- Profile onboarding flow
- Auth callback with redirect logic
- Scroll position preservation
- Toast notification system
- Debug bar component
Changed
UI
- Redesigned tab system
- Unified button styles
- Improved spacing and layout
- Game hero layout improvements
- Footer redesigned with 4-column grid
Auth
- Auth system now uses unified
profilestable - Header profile detection logic improved
- Supabase browser client hydration fixed
- Admin requests use explicit bearer tokens
Worker
- Cloudflare Worker expanded with:
- server-side run validation
- Turnstile verification
- KV-backed global rate limiting
Internal
Architecture
- Full Svelte 5 rune syntax (
$state,$derived,$effect) - Server data layer split between dynamic Supabase data and repo-based static content
- Centralized store architecture for auth, theme, scroll, debug, and notifications
- Standardized path aliases (
$lib,$stores,$components,$types)
Configuration
- YAML configuration system for:
- admin config
- banned terms
- default rules
- platforms
- genres
- moderators
- game history
Security
- Hardened CSP headers
- Strict cache policy
- Admin/profile routes marked
no-store
CI
- Type checking via
svelte-check - ESLint validation
Upcoming
- Notification system
- Messaging system
- Spanish language support
- Verifier CMS with inline editing
- Achievements/badges UI
- Per-game leaderboards
- Co-op run support
- Server-side pagination
- Accessibility pass (~142 a11y warnings)