Commit Graph

273 Commits

Author SHA1 Message Date
alexsparkes
8dd6cf2655 feat: enhance click handling for color inputs and update event bus cleanup 2026-02-04 21:15:12 +00:00
alexsparkes
192f951d41 Add appearance customization options for time, quotes, and greetings; migrate old font settings to new structure 2026-02-04 20:18:27 +00:00
alexsparkes
d67cf65a0e Refactor styles to use RGB color notation with alpha transparency and improve RTL support
- Updated various SCSS files to replace RGBA color definitions with RGB notation using alpha transparency (e.g., rgba(255, 255, 255, 0.1) to rgb(255 255 255 / 10%)).
- Enhanced RTL support by adding new mixins for inline padding, margin, positioning, and text alignment.
- Adjusted themed mixins to remove unnecessary parentheses for consistency.
- Cleaned up font-face declarations in index.scss for improved readability.
- Minor adjustments to layout properties in quicklinks and welcome components for better responsiveness.
2026-02-04 19:49:24 +00:00
alexsparkes
1c7fe206af Refactor welcome modal and sections to use translation context
- Replaced variable-based message retrieval with translation context in Welcome.jsx, Final.jsx, ImportSettings.jsx, Intro.jsx, PrivacyOptions.jsx, StyleSelection.jsx, and ThemeSelection.jsx components.
- Updated button texts and section titles to utilize the new translation method for better localization support.
- Cleaned up unused imports and improved code readability by removing unnecessary else statements in deepLinking.js and load.js.
- Ensured all localization files end with a newline for consistency.
2026-02-04 19:33:39 +00:00
alexsparkes
6044b02749 Add localization for pack and photo counts across multiple languages
- Introduced new keys for "pack_count" and "photo_count" with singular and plural forms in various language JSON files.
- Added "get_more" key for consistency in user interface across different languages.
- Removed redundant definitions of "pack_count", "photo_count", and "get_more" from "photo_pack_settings" to streamline localization files.
2026-02-04 19:11:19 +00:00
alexsparkes
26a1da89b5 fix(ItemCard): conditionally render settings button and modal based on item settings 2026-02-04 16:45:07 +00:00
David Ralph
73ba9b5590 fix(translations): add missing strings 2026-02-04 14:25:01 +00:00
David Ralph
4aeda76cdf fix(translations): add missing strings 2026-02-04 14:00:16 +00:00
David Ralph
3a29f8b48f refactor: reduce verbose variables 2026-02-04 13:35:32 +00:00
David Ralph
bb2b457c1c refactor: remove unnecessary comments 2026-02-04 13:30:14 +00:00
alexsparkes
0ec0676308 fix(photoPackAPI): remove unnecessary whitespace for cleaner code 2026-02-03 22:22:30 +00:00
alexsparkes
ce2fec8407 feat(photoPackAPI): refactor photo fetching logic to support multiple providers and deprecate legacy functions 2026-02-03 22:22:26 +00:00
alexsparkes
cfb9915a8b Refactor and update various components and styles
- Added shebang to commit-msg.sh for better script execution.
- Updated Dockerfile to use a specific version of the bun image.
- Improved logging format in SafariWebExtensionHandler.swift for better readability.
- Simplified CSS variable for text color in Style.css.
- Refactored ViewController.swift to enhance readability and maintainability.
- Improved conditional checks in ModalTopBar.jsx and Tooltip.jsx for better clarity.
- Updated SCSS files to use comments consistently and removed redundant lines.
- Enhanced error handling and background loading logic in backgroundLoader.js.
- Refactored useBackgroundEvents.js and useBackgroundLoader.js for better readability.
- Cleaned up quicklinks components and utilities for improved code quality.
- Added empty error.scss file for future styling.
- Updated toast.scss and index.scss with consistent comment styles.
- Improved number formatting logic in formatNumber.js for better clarity.
2026-02-03 21:51:53 +00:00
alexsparkes
d68b5c3d50 fix(ItemSettingsModal): simplify input field transition for improved performance 2026-02-03 21:35:32 +00:00
alexsparkes
f0ff173b3b fix(ItemCard): prevent collection display when item is already added 2026-02-03 21:33:58 +00:00
alexsparkes
5246455aca feat(ItemSettingsModal): enhance settings UI with improved input styling and dynamic field handling 2026-02-03 21:31:50 +00:00
alexsparkes
ede1615ab8 fix(ItemCard): clear local storage queues and refresh background on pack toggle 2026-02-03 20:31:38 +00:00
alexsparkes
fb9787642b feat(ItemCard): refactor action buttons to use item-card-actions class for consistent styling 2026-02-03 19:54:02 +00:00
alexsparkes
ee89ebcd4d refactor: rename photo pack settings to item settings in modal and styles 2026-02-03 16:36:37 +00:00
alexsparkes
7dec0a844e feat: add ItemSettingsModal for managing photo pack settings and enhance UI interactions 2026-02-03 16:36:05 +00:00
alexsparkes
1a8e91b02b feat: enhance dynamic options loading and add toggle pack functionality 2026-02-03 16:20:14 +00:00
alexsparkes
06e00b3024 fix(ItemCard): adjust toggle switch position and update active background color 2026-02-03 16:11:08 +00:00
alexsparkes
a75a8c2122 oopsie 2026-02-03 15:45:04 +00:00
alexsparkes
bafa2ecbe7 feat: implement pack enable/disable functionality and improve UI responsiveness 2026-02-03 15:45:04 +00:00
alexsparkes
0acac6dcee fix(checkbox+dropdown): small font-size once built 2026-02-03 15:14:45 +00:00
alexsparkes
e7ad7ba131 fix: correct variable reference in goToPhotoPacks function 2026-02-03 12:03:17 +00:00
alexsparkes
a9ab5d9651 feat: enhance BackgroundOptions and PhotoPackSettings for improved offline handling and validation 2026-02-03 12:01:07 +00:00
alexsparkes
09f2e0519d feat: enhance photo pack settings with dynamic localization and improved ChipSelect integration 2026-02-03 10:31:52 +00:00
alexsparkes
bbaadece43 fix: remove trailing comma in fetch URL for Unsplash API 2026-02-02 20:07:39 +00:00
alexsparkes
d5d2efbd13 feat: update Unsplash API integration and migration settings 2026-02-02 20:07:36 +00:00
alexsparkes
7641762557 feat: implement API photo packs with migration and settings management 2026-02-02 19:51:51 +00:00
alexsparkes
987f6756a0 feat: implement API photo packs with migration and settings management 2026-02-02 19:51:45 +00:00
alexsparkes
3fc5d736c8 feat(marketplace): enhance install logic with download tracking and installation checks 2026-02-02 13:29:26 +00:00
alexsparkes
333a070020 feat(Discover, ModalTopBar, MainModal): enhance navigation and iframe handling with hash updates 2026-02-02 12:21:53 +00:00
alexsparkes
cfb27ba392 refactor(ModalTopBar, Discover): clean up breadcrumb handling and hash navigation logic 2026-02-02 10:59:01 +00:00
alexsparkes
99b139ffd6 feat(Discover): implement iframe navigation handling via hash changes 2026-02-02 10:58:52 +00:00
alexsparkes
9f461edb55 Add new localization strings for quote packs and update caching logic for authors
- Added "Installed Quote Packs" and "Get More" strings to multiple language files.
- Updated the author caching mechanism in wikidataAuthorFetcher.js to limit the number of cached entries to 50 and prune old entries when the limit is exceeded.
- Enhanced the occupation extraction logic to return the highest-ranked occupation based on Wikidata rank.
2026-02-01 20:51:52 +00:00
alexsparkes
8356ea1af5 feat(QuickLinks): add card style option for quick links with hover effects 2026-02-01 20:13:30 +00:00
alexsparkes
baea8c4d6c feat: implement bookmark service and quicklinks management
- Added BookmarkService for managing bookmark permissions, fetching bookmarks, and syncing with quicklinks.
- Introduced IconService for handling icon retrieval and custom uploads.
- Created utility functions for reading and writing quicklinks and groups to localStorage.
- Implemented migration logic for transitioning quicklinks data to a new format.
- Added SmartIcon component for displaying icons with fallback options.
- Developed AddModal styles and structure for adding links.
- Enhanced settings loading to support dynamic font loading from Google Fonts.
- Refactored isValidUrl function for improved readability.
- Cleaned up uninstall logic for photo packs in marketplace.
2026-02-01 19:02:32 +00:00
alexsparkes
f42bdf2fb8 feat(QuoteOptions): refactor custom quote UI and styles for improved layout and usability 2026-02-01 15:49:09 +00:00
alexsparkes
cbedaf627c feat: update message keys for settings and overview sections; remove unused permissions and skills from settings 2026-02-01 14:22:01 +00:00
alexsparkes
7c2213a38f feat: integrate Wikidata API for fetching author information, including images and occupations 2026-02-01 11:51:11 +00:00
alexsparkes
bba18acd19 feat: implement safe JSON parsing and caching utilities; refactor background and quote loaders 2026-02-01 11:24:02 +00:00
David Ralph
f534d531dc fix(translations): add missing custom widget objects 2026-02-01 11:20:22 +00:00
alexsparkes
5ce553674c fix(locales): simplify events structure in greeting translations 2026-02-01 09:56:25 +00:00
alexsparkes
f7a799fe34 feat: add update frequency settings for quotes and backgrounds
- Introduced frequency settings for quotes and background updates in multiple languages.
- Added new localization keys for "Update Frequency" and its options.
- Implemented a new hook `useFrequencyInterval` to manage update intervals based on user settings.
- Created a `frequencyManager` utility to handle frequency intervals and update logic.
- Updated default settings to include frequency preferences for both quotes and backgrounds.
2026-01-31 17:44:29 +00:00
alexsparkes
7415b9cd5c feat: add DuckDuckGo image proxy support for marketplace and photo pack images
- Implemented `getProxiedImageUrl` function to apply DuckDuckGo image proxy to image URLs based on user settings.
- Updated various components to use the proxied image URLs, including background loader, photo information, lightbox, and item cards.
- Added a new setting in the advanced options to enable/disable the DuckDuckGo image proxy.
- Updated localization files to include new strings for the image proxy feature.
- Initialized the proxy setting in default settings to false.
2026-01-31 16:54:55 +00:00
alexsparkes
41e438ead4 feat(queue): implement centralized queue management and clearing logic for background prefetch queues 2026-01-31 14:58:07 +00:00
alexsparkes
7251c16250 feat(quote): clear quote queue and cache on type change, custom quote modification, and pack installation/uninstallation 2026-01-31 14:04:01 +00:00
David Ralph
b742c6a768 feat: custom iframe widgets (close #656) 2026-01-30 23:39:05 +00:00