When theme is set to 'auto', checking theme === 'dark' returns false even
when the system preference is dark mode. This caused charts and custom
styles to use light mode colors in a dark UI.
Fixed by using resolvedTheme which correctly resolves to 'light' or 'dark'
based on system preference when in auto mode.
Fixes the issue reported in PR #29 review.
- Use unique ID prefix for clipPath to avoid duplicate ID issues
- Add cleanup function to initializeTheme to prevent memory leak
- Change tooltip to show action description instead of current theme name
- Add 'auto' to Theme type
- Implement cycleTheme (light -> dark -> auto)
- Add autoTheme icon (sun with half-filled center)
- Listen to system theme changes in auto mode
Also includes some Prettier formatting fixes.
- Add formatUnixTimestamp utility to auto-detect timestamp precision (s/ms/μs/ns)
- Fix incorrect file modification time display in logs page
- Remove fixed height constraint from AuthFilesPage model list
- Add log line parser to extract timestamp, level, status code, latency, IP, HTTP method, and path
- Implement virtual scrolling with load-more on scroll-up to handle large log files efficiently
- Replace monolithic pre block with structured grid layout for better readability
- Add visual badges for log levels and HTTP status codes with color-coded severity
- Add IconRefreshCw icon component
- Update ToggleSwitch to accept ReactNode as label
- Fix fetchConfig calls to use default parameters consistently
- Add request deduplication in useConfigStore to prevent duplicate /config API calls
- Add i18n keys for load_more_hint and hidden_lines
- Add 409 conflict handling for duplicate iFlow config files
- Add key creation hint in cookie login section
- Move extra actions button after delete button for consistency
- Improve OAuth status badge display logic (hide when idle)
- Add config toggle enable/disable i18n translations
- Adjust item-actions spacing from sm to md