feat: add Apps winthin folder are dragged across pages.#546
Conversation
Open the launcher app folder, drag the app icon on the first page to the right, leave the folder boundary (hide boundary), and drag across pages in the folder pms-bug-288691
deepin pr auto review代码审查意见:
综合以上意见,建议对代码进行重构和优化,以提高代码的可读性、可维护性和性能。 |
Reviewer's GuideThis pull request enables dragging applications across different pages within an open folder by adding a File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey @wjyrich - I've reviewed your changes - here's some feedback:
- Consider defining the padding ratio (0.3) and timer interval (1000) as named constants for improved clarity.
- The logic within
folderDndMovePageTimer.onTriggered, particularly the conditionalcheckDragMovecall, could potentially be simplified. - Ensure the interaction between
onDroppedandfolderDndMovePageTimercorrectly handles drops occurring near the page boundaries, perhaps by explicitly stopping the timer.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: BLumia, wjyrich The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Open the launcher app folder, drag the app icon on the first page to the right, leave the folder boundary (hide boundary), and drag across pages in the folder
pms-bug-288691
Summary by Sourcery
Implement drag and drop functionality for moving apps within a folder across multiple pages
New Features:
Enhancements: