Commit Graph

16 Commits

Author SHA1 Message Date
9ed775e04a Implement Phase 2 activity monitoring frontend
- Add ActivityStream page with paginated activity list
- Add user, action type, and date range filters
- Implement auto-refresh every 30 seconds (pauses with filters)
- Add "New activity" indicator for real-time updates
- Add export modal with date range picker for CSV download
- Update admin navigation to dropdown with Users and Activity links
2026-01-22 13:01:49 -07:00
a05f99080c Implement Phase 1 admin dashboard frontend
- Add AdminRoute component for admin-only route protection
- Add admin navigation link (visible only to admins)
- Create UserList page with pagination, search, and filters
- Create UserDetail page with enable/disable and promote/demote
- Add confirmation dialogs for destructive actions
- Prevent self-modification (cannot disable/demote yourself)
- All admin routes protected with AdminRoute wrapper
2026-01-22 12:06:33 -07:00
d285429e25 Updates to units page 2026-01-22 11:59:17 -07:00
7b596a9d73 Add frontend authentication with Google OAuth
- Create AuthContext and AuthProvider for auth state management
- Create useAuth hook for easy access to auth state
- Create ProtectedRoute component to guard authenticated routes
- Create Login page with Google sign-in button and error handling
- Create useActivityTracker hook for frontend activity logging
- Update App.jsx to protect all routes and add user display/logout
- Update main.jsx to wrap app with AuthProvider
- Add credentials: 'include' to all API fetch calls
2026-01-21 18:00:22 -07:00
f33ef01a6d Add mobile-friendly sticky column to units list table 2026-01-21 15:08:55 -07:00
2ffe3a0197 Change price filter max to mean no limit
Some checks failed
Deploy Apartment Dashboard / deploy (push) Has been cancelled
When the slider is at max (10000), no price filtering is applied.
Moving below 10000 starts filtering. Display shows "No limit" at max.
2026-01-21 13:13:42 -07:00
4e8d64ddc8 Frontend improvements (#2)
Some checks failed
Deploy Apartment Dashboard / deploy (push) Failing after 1s
Co-authored-by: Stephen Minakian <stephenminakian@gmail.com>
Co-committed-by: Stephen Minakian <stephenminakian@gmail.com>
2026-01-21 12:04:13 -07:00
5e0cbc2efc Improve chart visualization and UI layout (#1)
Some checks failed
Deploy Apartment Dashboard / deploy (push) Failing after 1s
Co-authored-by: Stephen Minakian <stephenminakian@gmail.com>
Co-committed-by: Stephen Minakian <stephenminakian@gmail.com>
2026-01-21 11:03:13 -07:00
a2fe657a19 Add URL routing for pages
Some checks failed
Deploy Apartment Dashboard / deploy (push) Failing after 1s
- Install react-router-dom for client-side routing
- Overview accessible at /
- Available Units accessible at /units
- Analytics accessible at /analytics
- Unknown routes redirect to overview
- Update page title to Towers Tracking
2026-01-21 10:38:31 -07:00
6d89399c23 Add sorting, filtering fixes, analytics, and UI improvements
Some checks failed
Deploy Apartment Dashboard / deploy (push) Failing after 1s
- Add alphabetical sorting as default with multiple sort options
- Fix bedroom filter to properly handle studios (0 BR)
- Update bedroom filter options to Studio, 1 BR, 2 BR
- Add time range selector (1M, 1Y, All) for unit price history charts
- Fetch full price history on demand when viewing unit details
- Add comprehensive analytics page with monthly trends, seasonality,
  plan performance, and historical price comparisons
- Display last scrape time from backend instead of frontend refresh time
2026-01-21 10:08:54 -07:00
763e5a0785 Update to real api
All checks were successful
Deploy Apartment Dashboard / deploy (push) Successful in 9m59s
2025-07-15 22:28:03 -06:00
c1a7857787 Added readme
All checks were successful
Deploy Apartment Dashboard / deploy (push) Successful in 10m0s
2025-07-15 17:06:01 -06:00
89f2a82c58 Missing dockerfile content
All checks were successful
Deploy Apartment Dashboard / deploy (push) Successful in 10m5s
2025-07-15 16:41:53 -06:00
29622f54ef Add deployment workflow
Some checks failed
Deploy Apartment Dashboard / deploy (push) Failing after 4m57s
2025-07-15 16:35:58 -06:00
1708486fe7 Add deployment workflow and Docker configuration 2025-07-15 16:33:57 -06:00
be399f30fe Initial commit: Apartment dashboard React app 2025-07-15 16:22:17 -06:00