Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@loathingKernel
Copy link
Contributor

  • ConfigHelper: refactor save functions
  • Compatibility: Add basic DXVK_NVAPI_DRS_SETTINGS configurator
  • RareGame: export some env variables related to umu before launching
  • EnvVarsTableModel: __readonly attribute to an empty set for Windows
  • Wrappers: add checkbox to enable/disable wrappers per game
  • Wrappers: refactor method names
  • WrapperSettings: add no-wrapper label later to force container to resize
  • ui: fix ui python files with ruff after generating them
  • workflows: add ruff buildtime dependency
  • SelectiveWidget: rename TagCheckBox to InstallTagCheckBox
  • CloudSaves: use single information label
  • IndicatorEdit: move two column completer to widgets/indicator_edit.py
  • chore: various fixes using ruff check
  • GameDetails: update game tags infrastructure
  • chore: more ruff fixes
  • Compat: add Steam AppID selector
  • SteamGrades: download compressed json file for steam appids
  • RareGame: do not use pending as a value for steam_grade

loathingKernel and others added 18 commits March 16, 2025 17:38
rename `save_*` functions to `adjust_` to better reflect their nature.
These function set or remove the an option depending on the value, they
do not write to the disk.
Add a secondary label in IndicatorLineEdit to show the information
such as game title.
Fetch Steam AppIDs from our own caching mirror
Due to a race-condition with the IndicatorLineEdit threading,
"pending" would be written and saved as the value for steam_grade,
causing the protondb grade to never be updated.
@loathingKernel loathingKernel requested a review from Copilot March 28, 2025 18:45
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors various configuration and UI components across the project while integrating new features and build dependencies. Key changes include updating widget and method names for improved clarity, modifying tag and app name handling in library components, and adding “ruff” as a dependency in several CI workflows.

Reviewed Changes

Copilot reviewed 103 out of 103 changed files in this pull request and generated no comments.

Show a summary per file
File Description
rare/components/tabs/settings/compat.py Replaced DxvkOverlaySettings with DxvkHudSettings and added DxvkNvapiDrsSettings support.
rare/components/tabs/library/widgets/init.py Updated widget filtering and sorting logic using removeprefix and adjusted lambdas.
rare/components/tabs/library/integrations/import_group.py Replaced AppNameCompleter with ColumnCompleter and changed attribute initialization for app names, titles, and install directories.
rare/components/tabs/library/head_bar.py Refactored tag update logic and completer handling.
rare/components/tabs/library/details/game.py Changed config calls from save_option to adjust_option and updated skip_update check.
rare/components/tabs/library/details/details.py Refactored tag addition and update logic, introduced GameTagCheckBox and GameTagAddDialog.
rare/components/tabs/library/details/compat.py Added Steam AppID handling via IndicatorLineEdit and updated widget settings to use new DxvkHudSettings/DxvkNvapiDrsSettings.
rare/components/tabs/library/details/cloud_saves.py Modified UI logic for displaying cloud saves support information.
rare/components/tabs/library/details/init.py Minor updates to event handling and exception management.
rare/components/tabs/library/init.py Removed a redundant connection related to tag list updates.
rare/components/tabs/downloads/init.py Removed unused widget imports.
rare/components/dialogs/login/browser_login.py Ignored standard error output after changes to the QProcess readout.
rare/components/dialogs/install_dialog.py Removed the unused TagCheckBox class.
.github/workflows/* Added “ruff” as an additional dependency in multiple CI workflows.
Comments suppressed due to low confidence (2)

rare/components/tabs/library/integrations/import_group.py:155

  • Initializing __app_names, __app_titles, and __install_dirs to None may lead to runtime errors if they are accessed before being set in showEvent. Consider initializing them to empty dictionaries/sets (e.g., {} or set()) to ensure safe access.
self.__app_names: Dict[str, str] = None

rare/components/tabs/library/details/game.py:283

  • [nitpick] Using a one-line conditional expression with side effects for tag addition/removal can reduce readability and may raise an error if trying to remove a tag that isn’t present. Consider refactoring this into an explicit if-else block with appropriate error handling.
tags.add(tag) if state == Qt.CheckState.Checked else tags.remove(tag)

@loathingKernel loathingKernel merged commit 490764d into RareDevs:main Mar 28, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant