Skip to content
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

232 - Fix Jewel 0.12 Api usage, rollback to compose Splitpane, add InfoPanelConent #16

Closed

Conversation

fscarponi
Copy link
Contributor

lamba92 and others added 30 commits November 29, 2023 18:16
Refactored how the search results are retrieved in PackageListViewModel for better code simplicity and readability. Also, an unused import from Utils.kt has been removed improving code cleanliness.

(cherry picked from commit 34c012d)
…like spacing and color - IJ232 (#5)

Created PackageSearchDropdownLink with a specific Style, injected top level

(cherry picked from commit 3adb17e)

---------

Co-authored-by: Lamberto Basti <[email protected]>
Removed time-based version suffix for snapshots in build.gradle.kts and replaced it with an approach dependent on the environment variables "RUN_NUMBER" and "RUN_ATTEMPT". Included these variables into the action workflow publish-snapshot.yml

(cherry picked from commit 046267d)
Changed the `getValue` calls to direct map lookup operations in the PackageListViewModel. This approach ensures the code is more readable and allows us to handle null values with the Elvis operator, improving the overall robustness of the module variant and search result handling.

(cherry picked from commit 17baa2b)
This commit removes the use of runCatching for API calls in PackageSearchApiPackageCache and instead handles potential failures further upstream. Additionally, introduced in the PackageSearchProjectService is a restart mechanism with a retry limit that prevents continuous restarts and avoids potential infinite loops. The PackageSearchGradleModelBuilder class also had an unused import that was removed.

(cherry picked from commit 1732153)
This commit removes unused properties 'count' and 'attributes' from PackageList Builder. Additionally, a misnamed variable 'attriutes' has been renamed to 'attributes' across different methods enhancing code readability and maintenance.

(cherry picked from commit 8b3796c)
…filtered by search query

(cherry picked from commit 7c1ece2)
Integrated analytics event loggers to track events such as package installations, removed or upgrades, search requests, toggles, and GUI actions. This will aid in better understanding user behavior and improving features. The commit also includes changes for issues with module selection and aligning panels but focuses mainly on the introduction of analytics.

(cherry picked from commit f074653)
… access modifier

The `packageVersionField` and `packageFromVersionField` were both refactored to use `StringValidatedByRegexp` instead of `StringValidatedByRegexpReference`. In addition, several preference fields were changed from public to private, enhancing the encapsulation of these fields.

(cherry picked from commit 4c6b866)
Access level for PackageSearchEventsLogger has been changed to internal. Furthermore, several preference fields in PackageSearchEventsLogger have been changed to private - improving data encapsulation. Logging functions have also been shifted to internal to control the scope of their usage.
(cherry picked from commit a4d20a2)
(cherry picked from commit 33c408b)
The version of ideaGradlePlugin in the packagesearch.versions.toml file has been updated from 1.14.1 to 1.16.1.

(cherry picked from commit 9efc988)
lamba92 and others added 9 commits December 14, 2023 13:47
Moved UI theme construction to a new file called `UiUtils.kt` for better organized code. Also improved how the Package Search plugin handles project refreshes and renames `isProjectSyncing` to `isProjectImportingFlow`, the latter better represents the process. These changes enhance clarity and maintainability.

(cherry picked from commit 0b9b65d)
The PackageSearchApiClient within the PackageSearchApplicationCachesService is updated to use the DEFAULT endpoints from PackageSearchEndpoints instead of the DEV endpoints. This change doesn't affect the behavior of the application but makes the code more consistent and easier to read.
Introduces Apache License 2.0 to the project. Modifies the README.md to include JetBrains official project badge. A new Code of Conduct file has been created, referring to the JetBrains Open Source and Community Code of Conduct.

(cherry picked from commit 68a88bb)
…esTab (#9)

Refactor platformListMock to getter in HeaderAttributesTab
scrollToAttribute has CoroutineScope as receiver
rename InfoPanelContentEvent Attributes Declared into FromVariant and Search into FromSearch
rename Attributes Declared into FromVariant and Search into FromSearch

This commit adds InfoPanelContent Attributes for "Declared" type to the asPanelContent function, including the tab's title, variant's title, and attributes. A click event handler for the selected packages is also added to refresh the side panel content. A new event for package selection has been placed in 'PackageListItemEvent'. Furthermore, the attribute type name description and content title in the package search UI have been updated for clarity. The style of the 'Search' content in HeaderAttributesTab has also been modified to reduce redundancy and clarify display conditions. Now, by clicking on an attribute badge, it's possible to scroll to individual attributes with a smooth animation.

(cherry picked from commit 259a0d2)
@fscarponi fscarponi marked this pull request as draft January 11, 2024 10:52
@fscarponi fscarponi closed this Jan 11, 2024
@fscarponi fscarponi deleted the fabrizio.scarponi/232-fix-missing-compose-libs branch January 11, 2024 11:18
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.

2 participants