Build the complete user-facing layer so the product is actually usable by judges through a live URL and demo. This includes authentication, onboarding, financial analysis UI, real-time roundtable streaming, results visualization, and an impact page that clearly communicates the problem and solution. Focus first on making the entire flow work end-to-end, then refine UI/UX for clarity, trust, and demo quality.
- set up basic project structure with index.html, onboarding.html, dashboard.html, history.html, impact.html, and shared config.js
- integrate firebase web sdk and configure project credentials
- implement google sign-in and store user session/token
- handle dev mode vs production auth flow cleanly
- route users based on state (new user → onboarding, existing → dashboard)
- build landing page with headline, subheadline, key stats, and login button
- implement onboarding flow with 7 behavioral questions (one per screen)
- add progress bar and smooth transitions between questions
- store answers in localStorage and send to backend
- redirect to dashboard after onboarding completion
- build dashboard layout (two-column structure: inputs + live calculator)
- implement full financial input form (income, loan, tenure, property details, etc.)
- build live india-specific cost calculator using client-side javascript
- update total cost, emi, affordability ratio in real time on input change
- fetch india defaults from backend on page load and sync with calculator
- implement “analyze” button with loading overlay and staged progress messages
- call backend /analyze endpoint and handle response
- display results section with:
- risk score gauge
- affordability comparison (safe price vs chosen price)
- warning cards
- scenario results (survive/fail)
- build scenario comparison chart (bar chart using chart.js)
- build cash flow projection chart (line chart)
- implement affordability bar visualization (custom html/css)
- add “start roundtable” button after results load
- connect to websocket endpoint for roundtable discussion
- stream messages in real time and render chat-style UI
- show agent avatars, names, and message types
- implement typing/loading indicators between messages
- handle convergence event and display convergence banner
- display final verdict section after roundtable completes
- add PDF download button and connect to backend endpoint
- implement history page showing past sessions with summary cards
- fetch session history from backend and render list
- allow user to view past analysis (basic version)
- build impact page for judges with:
- key problem stats
- explanation of solution
- SDG alignment (SDG 1, SDG 10)
- architecture overview (simple visual/flow)
- google cloud stack explanation
- future scope section
- add navigation bar with links to dashboard, history, and impact page
- handle loading states, empty states, and error states gracefully
- ensure responsiveness across screen sizes
- add basic accessibility (labels, keyboard navigation)
- clean up UI styling for a consistent, professional look
- test full frontend flow against deployed backend
- fix integration issues (API mismatches, websocket bugs, auth issues)
- prepare UI flow for demo video (smooth transitions, no broken states)
Build the complete user-facing layer so the product is actually usable by judges through a live URL and demo. This includes authentication, onboarding, financial analysis UI, real-time roundtable streaming, results visualization, and an impact page that clearly communicates the problem and solution. Focus first on making the entire flow work end-to-end, then refine UI/UX for clarity, trust, and demo quality.