Closed mrf345 closed 4 weeks ago
The changes involve significant updates to the JavaScript code in the Wails framework, focusing on event handling and drag-and-drop functionality. A variable renaming enhances clarity, while callback management is improved through optional chaining. Additionally, the drag-and-drop feature now correctly displays the cursor icon, addressing a specific user-reported issue.
File | Change Summary |
---|---|
v2/internal/frontend/runtime/runtime_prod_desktop.js | Replaced variable w with d for event listener management; updated callback functions to use optional chaining; refined drag-and-drop functionality for improved user feedback. |
website/src/pages/changelog.mdx | Added a changelog entry for the fix regarding the missing cursor icon in drag-and-drop functionality. |
Objective | Addressed | Explanation |
---|---|---|
Drag and drop missing cursor icon (3702) | ✅ |
🐇 "In the garden, I hop with glee,
A cursor's back, as bright as can be!
With events now clear, and drags so fine,
Wails shines bright, a framework divine!"
🌼
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?
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
50.0% Duplication on New Code
Hi 👋 Did you just compile the existing runtime source to produce these files? I don't really understand what the changes were.
@leaanthony I checked diff for runtime_prod_desktop.js and seems yes, it's just wasn't builded with copy
Maybe just good idea to rerun all builds on your side and just commit to master
Will be doing a mega PR sweep on the weekend and do a new release. Thanks for your patience 🙏
Description
Fix the missing drag and drop cursor icon for prod runtime, this's a follow-up to #3703
Fixes #3702
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Tested locally, after the fix:
Test Configuration
Checklist:
website/src/pages/changelog.mdx
with details of this PRSummary by CodeRabbit
New Features
Bug Fixes
Documentation