mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-06-02 06:14:48 +02:00
main
3 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
73918d91be |
Feature/lbx 708 (#2246)
* feat(big-picture): add GameAchievements page and navigation enhancements - Introduced GameAchievements component for displaying game achievements. - Updated routing to include achievements path under game details. - Enhanced navigation with NavigationHistoryBridge for improved user experience. - Added new helper function to generate achievements path based on game identity. - Cleaned up imports and improved code structure for better maintainability. * style: enhance styles for ChallengeGameCard - Modified SCSS styles for ChallengeGameCard to align text to the left, improving layout consistency. * refactor(big-picture): rename useBackTargetTitle to useCurrentPageTitle and update navigation logic - Renamed the `useBackTargetTitle` hook to `useCurrentPageTitle` for clarity. - Updated the logic to return the current page title instead of the previous one. - Adjusted navigation in the Home component to utilize the new achievements path for improved user experience. - Marked the proto subproject as dirty to indicate local changes. * feat(big-picture): enhance Tabs component with settings variant and new layout features - Added "settings" variant to the Tabs component for improved user experience in settings navigation. - Introduced `beforeTabs` and `afterTabs` props to allow additional UI elements around tab buttons. - Created `SettingsTabsButton` for handling settings-specific tab interactions and styles. - Updated SCSS styles to support new layout requirements for the settings variant. - Implemented a new Settings page structure with tabbed navigation for better organization of settings categories. This update enhances the overall usability and accessibility of the settings interface. * refactor(big-picture): improve code formatting in Tabs and Settings components - Reformatted JSX structure in the Tabs component for better readability. - Simplified the selectTabByIndex function in the Settings component by consolidating the callback definition into a single line. - Enhanced overall code clarity and maintainability across both components. * feat(big-picture): add new settings sections for account privacy, compatibility, content gameplay, downloads, general, integrations, and notifications - Introduced new components for each settings section, providing placeholders for future content. - Updated the main Settings component to integrate these new sections into the tabbed navigation structure. - Enhanced the organization of settings categories for improved user experience. * refactor(big-picture): streamline Tabs and Settings components for improved layout and functionality - Simplified the Tabs component by removing unnecessary elements and enhancing the settings variant layout. - Introduced a new SettingsSection component to encapsulate settings-related content, improving organization and readability. - Updated SCSS styles for better alignment and responsiveness in the settings interface. - Enhanced the handling of settings indicators and label references for improved user experience. * feat(big-picture): implement download directories management in settings - Introduced a new DownloadDirectoriesSection component for managing download paths and disk usage. - Enhanced user preferences handling with a new useUserPreferences hook for better state management. - Updated the general settings page to integrate the new download directories section, improving organization. - Added styles for the download directories section to ensure responsive design and usability. - Removed the deprecated general settings styles and component, streamlining the codebase. * refactor(download-directories): improve code formatting for MAX_OPTIONAL_DOWNLOAD_DIRECTORIES constant * feat(big-picture): add language selection feature in settings - Introduced LanguageSection and LanguagePickerModal components for managing language preferences. - Implemented language options retrieval and selection logic, enhancing user experience. - Added styles for the new language selection interface to ensure responsiveness and usability. - Updated the general settings page to integrate the language selection feature, improving organization. - Included utility functions for language flag handling and resolution. This update enhances the overall accessibility and customization of the application for users. * feat(big-picture): add behavior settings section to user preferences - Introduced BehaviorSection component for managing user preferences related to application behavior. - Integrated the new section into the GeneralSettingsSection for improved organization. - Updated navigation to include behavior settings, enhancing user experience. - Added styles for the behavior section to ensure a cohesive design with existing settings. This update enhances user customization options and overall application usability. * refactor(settings): improve code formatting and readability in BehaviorSection and DownloadDirectoriesSection - Reformatted JSX structure in BehaviorSection for better clarity. - Enhanced function signatures in DownloadDirectoriesSection for improved readability. - Streamlined array type annotations to follow TypeScript conventions. These changes contribute to a cleaner and more maintainable codebase. * feat(big-picture): add Downloads settings section for managing download behavior and sources - Introduced DownloadsBehaviorSection and DownloadsSourcesSection components to manage user preferences related to download behavior and sources. - Integrated the new sections into the DownloadsSettingsSection for improved organization and user experience. - Updated navigation focus handling to enhance accessibility and usability. - Added styles for the new sections to ensure a cohesive design with existing settings. This update enhances user customization options for download management within the application. * refactor(tabs, settings): improve code formatting and readability - Reformatted JSX structure in Tabs and DownloadsBehaviorSection for better clarity. - Streamlined focusId assignment in DownloadsBehaviorSection for improved readability. - Enhanced array type annotations to follow TypeScript conventions. These changes contribute to a cleaner and more maintainable codebase. * feat(settings): introduce new settings sections for content management and notifications - Added ContentSettingsSection for managing user preferences related to content and gameplay settings. - Introduced NotificationsAchievementsSection and NotificationsLibrarySection for handling achievement and library notifications. - Implemented IntegrationProviderSection for managing third-party integration settings. - Enhanced user preferences handling with new hooks and state management for improved responsiveness. - Updated styles for new sections to ensure a cohesive design with existing settings. This update enhances user customization options and overall application usability in managing content and notifications. * refactor(tabs, settings): improve code formatting and readability - Streamlined JSX structure in Tabs and IntegrationProviderSection for better clarity. - Enhanced array type annotations to follow TypeScript conventions. - Reformatted function signatures and component imports for improved readability. These changes contribute to a cleaner and more maintainable codebase. * feat(account-privacy): implement account privacy settings section - Added AccountPrivacySettingsSection for managing user profile visibility and blocked users. - Integrated hooks for fetching user details and handling profile updates. - Implemented UI components for displaying and managing blocked users, including unblocking functionality. - Introduced new SCSS styles for the account privacy settings to ensure a cohesive design. - Enhanced navigation focus handling for improved user experience. This update enhances user control over privacy settings and improves overall application usability. * refactor(user-details): improve code formatting and readability - Streamlined function signatures and JSX structure in useUserDetails hook and AccountPrivacySettingsSection. - Enhanced array type annotations to follow TypeScript conventions. - Improved readability by adjusting indentation and line breaks. These changes contribute to a cleaner and more maintainable codebase. * feat(checkbox, radio, compatibility): enhance checkbox and radio components with new features and styles - Updated Checkbox and Radio components to accept ReactNode for labels, allowing for richer content. - Introduced secondary text support in Checkbox for additional context. - Enhanced styles for Checkbox and Radio components to improve layout and visual hierarchy. - Added CompatibilitySettingsSection for managing Proton options and user preferences related to compatibility settings. - Implemented new SCSS styles for the compatibility settings section to ensure a cohesive design. - Improved focus handling and accessibility features in Radio component. These updates enhance user interaction and customization options within the settings interface. * refactor(compatibility): improve code formatting and readability in CompatibilitySettingsSection - Adjusted JSX structure in CompatibilitySettingsSection for better clarity. - Enhanced readability by modifying indentation and line breaks. These changes contribute to a cleaner and more maintainable codebase. * refactor(button, checkbox, settings): enhance code structure and improve user interaction - Refactored Button and Checkbox components for better readability and maintainability. - Introduced new event handling in Button to prevent actions when disabled or loading. - Updated Checkbox to handle clicks more effectively, preventing interaction with nested buttons and links. - Improved focus handling in various settings sections to enhance user navigation experience. - Adjusted styles for Checkbox to ensure consistent visual hierarchy. These changes contribute to a more intuitive user interface and cleaner codebase. * refactor(hero): enhance Hero component structure and improve user interaction - Updated Hero component to utilize additional asset URLs for dominant color determination. - Refactored focus navigation logic for better clarity and maintainability. - Introduced a new divider for improved layout between action buttons. - Enhanced button properties for better visual consistency and user experience. These changes contribute to a more intuitive interface and cleaner code structure. * refactor(hero): streamline JSX structure and improve button formatting - Refactored the Hero component to enhance the readability of JSX structure. - Improved button formatting for the primary action and download options, ensuring consistent styling. - Simplified the Divider component usage for better clarity in layout. These changes contribute to a cleaner codebase and improved user interaction. * feat(game): add ProtonDB section and new assets for enhanced compatibility display - Introduced a new ProtonDBSection component to display compatibility information for games. - Added protondb-logo.svg and steam-deck-logo.svg assets for visual representation. - Updated game index to include the new ProtonDBSection, improving the overall game details page. - Enhanced RequirementsToPlay and SupportedLanguages components for better structure and readability. These changes enhance user experience by providing detailed compatibility information and improving the layout of game details. * refactor(game-reviews): enhance reviews component structure and improve functionality - Updated GameReviews component to support pagination with a new loadMore function. - Increased the number of reviews displayed per page from 5 to 24 for better user experience. - Refactored voting logic for reviews to improve clarity and maintainability. - Enhanced styling and structure in the associated SCSS file for improved layout and readability. These changes contribute to a more efficient review display and a cleaner codebase. * refactor(game-reviews, game): improve code formatting and enhance styling - Refactored GameReviews component to improve readability by adjusting the formatting of the date display. - Enhanced SCSS styles for detailed descriptions, including new font size and margin adjustments for better layout. - Ensured images and videos within the detailed description are responsive with 100% width. These changes contribute to a cleaner codebase and improved user experience in the game reviews section. * feat(game): enhance game components with focus navigation and improved structure - Added new focus navigation properties to various game components, including AchievementsBox, HowLongToBeatBox, and ProtonDBSection, to improve accessibility and user interaction. - Refactored the ScreenshotCarousel to support focus-driven scrolling and enhanced media item handling. - Introduced new constants for game regions and item IDs to streamline component integration. - Updated SCSS styles for sidebar sections and media carousels to improve layout and focus visibility. These changes enhance the user experience by providing better navigation and interaction within the game details interface. * refactor(game): improve code formatting and readability across components - Enhanced JSX structure in GameReviews, Hero, ScreenshotCarousel, and SupportedLanguages components for better clarity and maintainability. - Adjusted formatting of various properties and elements to follow consistent styling practices. - Improved readability by modifying indentation and line breaks in multiple files. These changes contribute to a cleaner codebase and improved developer experience. * refactor(checkbox, screenshot-carousel): improve accessibility and interaction handling - Updated Checkbox component to use a button for label interaction, enhancing accessibility and preventing clicks on nested elements. - Refactored ScreenshotCarouselSlide to replace div with a button for media item selection, improving user interaction and focus handling. These changes contribute to a more intuitive user experience and better adherence to accessibility standards. * refactor: remove steam body navigation from game page * feat(game): add detailed description region and enhance navigation structure - Introduced new constants for game description region and body IDs to improve navigation handling. - Updated SCSS styles for the detailed description region, enhancing layout and focus visibility. - Improved the Game component by integrating new hooks and memoization for better performance and accessibility. These changes enhance the user experience by providing clearer navigation and improved interaction within the game details interface. * fix(window-manager): enable fullscreen mode for window manager - Updated the WindowManager class to set the fullscreen property to true, enhancing the user experience by allowing the application to utilize the entire screen space. This change improves the visual presentation and usability of the application. * feat(settings): add language flag component and integrate country flags - Introduced a new LanguageFlag component to display country flags based on language selection. - Updated language options to use flagCountryCode instead of flag emoji for better consistency. - Refactored language picker and section components to utilize the new LanguageFlag component. - Enhanced SCSS styles for flag display to improve layout and responsiveness. These changes enhance the user experience by providing a clearer visual representation of language options. * fix(game): update icon sizes and improve stats section layout - Increased the size of CheckIcon and XIcon in the SupportedLanguages component for better visibility. - Adjusted the font size in the game.scss file for consistency and improved readability. - Enhanced the Game component by adding a StarIcon to the stats section, providing a clearer visual representation of the rating. These changes contribute to a more user-friendly interface and improved accessibility in the game details page. * feat(settings): implement download directory replacement modal - Added a new DownloadDirectoryReplacementModal component to allow users to replace existing download directories with a new default path. - Integrated the modal into the settings context, enabling users to select a directory to replace when the download directory list is full. - Updated the shared logic for preparing and replacing download directories to support the new functionality. - Enhanced the settings UI to accommodate the new modal, improving user experience when managing download paths. These changes provide a more flexible and user-friendly approach to managing download directories within the application. * feat(game): add bottom entry for detailed description navigation - Introduced a new constant for the bottom entry of the game description to enhance focus navigation. - Updated the Game component to include logic for scrolling to the bottom entry when focused, improving user interaction. - Added corresponding SCSS styles for the new bottom entry, ensuring it remains visually hidden while maintaining accessibility. These changes enhance the navigation experience within the game details interface by providing a clearer focus path for users. * refactor(achievement-row, styles): streamline imports and improve padding syntax - Consolidated import statements in AchievementRow component for cleaner code. - Updated padding syntax in game.scss and styles.scss files to enhance readability and maintain consistency. These changes contribute to a more organized code structure and improved styling clarity. * fix(library-hero): update button label for clarity - Changed button label from "Launch Game" to "Download Game" to better reflect the action being performed. This change improves user understanding of the button's functionality. * feat(download-directories): enhance download directory management with source tracking - Added a new `source` property to the `DownloadDirectoryPreference` interface to distinguish between "manual" and "auto" sources. - Introduced helper functions to sanitize and create download directory records, improving the handling of download directory preferences. - Updated existing functions to utilize the new `source` property, ensuring consistent management of download directories. These changes enhance the functionality and clarity of download directory management within the application. * feat(download-game): improve download options handling with state management - Introduced refs to track user interactions with download path, automatic extraction, and archive deletion options, enhancing user experience by preventing unwanted state changes. - Updated state management logic to ensure default values are only set when the respective options have not been interacted with. - Refactored event handlers for selecting download paths and toggling options to improve clarity and maintainability. These changes enhance the functionality and responsiveness of the download options modal, providing a more intuitive user experience. * refactor(hero): simplify rendering of favorite icon - Removed unnecessary motion effects from the favorite icon rendering in the Hero component, streamlining the code for better readability and performance. This change enhances the clarity of the Hero component's structure while maintaining its functionality. --------- Co-authored-by: Moyasee <terranoiz@icloud.com> Co-authored-by: Chubby Granny Chaser <weak.fern2638@heliokroger.com> |
||
|
|
1a5525312b |
fix: offload process listing from main thread
Move native process enumeration into a worker so process watching does not block the main process, and add LF text-integrity checks for normalized files. |
||
|
|
18e5125ecc | fix: 416 HTTP error deleting local files fix (#2139) |