a726c270bb
Refactor the "God Component" (App.tsx) Your App.tsx has lower branch coverage (77%) and uncovered lines. This usually means it's doing too much: managing routing, auth state checks, theme toggling, and global error handling. Move Logic to "Initialization Hooks": Create a useAppInitialization hook that handles the OAuth token check, version check, and theme sync. Use Layouts for Routing: Move the "What's New" modal and "Anonymous Banner" into the MainLayout or a specialized AppGuard component, leaving App.tsx as a clean list of Routes.
Deploy to Test Environment / deploy-to-test (push) Failing after 56s
2025-12-27 21:13:15 -08:00
fe8b000737
try to make upload better using tan-react library
2025-12-26 18:49:54 -08:00
b14225f69f
final ts cleanup?
Deploy to Test Environment / deploy-to-test (push) Failing after 11m31s
2025-12-21 23:08:35 -08:00
0cf4ca02b7
large mock refector hopefully done + no errors?
Deploy to Test Environment / deploy-to-test (push) Successful in 1h19m21s
2025-12-21 12:38:53 -08:00
9d5fea19b2
large mock refector hopefully done + no errors?
Deploy to Test Environment / deploy-to-test (push) Successful in 1h17m3s
2025-12-21 10:47:58 -08:00
c49e5f7019
large mock refector hopefully done + no errors?
Deploy to Test Environment / deploy-to-test (push) Successful in 1h13m59s
2025-12-21 02:43:03 -08:00
391d00ae15
more test fixes
Deploy to Test Environment / deploy-to-test (push) Successful in 1h8m48s
2025-12-20 19:40:49 -08:00
56981236ab
ensure mocks are used wherever possible, more test fixes
Deploy to Test Environment / deploy-to-test (push) Successful in 1h7m5s
2025-12-20 15:33:08 -08:00
f891da687b
Refactor tests to use mockClient for database interactions, improve error handling, and enhance modal functionality
...
Deploy to Test Environment / deploy-to-test (push) Has been cancelled
- Updated personalization.db.test.ts to use mockClient for query calls in addWatchedItem tests.
- Simplified error handling in shopping.db.test.ts, ensuring clearer error messages.
- Added comprehensive tests for VoiceAssistant component, including rendering and interaction tests.
- Introduced useModal hook with tests to manage modal state effectively.
- Created deals.db.test.ts to test deals repository functionality with mocked database interactions.
- Implemented error handling tests for custom error classes in errors.db.test.ts.
- Developed googleGeocodingService.server.test.ts to validate geocoding service behavior with mocked fetch.
2025-12-14 01:12:33 -08:00
7615d7746e
feat: Enhance logging and type safety across various components and services
Deploy to Test Environment / deploy-to-test (push) Has been cancelled
2025-12-13 23:12:50 -08:00
728f4a5f7e
Refactor useWatchedItems hook to utilize useApi for API calls, update tests accordingly
...
Deploy to Test Environment / deploy-to-test (push) Failing after 18m15s
- Replaced direct API calls in useWatchedItems with useApi hook for add and remove watched items.
- Updated tests for useWatchedItems to mock useApi and verify API interactions.
- Consolidated error handling for API calls in useWatchedItems.
- Adjusted related hooks and components to ensure compatibility with the new structure.
- Added new ScaleIcon component for UI consistency.
- Implemented useFlyerItems and useFlyers hooks for fetching flyer data.
- Created useMasterItems and useUserData hooks for managing master grocery items and user data.
- Developed useInfiniteQuery hook for handling paginated API responses.
- Added comprehensive tests for useApi and useInfiniteQuery hooks.
- Introduced comparePrices API endpoint and corresponding client-side functionality.
2025-12-13 08:57:15 -08:00
6aa72dd90b
unit test fixin
Deploy to Test Environment / deploy-to-test (push) Successful in 8m50s
2025-12-11 00:53:24 -08:00
c1a032d5e6
many fixes resultnig from latest refactoring
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 5m46s
2025-12-08 23:07:50 -08:00
158778c2ec
DB refactor for easier testsing
...
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 5m16s
App.ts refactor into hooks
unit tests
2025-12-08 20:46:12 -08:00
0eda796fad
App.tsx refactor + even more unit tests
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 8m28s
2025-12-08 12:18:46 -08:00
383e8e3d25
better flyer icons + archive
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m25s
2025-12-03 14:13:44 -08:00
df0108fa4d
fix /gflyer route - background processing is looking good
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m19s
2025-12-03 09:08:54 -08:00
67d1b9b077
one lazy ai
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m26s
2025-12-02 21:00:24 -08:00
f7edb946f7
more TS fixes + tests
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 3m40s
2025-11-30 00:27:21 -08:00
753c675d9f
acheivments + flyercorrection
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 2m18s
2025-11-29 13:35:10 -08:00
bf0bf9ae21
testing routes
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 2m23s
2025-11-29 05:29:38 -08:00
9c77f0599c
we went to mocks - now going to unit-setup.ts - centralized
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 37m52s
2025-11-26 19:47:13 -08:00
07db3a0070
we went to mocks - now going to unit-setup.ts - centralized
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Has been cancelled
2025-11-26 17:25:32 -08:00
d528a63bc3
we went to mocks - now going to unit-setup.ts - centralized
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 19m9s
2025-11-26 15:14:00 -08:00
e987ec8aea
we went to mocks - now going to unit-setup.ts - centralized
2025-11-26 10:28:58 -08:00
38f332a306
more unit tests
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m24s
2025-11-25 18:25:16 -08:00
8968813ee0
file re-org
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 53s
2025-11-25 11:37:41 -08:00
1d0bd630b2
test, more id fixes, and naming all files
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 48s
2025-11-25 05:59:56 -08:00
2f55a303b0
some more re-org + fixes
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 3m55s
2025-11-24 15:02:13 -08:00
ba0abded2b
db to user_id
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m2s
2025-11-24 13:42:24 -08:00
94a2eda576
db to user_id
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m1s
2025-11-24 13:35:05 -08:00
3c567ea104
db to user_id
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 3m56s
2025-11-24 13:02:30 -08:00
1c08d2dab1
db to user_id
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 40s
2025-11-24 11:54:06 -08:00
97bb1a3966
unit tests fixin
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 41s
2025-11-22 00:17:05 -08:00
4f87a3ee84
more ts and break apart big ass files
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Has been cancelled
2025-11-21 00:30:47 -08:00
69be398cd9
testing hehehe
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 51m31s
2025-11-20 22:11:09 -08:00
35864fe391
fixing TS
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 51m30s
2025-11-20 21:11:16 -08:00
f6094df456
database expansion prior to creating on server - also error cleanup, some logging - DONE now for testing hehehe
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Has started running
2025-11-20 20:31:40 -08:00
43b44902ca
database expansion prior to creating on server - also error cleanup, some logging
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 29s
2025-11-20 10:40:35 -08:00
838d31420e
database expansion prior to creating on server
2025-11-20 09:07:11 -08:00
f830a12097
database expansion prior to creating on server
2025-11-20 00:45:53 -08:00
502e0754a1
database expansion prior to creating on server
2025-11-19 21:51:25 -08:00
a62af10ce6
finish migrating from Supabase to local Postgress, and passport.js for auth because CORS
2025-11-19 19:51:18 -08:00
b330ce4cd1
start on migrating from Supabase to local Postgress, and passport.js for auth because CORS
2025-11-19 15:30:59 -08:00
e8b651929e
start on migrating from Supabase to local Postgress, and passport.js for auth because CORS
2025-11-19 14:10:14 -08:00
593c33c977
start on migrating from Supabase to local Postgress, and passport.js for auth because CORS
2025-11-19 12:42:34 -08:00
99dc53948f
move to using /src - still css issue work
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 32s
2025-11-12 17:49:08 -08:00
9439420080
move to using /src - still css issue work
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 26s
2025-11-12 15:41:38 -08:00
24a1c61679
move to using /src - still css issue work
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 23s
2025-11-12 14:55:28 -08:00