Logo
Explore Help
Register Sign In
torbo/flyer-crawler.projectium.com
1
0
Fork 0
You've already forked flyer-crawler.projectium.com
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
1,043 Commits 1 Branch 314 Tags
840516d2a3e05e46a49a2e8ad654f601523c8f11
Commit Graph

2 Commits

Author SHA1 Message Date
Torben Sorensen
c6a5f889b4 unit test fixes
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 13m12s
Details
2025-12-27 22:27:39 -08:00
Torben Sorensen
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.
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 56s
Details
2025-12-27 21:13:15 -08:00
Powered by Gitea Version: 1.25.1 Page: 45ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API