Closed DropSnorz closed 3 months ago
The recent updates to OwlPlug focus on enhancing user interaction with the plugin details by making elements such as the creator name and tags interactive. Users can now click on these elements to add them directly to the multi-search input, streamlining the search process. The changes involve UI modifications, including the introduction of search chips in the explore section and transforming the creator label into a clickable hyperlink, alongside updates to JavaFX version and CSS enhancements for visual feedback.
Files | Change Summary |
---|---|
.../explore/controllers/ExploreController.java |
Added a new public method addSearchChip(String chip) to manage search chips in the UI. Added a method clearSearchChip() . |
.../explore/controllers/PackageInfoController.java .../resources/fxml/menu/PackageInfoView.fxml |
Changed creatorLabel to creatorLink , a Hyperlink type, and added functionality to handle actions on creatorLink . Enhanced event handling for chip elements. Updated JavaFX version to 17.0.2-ea. |
.../resources/owlplug.css |
Added styling for a .fake-chip class to change cursor to hand on hover and set background color to #D4D4D4 . |
Objective (Issue #) | Addressed | Explanation |
---|---|---|
Make Plugin Details Interactive by clicking the creator or tags to add to multi-search input (#62) | ✅ | |
Update JavaFX version and ensure compatibility (#62) | ✅ | |
Enhance UI feedback for clickable elements (#62) | ✅ |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Resolves #62
Summary by CodeRabbit
New Features
Enhancements
Style
.fake-chip
class, improving UI feedback with cursor change on hover and a new background color.