chore: update libraries of Gsify and refactor some testes and code with more tests added#29
Merged
Merged
Conversation
…th more tests added
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several key improvements and refactors across the codebase, focusing on dependency upgrades for GNOME 50 compatibility, TypeScript and code hygiene improvements, and enhancements to the build and testing workflow. The most significant changes include updating all GJS/GIR dependencies to GNOME 50, simplifying module definitions, refactoring the Bluetooth menu and icon handling, and improving the developer experience with new commands and clearer output.
Dependency and Compatibility Upgrades:
@girs/*dependencies inpackage.jsonto GNOME 50 versions, ensuring compatibility with the latest GNOME Shell and libraries. This includes switching to@girs/st-18,@girs/shell-18,@girs/meta-18, and related packages. [1] [2] [3] Fbef6f43L1)Module System and TypeScript Refactoring:
ModuleOption,ModuleMetadata, andModuleDefinitionfromsrc/moduleDefinition.tsintosrc/module.ts, and updated all module imports accordingly. [1] [2] [3] [4] [5]@ts-nocheckand@ts-ignorecomments throughout the codebase, improving TypeScript strictness and code clarity. [1] [2] [3] [4] [5] [6] [7] [8]Bluetooth Menu and Icon Handling Refactor:
IconThemeLoaderclass in favor of a simplifiedloadIconfunction, streamlined the patcher lifecycle, and improved cleanup of event listeners and resources. [1] [2] [3] [4] [5] [6] [7] [8]Build and Testing Workflow Improvements:
glib-compile-schemas) to the build process injustfile, and introduced a newtoolbox testcommand for running individual integration tests. Also improved test output filtering and clarified available toolbox actions. [1] [2] [3] [4]metadata.jsonto use a numeric version field for better schema compliance.Miscellaneous Improvements:
src/extension.ts. [1] [2] [3]These changes collectively modernize the codebase, improve maintainability, and streamline the development workflow for GNOME 50 and beyond.