How simorighi06/presentazione works
Hub X-Ray is a browser-based presentation and draft-review app with an admin configuration mode and a DevMode inspection workspace. Users enter through a site slug or URL, the app resolves configuration and routes to a presentation, draft, admin, or DevMode experience; DevMode supports section inspection and AI-assisted analysis. The graph also preserves the documented client-link and floating-card capabilities. Relationships are limited to source-index references and README-described flows; the backend is not in the supplied tree and is shown only as an external API.
Main entry points: App.tsx App shell · DevModeViewer.tsx DevMode workspace · useAppConfig.ts Config loading · ConfigPanel.tsx Config editor
Components 21
App and routing
- App shell
src/App.tsx - View routing
src/hooks/useAppRouting.ts - Config loading
src/hooks/useAppConfig.ts - Config model
src/types/config.ts - Client links
src/clientLink/useClientLik.ts
Presentation experience
- Presentation viewer
src/components/Presentation/PresentationViewer.tsx - Presentation header
src/components/HUD/HeaderHUD.tsx - Presentation footer
src/components/HUD/FooterHUD.tsx - Floating cards
src/components/Floating
Admin and sharing
- Config editor
src/components/ConfigPan/ConfigPanel.tsx - Admin login
src/components/Login/AdminLoginGate.tsx - Share-link generator
src/clientLink/shareLinkGenerator.tsx
DevMode workspace
- DevMode workspace
src/components/DevMode/DevModeViewer.tsx - Inspection state
src/components/DevMode/hooks/useDevMode.ts - Draft image canvas
src/components/DevMode/DevModeImageViewer.tsx - DevMode toolbar
src/components/DevMode/DevModeTopbar.tsx - DevMode console
src/components/DevMode/DevModeConsole.tsx - Detail panels
src/components/DevMode/panels - AI analysis hook
src/components/DevMode/hooks/useAIAnalysis.ts
Other components
- Browser user
- Analysis API
Connections 26
- Browser user → App shell: opens
README.md - App shell → View routing: resolves view
src/App.tsx - App shell → Config loading: loads settings
src/App.tsx - App shell → Admin login: gates admin
README.md - App shell → Presentation viewer: renders
src/App.tsx - App shell → DevMode workspace: renders
src/App.tsx - App shell → Config editor: renders
src/App.tsx - App shell → Floating cards: renders
src/App.tsx - App shell → Presentation header: renders
src/App.tsx - App shell → Presentation footer: renders
src/App.tsx - Config loading → Config model: uses model
src/hooks/useAppConfig.ts - Config loading → Analysis API: fetches config
- Presentation viewer → Presentation header: renders
src/components/Presentation/PresentationViewer.tsx - Config editor → Config model: uses model
src/components/ConfigPan/ConfigPanel.tsx - App shell → Client links: uses client view
src/App.tsx - Client links → View routing: sets view mode
src/clientLink/useClientLik.ts - DevMode workspace → Inspection state: reads state
src/components/DevMode/DevModeViewer.tsx - DevMode workspace → Draft image canvas: renders canvas
src/components/DevMode/DevModeViewer.tsx - DevMode workspace → DevMode toolbar: renders toolbar
src/components/DevMode/DevModeViewer.tsx - DevMode workspace → DevMode console: renders console
src/components/DevMode/DevModeViewer.tsx - DevMode console → Inspection state: uses state
src/components/DevMode/DevModeConsole.tsx - DevMode console → Detail panels: selects panel
src/components/DevMode/DevModeConsole.tsx - DevMode workspace → AI analysis hook: requests analysis
src/components/DevMode/DevModeViewer.tsx - AI analysis hook → Analysis API: posts analysis
src/components/DevMode/hooks/useAIAnalysis.ts - Config editor → Share-link generator: uses generator
src/components/ConfigPan/ConfigPanel.tsx - App shell → Share-link generator: imports link tools
src/App.tsx