immersive2/public
Michael Mainguy c1503d959e Add configurable feature management system with JSON-based feature flags
Implement comprehensive feature toggle system allowing menu options and features
to be controlled via JSON configuration fetched from API endpoint or static files.

Core System:
- Create FeatureConfig type system with page, feature, and limit-based flags
- Add React Context (FeatureProvider) that fetches from /api/user/features
- Implement custom hooks (useFeatures, useIsFeatureEnabled, useFeatureLimit, etc.)
- Default config disables everything except home page

Integration:
- Update PageHeader to filter menu items based on page flags
- Add ProtectedRoute component to guard routes
- Update VR menu to conditionally render items based on feature flags
- Update CreateDiagramModal to enable/disable options (private, encrypted, invite)
- Update ManageDiagramsModal to use configurable maxDiagrams limit

Configuration Files:
- Add static JSON files for local testing (none, free, basic, pro tiers)
- Add dev proxy for /api/user/features endpoint
- Include README with testing instructions

Updates:
- Complete CLAUDE.md naming conventions section
- Version bump to 0.0.8-27

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 06:52:39 -06:00
..
api/user Add configurable feature management system with JSON-based feature flags 2025-11-18 06:52:39 -06:00
assets Updated config page. 2024-08-30 14:56:13 -05:00
pages updated web styles. 2024-05-10 13:33:30 -05:00
voice Re added quest link. 2024-04-02 14:19:27 -05:00
_headers Added _headers file 2023-08-02 14:47:51 -05:00
_redirects Added netlify _redirects 2023-12-12 07:11:07 -06:00
android-icon-192x192.png Added 3d closet demo, cleaned up menus. 2024-02-02 15:36:47 -06:00
b2b2c.csv Updated config page. 2024-08-30 14:56:13 -05:00
manifest.webmanifest Updated icon 2024-05-07 10:29:47 -05:00
newRelic.js Fixed problem with label editor. 2023-08-17 10:20:39 -05:00
niceware.js Network handler code. 2023-09-05 06:48:55 -05:00
styles.css updated linting warnings, removed unused variables. 2024-08-03 19:16:32 -05:00
sw.js Disabled service worker, enhanced management console. 2024-08-30 12:43:19 -05:00