Commit Graph

42 Commits

Author SHA1 Message Date
9624eab798 fix(dashboard: weather tile spacing
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 1m8s
2025-10-31 01:26:13 +00:00
1a2bea01d1 feat(dashboard): implement light scenes
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 1m9s
2025-10-30 02:49:17 +00:00
5db9d6b139 fix(dashboard): add left padding 2 weather summary 2025-10-30 01:51:28 +00:00
045cfb46ee fix(dashboard): brightness slider double thumb
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 1m8s
instead of storing brightness as 0-100%, store brightness "steps"
instead that equal to the number of bars where step 0 = off

Co-authored-by: Ona <no-reply@ona.com>
2025-10-30 01:33:02 +00:00
e168f3ad4a fix(dashboard): show device friendly names 2025-10-30 00:33:07 +00:00
411c5648df build: fix backend build issue
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 58s
should copy from deps stage when copying packages node_modules
2025-10-30 00:28:35 +00:00
60b4cd79a7 build: fix backend build issue
Some checks failed
Build and Publish Docker Image / build-and-push (push) Failing after 26s
forgot to also copy packages node_modules in backend build stage
2025-10-30 00:26:02 +00:00
ba176d2ec1 build: fix dashboard build issue
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 1m10s
forgot to copy packages node_modules when in dashboard build stage
2025-10-30 00:20:16 +00:00
fb1fa642af fix(dashboard): dont use crypto randomUUID
Some checks failed
Build and Publish Docker Image / build-and-push (push) Failing after 2m38s
use nanoid for jrpc request id generation instead

Co-authored-by: Ona <no-reply@ona.com>
2025-10-30 00:13:08 +00:00
4478cdbcb3 fix(dashboard): add more websocket related logs
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 1m8s
2025-10-29 23:10:25 +00:00
866fd0eacc feat(dashboard): improve brightness slider anim
Co-authored-by: Ona <no-reply@ona.com>
2025-10-29 23:09:51 +00:00
664cae8d68 ci: fix wrong dockerfile build arg
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 1m0s
2025-10-28 01:31:29 +00:00
003365c0ca build: fix vite env var not updated
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 1m7s
2025-10-28 01:26:06 +00:00
d7eddd48a7 build: fix packages not copied in dockerfile
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 1m7s
Co-authored-by: Ona <no-reply@ona.com>
2025-10-28 01:15:36 +00:00
b55d99dd9e feat: initial zigbee control implementation
Some checks failed
Build and Publish Docker Image / build-and-push (push) Failing after 27s
Co-authored-by: Ona <no-reply@ona.com>
2025-10-28 01:11:57 +00:00
2e63609129 feat(dashboard): design refresh
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 1m5s
2025-10-26 16:49:35 +00:00
6e9c5291ba feat(dashboard): make current temp bigger 2025-10-26 15:50:03 +00:00
6c3ef85cb8 fix(dashboard): more tfl tile styling improvement 2025-10-26 15:48:47 +00:00
88b8f7cdee fix(dashboard): improve tfl tile styling 2025-10-26 15:46:07 +00:00
2a37483d88 fix(dashboard): weather descr 2 close to temp bar 2025-10-26 15:36:22 +00:00
a67213e669 chore(dashboard): remove console.log
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 1m3s
2025-10-26 15:27:04 +00:00
90a1f9faf8 ci: remove gh action cache behavior
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 1m6s
2025-10-25 01:55:39 +00:00
1abfc44908 ci: fix vite env vars not passed when build
Some checks failed
Build and Publish Docker Image / build-and-push (push) Failing after 2m20s
Co-authored-by: Ona <no-reply@ona.com>
2025-10-25 01:53:13 +00:00
f7cc0c38a2 ci: remove github action caching
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 56s
2025-10-25 01:33:36 +00:00
906e9dc86f fix: unignore bun lockfile
Some checks failed
Build and Publish Docker Image / build-and-push (push) Failing after 2m22s
2025-10-25 01:29:30 +00:00
442bd084ca build: add build docker gh action file
Some checks failed
Build and Publish Docker Image / build-and-push (push) Failing after 2m56s
Co-authored-by: Ona <no-reply@ona.com>
2025-10-25 01:26:02 +00:00
5640ffa990 build: dockerize repo
Co-authored-by: Ona <no-reply@ona.com>
2025-10-25 01:21:49 +00:00
6c3701ad32 fix(backend): remove weather availability endpoint 2025-10-25 01:16:24 +00:00
09a4aa40f4 feat(backend): add code to serve dashboard
Co-authored-by: Ona <no-reply@ona.com>
2025-10-25 01:16:12 +00:00
220d25ccab feat(dashboard): impl server monitoring 2025-10-25 01:09:53 +00:00
189a6c4401 feat(dashboard): format tube line labels 2025-10-25 01:09:32 +00:00
3be59981ed build: add tailscale to devcontainer 2025-10-25 01:07:19 +00:00
c90d9655d8 feat(dashboard): tfl err state handling 2025-10-24 23:10:46 +00:00
7b28683e73 fix(dashboard): tfl status loading state 2025-10-24 23:09:12 +00:00
d5a53e3532 fix(dashboard): tfl status items fragment key
Co-authored-by: Ona <no-reply@ona.com>
2025-10-24 23:08:05 +00:00
f884982766 feat(dashboard): add TfL disruptions tile to dashboard
- Add TFLTile component displaying real-time transport disruptions
- Show Northern line status prominently when good service
- Display disruptions sorted by severity with line colors
- Add optional tile decorations prop for flexible styling
- Auto-refresh every 5 minutes with background updates

Co-authored-by: Ona <no-reply@ona.com>
2025-10-24 23:03:55 +00:00
9b828bd7cf feat(dashboard): add TfL types and helper functions
- Add TypeScript types for TfL disruptions API
- Add TanStack Query integration with 2-minute stale time
- Add helper functions for severity colors and labels
- Add line color mapping using official TfL colors as Tailwind classes
- Add status severity to border color mapping for visual indicators

Co-authored-by: Ona <no-reply@ona.com>
2025-10-24 23:03:50 +00:00
b5a9e308e8 perf(backend): switch weather descriptions to Gemini 2.5 Flash-Lite
- Migrate from gemini-2.0-flash-exp to gemini-2.5-flash-lite
- 4x cheaper on input, 6x cheaper on output tokens
- Increase maxOutputTokens from 120 to 1000 to accommodate thinking tokens
- Fixes empty description issue caused by thinking tokens consuming limit

Co-authored-by: Ona <no-reply@ona.com>
2025-10-24 23:03:45 +00:00
37b61e105d feat(backend): mount TfL routes in main app
Co-authored-by: Ona <no-reply@ona.com>
2025-10-24 23:03:39 +00:00
81660c2d7e feat(backend): add TfL disruptions API with Gemini AI shortening
- Add TfL Unified API integration for real-time transport disruptions
- Implement batch AI shortening using Gemini 2.5 Flash-Lite
- Add in-memory caching with 1-hour TTL
- Support Tube, Overground, DLR, Elizabeth Line, and Tram
- Sort disruptions by severity with regex-based line name cleanup

Co-authored-by: Ona <no-reply@ona.com>
2025-10-24 23:03:35 +00:00
bf75062760 build: migrate to bun text-based lockfile
Co-authored-by: Ona <no-reply@ona.com>
2025-10-24 19:41:34 +00:00
30986e0292 initial commit
Co-authored-by: Ona <no-reply@ona.com>
2025-10-24 19:36:05 +00:00