v4.0.4
π οΈ Improvements
- Theme Mode Consistency (#48, #52):
- Theme changes made in GPT settings are now reflected in the GPThemes theme, and vice versa, to maintain consistency across the board
- The application of themes across the extension has been enhanced to ensure consistency, which was previously broken due to new OpenAI's code loading techniques
π Bug Fixes
- Scrollbar Styling (#50): Resolved issues caused by OpenAI's dynamic code loading, ensuring consistent design.
- Temporary Chat Text Color: Fix the text color in the prompt textarea for temporary chats in light themes.
- OLED Theme Fixes: The OLED theme display has been fixed in dialogs and GPT Stores.
π§ Maintenance
-
Floating Button Refactor (#49, #51):
- Improved code organization, readability, and performance.
- Extracted accent color, theme and settings management logic into separate files.
- Split
themeManager
andsettingsManager
into distinct files. - Renamed
Assets
toWidths
for clarity. - Increased
gpth-settings
to accommodate huge scrollbars.
-
Storage Management:
- Removed unnecessary keys previously used for theme management.
- Switched from
storage.sync
tostorage.local
for theme value storage.
Note
π§ Known Issues
A minor theme inconsistency remains on shared chat pages (https://chatgpt.com/share/*
) due to recent ChatGPT updates.
Custom accent colors are not applied due to OpenAI's new dynamic code loading, which overrides some extension code.
This release focuses on improving theme consistency and fixing visual bugs, particularly for OLED themes and scrollbar styling. Behind the scenes, significant maintenance work has been done to enhance performance, improve code organization, and optimize storage management.
What's Changed
- Improve floating button code for better readability and maintainability by @itsmartashub in #51
- GPThemes not overriding ChatGPT theme mode after page refresh (#48) by @itsmartashub in #52
Full Changelog: v4.0.3...v4.0.4