Commit Graph

2627 Commits

Author SHA1 Message Date
alexsparkes
1ef65fb5d2 fix: resolve QA bugs across settings, reminder banner, and modal layout
- Replace all querySelector('.reminder-info') calls with EventBus.emit('showReminder')
  across 14 files — prevents crashes when the element is not mounted
- Move ReminderInfo from inside the sidebar to the top of the right content column
  so it no longer obscures sidebar navigation
- Fix reminder not showing for non-hot-reload settings (Slider hook violation where
  useT() was called inside a requestAnimationFrame callback)
- Skip reminder for LocationSearch since it already emits a hot-reload refresh event
- Suppress reminder for settings with hot-reload (no page refresh needed)
- Fix modal content overflowing right edge: replace width:100%!important on
  .modalTabContent with flex:1 + min-width:0 + overflow-x:hidden
- Fix ReminderInfo refresh button being too small
- Fix sidebar collapse animation using max-width transition instead of width:0
- Fix PhotoInformation showing 0x0 resolution and Unknown Location before image loads
- Fix Wikipedia disambiguation links for quote authors by returning null from
  getAuthorLink (Wikidata links used when available)
- Bail early in useSuggestedPacks when offline mode is enabled

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 10:19:50 +01:00
David Ralph
b98478ef68 feat(tests): add basic cypress for welcome and widgets 2026-02-08 23:59:23 +00:00
alexsparkes
031d980301 fix: Prevent duplicate installations in install function 2026-02-08 19:47:31 +00:00
alexsparkes
04e5e26141 Update background options and migrations 2026-02-08 19:41:16 +00:00
alexsparkes
6c6542c08b fix: Enhance deep link handling in Discover component and update RouterBridge for collection navigation 2026-02-07 22:56:34 +00:00
alexsparkes
8c4ea4cf6a fix: Update modal sidebar active color for improved visibility 2026-02-07 22:32:12 +00:00
alexsparkes
e938eef740 fix: Refactor event handling in LocationSearch and streamline modal navigation logic in Modals 2026-02-07 22:28:56 +00:00
alexsparkes
8a28a27282 fix: Improve location retrieval logic in WeatherWidget and enhance selection behavior in LocationSearch 2026-02-07 22:25:54 +00:00
alexsparkes
96e51c96cf fix: Enhance photo pack data structure and improve button layout in PhotoInformation component 2026-02-07 22:19:45 +00:00
alexsparkes
8758188521 fix: Prevent main modal from appearing on top of welcome modal during transitions 2026-02-07 22:01:04 +00:00
alexsparkes
ad7963f8f5 fix: Implement fallback to en_GB in translation retrieval for improved language handling 2026-02-07 21:28:55 +00:00
alexsparkes
bce58afa66 fix: Update modal prop names for consistency in CustomSettings component 2026-02-07 21:19:05 +00:00
alexsparkes
ce085b4457 fix: Correct path for achievement locale loaders and improve loader retrieval logic 2026-02-07 21:10:17 +00:00
alexsparkes
2a35b55cff fix: Correct parameter key usage in fetchFromProvider function for settings handling 2026-02-07 20:49:16 +00:00
alexsparkes
864579de84 feat: Enhance ItemSettingsModal with smoother opening and closing transitions 2026-02-07 20:33:48 +00:00
alexsparkes
9e75be2b89 feat: Enhance PhotoInformation component with metadata display and improved styling; update QuoteInfoModal navigation behavior 2026-02-07 19:33:35 +00:00
alexsparkes
59ceb40a32 feat: Update Quote component and styles for improved visibility and user experience 2026-02-07 19:04:22 +00:00
alexsparkes
348485a724 feat: Update warning message in QuoteInfoModal for improved clarity on data sourcing 2026-02-07 14:54:48 +00:00
alexsparkes
4ad799da3b feat: Add QuoteInfoModal for displaying detailed quote information and integrate it with the Quote component 2026-02-07 14:53:35 +00:00
alexsparkes
f891a16350 feat: Enhance AuthorInfo component with link support and add ErrorElement for improved error handling 2026-02-07 13:48:31 +00:00
alexsparkes
2d7e1ad97a feat: Update refresh handlers to include language and other settings for improved state management 2026-02-07 13:23:06 +00:00
alexsparkes
4d56bbb2c1 feat: Refactor install function to streamline settings and photo handling 2026-02-07 12:47:13 +00:00
alexsparkes
3af0b63a17 feat: Move useT hook initialization to ItemCard and Items components 2026-02-07 12:31:22 +00:00
alexsparkes
1b664ba23e feat: Enhance ItemCard button styles and add install counter with event listener 2026-02-07 12:28:06 +00:00
alexsparkes
eb3af777f5 feat: Implement install functionality for suggested packs and enhance state management 2026-02-07 12:19:47 +00:00
alexsparkes
bbca4b9c7b feat: Enhance item toggle functionality to support item ID retrieval 2026-02-07 12:08:02 +00:00
alexsparkes
553d5001f6 feat: Update navigation to item detail pages and enhance item ID handling 2026-02-07 12:04:24 +00:00
alexsparkes
cf3237f337 feat: Migrate to React Router v7 and refactor navigation
- Added react-router for improved routing and navigation.
- Replaced hash-based navigation with React Router's navigate function.
- Introduced RouterBridge to manage deep linking and legacy navigation.
- Updated components to utilize useNavigate and useLocation hooks.
- Refactored modal handling to integrate with React Router.
- Removed updateHash utility to prevent conflicts with React Router's history management.
- Created routes configuration for application structure and lazy loading.
- Ensured backward compatibility with existing deep link data structure.
2026-02-07 11:48:09 +00:00
alexsparkes
9e336b0582 feat: enhance deep linking functionality in MainModal and Discover components 2026-02-07 11:18:57 +00:00
alexsparkes
474b4ae237 feat(marketplace): Add suggested packs feature to marketplace
- Introduced new SuggestedPacks component to display trending quote and photo packs.
- Implemented useSuggestedPacks hook for fetching and caching suggested packs from the marketplace.
- Updated localization files for multiple languages to include new strings for suggested packs.
- Added explore all button to navigate to the marketplace category page.
2026-02-07 11:02:29 +00:00
alexsparkes
5cbcee522b feat: enhance item toggle functionality to refresh API pack cache on state change 2026-02-07 10:25:41 +00:00
alexsparkes
d31bde91cf feat: implement navigation history management in MainModal 2026-02-06 23:34:27 +00:00
alexsparkes
6231a4aa2d feat: update hash on subSection change and enhance breadcrumb navigation handling 2026-02-06 23:14:44 +00:00
alexsparkes
c23bd1a0e8 feat: enhance photo pack attribution handling and improve API integration 2026-02-06 22:43:15 +00:00
alexsparkes
74565fbeb9 feat: implement marketplace handler registration and refactor default packs installation 2026-02-06 22:09:04 +00:00
alexsparkes
62f7e20f8e feat: implement default photo packs installation and update settings handling 2026-02-06 20:43:54 +00:00
alexsparkes
0af00072f1 feat: add font size to dropdown and location search components; improve fallback handling in background loading and achievements translation 2026-02-06 19:14:47 +00:00
alexsparkes
dbd3eb11ae refactor: remove WelcomeLoader component and update Suspense fallback in Modals 2026-02-06 17:33:24 +00:00
alexsparkes
3c53d0322e feat: implement lazy loading for components and add loading states for improved user experience 2026-02-06 17:30:55 +00:00
alexsparkes
dbfe7e52b5 feat: enhance translation handling by adding fallback mechanism and loading translations dynamically 2026-02-06 16:41:02 +00:00
alexsparkes
5532d02603 feat: update font weight to bold for greeting, quote, and clock components; add TypeScript LSP plugin settings 2026-02-06 15:26:34 +00:00
alexsparkes
1c2a43ae7f docs: update CLAUDE.md to provide clearer guidance on project structure and development practices 2026-02-06 12:24:19 +00:00
alexsparkes
9731bc939e feat: implement ColourPicker component and replace color input in settings 2026-02-05 23:16:06 +00:00
alexsparkes
0d25fbca6d feat: add reset button for greeting, quote, and time options to restore default settings 2026-02-05 23:01:12 +00:00
alexsparkes
a0517acd53 feat: integrate EventBus for color change refresh in Greeting, Quote, and Time options 2026-02-05 22:51:47 +00:00
alexsparkes
8dd6cf2655 feat: enhance click handling for color inputs and update event bus cleanup 2026-02-04 21:15:12 +00:00
alexsparkes
7a390b91ca fix(Dropdown): remove redundant useT() call from handleClickOutside 2026-02-04 20:20:23 +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
94edeba10f fix(Radio): update state management for language selection and local storage 2026-02-04 19:52:26 +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