-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove channels from the Application Tester #7742
Commits on Dec 1, 2023
-
Refactor the Application Tester
- Remove import statement for `pathlib.Path` - Remove unused imports for `explore_channel_action`, `manage_channel_action`, `scroll_discovered_action`, and `subscribe_unsubscribe_action` This commit refactors the main script by removing unnecessary imports and unused code. It removes the import statement for `pathlib.Path` as it is not used in the script. Additionally, it removes the unused imports for `explore_channel_action`, `manage_channel_action`, `scroll_discovered_action`, and `subscribe_unsubscribe_action`. These changes improve the readability and maintainability of the codebase.
Configuration menu - View commit details
-
Copy full SHA for d3d0c19 - Browse repository at this point
Copy the full SHA d3d0c19View commit details -
Refactor download-related code and remove unused methods
- Remove unused methods `set_channel_download`, `get_channel_download`, `set_add_to_channel`, and `get_add_to_channel` from `DownloadConfig` class - Refactor code in `DownloadManager` class to remove the usage of the removed methods - Update logic in `DownloadsEndpoint` class to skip hidden downloads without checking for channel downloads
Configuration menu - View commit details
-
Copy full SHA for b89ca5b - Browse repository at this point
Copy the full SHA b89ca5bView commit details -
Refactor: Update logger formatting and colors
This commit updates the formatting and colors of the logger in the `logger.py` file. The log colors for 'DEBUG' and 'INFO' levels have been set to white. This improves the readability and visual appeal of log messages.
Configuration menu - View commit details
-
Copy full SHA for 7c5975a - Browse repository at this point
Copy the full SHA 7c5975aView commit details -
Refactor page navigation and download progress update
- Removed unnecessary buttons from the page navigation in Tribler's application tester. - Removed unnecessary code for updating download progress information for ChannelTorrents in the DownloadsPage widget.
Configuration menu - View commit details
-
Copy full SHA for 8158747 - Browse repository at this point
Copy the full SHA 8158747View commit details -
Refactor action selection logic in executor.py
The code changes refactor the action selection logic in the `perform_random_action` method of `executor.py`. Instead of using a series of if-else statements, a dictionary called `actions` is introduced to map action names to their corresponding classes or lambda functions. This improves readability and maintainability of the code. The commit message summarizes the significant changes made to improve the action selection logic in executor.py.
Configuration menu - View commit details
-
Copy full SHA for ab7bed7 - Browse repository at this point
Copy the full SHA ab7bed7View commit details -
Add test for torrent_finished notification
This commit adds a new test case to ensure that the `torrent_finished` notification is called when the torrent finishes. The test verifies that the notification is correctly called with the expected parameters, including the infohash, name, and hidden status of the download. The added test case helps ensure that the `on_torrent_finished_alert` method behaves as expected and triggers the appropriate notification when a torrent finishes downloading.
Configuration menu - View commit details
-
Copy full SHA for ebf929d - Browse repository at this point
Copy the full SHA ebf929dView commit details -
Refactor action instantiation in executor.py
The code changes refactor the instantiation of actions in the `perform_random_action` method of `executor.py`. Instead of using lambda functions, the actions are now instantiated directly. This improves code readability and maintainability.
Configuration menu - View commit details
-
Copy full SHA for 6d55521 - Browse repository at this point
Copy the full SHA 6d55521View commit details