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

Fix timeout for opening folder #878

Merged
merged 3 commits into from
Jan 6, 2025
Merged

Conversation

mbraak
Copy link
Owner

@mbraak mbraak commented Jan 6, 2025

When using the drag and drop function a closed folder must be opened after a timeout when it is hovered over. It must not be openend immedately.

Copy link

github-actions bot commented Jan 6, 2025

Size Change: +9 B (+0.03%)

Total Size: 28 kB

Filename Size Change
./lib/dragAndDropHandler/index.js 2.15 kB +9 B (+0.42%)
ℹ️ View Unchanged
Filename Size
./lib/dataLoader.js 859 B
./lib/dragAndDropHandler/binarySearch.js 305 B
./lib/dragAndDropHandler/dragElement.js 432 B
./lib/dragAndDropHandler/generateHitAreas.js 1.18 kB
./lib/dragAndDropHandler/iterateVisibleNodes.js 547 B
./lib/dragAndDropHandler/types.js 33 B
./lib/elementsRenderer.js 1.85 kB
./lib/jqtreeMethodTypes.js 33 B
./lib/jqtreeOptions.js 33 B
./lib/keyHandler.js 808 B
./lib/mouseHandler.js 1.49 kB
./lib/mouseUtils.js 233 B
./lib/node.js 3.2 kB
./lib/nodeElement/borderDropHint.js 390 B
./lib/nodeElement/folderElement.js 815 B
./lib/nodeElement/ghostDropHint.js 527 B
./lib/nodeElement/index.js 682 B
./lib/nodeUtils.js 192 B
./lib/saveStateHandler.js 1.31 kB
./lib/scrollHandler.js 467 B
./lib/scrollHandler/containerScrollParent.js 865 B
./lib/scrollHandler/createScrollParent.js 512 B
./lib/scrollHandler/documentScrollParent.js 1.05 kB
./lib/scrollHandler/types.js 33 B
./lib/selectNodeHandler.js 622 B
./lib/simple.widget.js 954 B
./lib/tree.jquery.js 5.88 kB
./lib/util.js 347 B
./lib/version.js 146 B

compressed-size-action

@mbraak mbraak merged commit 37930ff into dev Jan 6, 2025
4 checks passed
@mbraak mbraak deleted the fix-timeout-for-opening-folder branch January 6, 2025 15:39
Copy link

codecov bot commented Jan 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.50%. Comparing base (385dded) to head (492ec38).
Report is 2 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #878   +/-   ##
=======================================
  Coverage   97.49%   97.50%           
=======================================
  Files          30       30           
  Lines        2315     2321    +6     
  Branches      577      579    +2     
=======================================
+ Hits         2257     2263    +6     
  Misses         58       58           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

1 participant