refactor: Replace console logging with logger utility

- Add logger import across multiple view components
- Replace console.error/warn/log with logger methods
- Update error handling to use structured logging
- Improve type safety for error objects
- Add crypto-browserify polyfill for browser environment

The changes improve logging by:
1. Using consistent logging interface
2. Adding structured error logging
3. Improving error type safety
4. Centralizing logging configuration
5. Fixing browser compatibility issues

Affected files:
- Multiple view components
- vite.config.ts
- Build configuration
This commit is contained in:
Matthew Raymer
2025-03-11 09:35:55 +00:00
parent 515bb38db4
commit c9536dd643
1781 changed files with 81616 additions and 401 deletions

View File

@@ -0,0 +1,34 @@
#Mon Mar 10 03:10:16 UTC 2025
app.timesafari.app-main-5\:/drawable-land-hdpi/splash.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/drawable-land-hdpi-v4/splash.png
app.timesafari.app-main-5\:/drawable-land-mdpi/splash.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/drawable-land-mdpi-v4/splash.png
app.timesafari.app-main-5\:/drawable-land-xhdpi/splash.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/drawable-land-xhdpi-v4/splash.png
app.timesafari.app-main-5\:/drawable-land-xxhdpi/splash.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/drawable-land-xxhdpi-v4/splash.png
app.timesafari.app-main-5\:/drawable-land-xxxhdpi/splash.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/drawable-land-xxxhdpi-v4/splash.png
app.timesafari.app-main-5\:/drawable-port-hdpi/splash.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/drawable-port-hdpi-v4/splash.png
app.timesafari.app-main-5\:/drawable-port-mdpi/splash.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/drawable-port-mdpi-v4/splash.png
app.timesafari.app-main-5\:/drawable-port-xhdpi/splash.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/drawable-port-xhdpi-v4/splash.png
app.timesafari.app-main-5\:/drawable-port-xxhdpi/splash.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/drawable-port-xxhdpi-v4/splash.png
app.timesafari.app-main-5\:/drawable-port-xxxhdpi/splash.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/drawable-port-xxxhdpi-v4/splash.png
app.timesafari.app-main-5\:/drawable-v24/ic_launcher_foreground.xml=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/drawable-v24/ic_launcher_foreground.xml
app.timesafari.app-main-5\:/drawable/ic_launcher_background.xml=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/drawable/ic_launcher_background.xml
app.timesafari.app-main-5\:/drawable/splash.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/drawable/splash.png
app.timesafari.app-main-5\:/layout/activity_main.xml=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/layout/activity_main.xml
app.timesafari.app-main-5\:/mipmap-anydpi-v26/ic_launcher.xml=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-anydpi-v26/ic_launcher.xml
app.timesafari.app-main-5\:/mipmap-anydpi-v26/ic_launcher_round.xml=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-anydpi-v26/ic_launcher_round.xml
app.timesafari.app-main-5\:/mipmap-hdpi/ic_launcher.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-hdpi-v4/ic_launcher.png
app.timesafari.app-main-5\:/mipmap-hdpi/ic_launcher_foreground.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-hdpi-v4/ic_launcher_foreground.png
app.timesafari.app-main-5\:/mipmap-hdpi/ic_launcher_round.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-hdpi-v4/ic_launcher_round.png
app.timesafari.app-main-5\:/mipmap-mdpi/ic_launcher.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-mdpi-v4/ic_launcher.png
app.timesafari.app-main-5\:/mipmap-mdpi/ic_launcher_foreground.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-mdpi-v4/ic_launcher_foreground.png
app.timesafari.app-main-5\:/mipmap-mdpi/ic_launcher_round.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-mdpi-v4/ic_launcher_round.png
app.timesafari.app-main-5\:/mipmap-xhdpi/ic_launcher.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-xhdpi-v4/ic_launcher.png
app.timesafari.app-main-5\:/mipmap-xhdpi/ic_launcher_foreground.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-xhdpi-v4/ic_launcher_foreground.png
app.timesafari.app-main-5\:/mipmap-xhdpi/ic_launcher_round.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-xhdpi-v4/ic_launcher_round.png
app.timesafari.app-main-5\:/mipmap-xxhdpi/ic_launcher.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-xxhdpi-v4/ic_launcher.png
app.timesafari.app-main-5\:/mipmap-xxhdpi/ic_launcher_foreground.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-xxhdpi-v4/ic_launcher_foreground.png
app.timesafari.app-main-5\:/mipmap-xxhdpi/ic_launcher_round.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-xxhdpi-v4/ic_launcher_round.png
app.timesafari.app-main-5\:/mipmap-xxxhdpi/ic_launcher.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-xxxhdpi-v4/ic_launcher.png
app.timesafari.app-main-5\:/mipmap-xxxhdpi/ic_launcher_foreground.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-xxxhdpi-v4/ic_launcher_foreground.png
app.timesafari.app-main-5\:/mipmap-xxxhdpi/ic_launcher_round.png=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-xxxhdpi-v4/ic_launcher_round.png
app.timesafari.app-main-5\:/xml/config.xml=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/xml/config.xml
app.timesafari.app-main-5\:/xml/file_paths.xml=/home/noone/projects/timesafari/crowd-funder-for-time-pwa/android/app/build/intermediates/packaged_res/debug/packageDebugResources/xml/file_paths.xml

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#FFFFFF</color>
<string name="app_name">TimeSafari</string>
<string name="custom_url_scheme">app.timesafari.app</string>
<string name="package_name">app.timesafari.app</string>
<string name="title_activity_main">TimeSafari</string>
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
<style name="AppTheme.NoActionBar" parent="Theme.AppCompat.DayNight.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
<item name="android:background">@null</item>
</style>
<style name="AppTheme.NoActionBarLaunch" parent="Theme.SplashScreen">
<item name="android:background">@drawable/splash</item>
</style>
</resources>

File diff suppressed because one or more lines are too long