Commit Graph

70 Commits

Author SHA1 Message Date
Dustin Brett
a112236b08 Base DownloadURL on origin not href 2025-06-13 22:34:53 -07:00
Dustin Brett
7e2959392f Always use move effect for entry dragging 2025-04-09 20:04:32 -07:00
Dustin Brett
8da541a186 Why did I allow custom sorting?
Some checks failed
Tests / tests (push) Has been cancelled
2025-03-16 14:40:30 -07:00
Dustin Brett
67d3142a44 Only make drag image when needed 2025-02-17 19:46:33 -08:00
Dustin Brett
233b55b4b2 Always draw drag image when possible
Some checks are pending
Tests / tests (push) Waiting to run
2025-02-15 20:54:48 -08:00
Dustin Brett
5367c8d653 Subsequent drags show right position 2025-02-15 16:43:00 -08:00
Dustin Brett
14731ccda6 Memoize more stuff 2025-02-09 14:04:58 -08:00
Dustin Brett
f19b22ba51 Upgrade to React 19, Next.js 15 & Motion 12 2024-12-07 13:22:47 -08:00
Dustin Brett
ce89de297a Dont allow dragging on mobile
Some checks are pending
Tests / tests (push) Waiting to run
2024-11-22 10:00:13 -08:00
Dustin Brett
ae21174d58 Specify preload types + centralize 2024-10-25 15:34:03 -07:00
Dustin Brett
777ab673f0 Icon position auto repairing 2024-04-21 22:18:35 -07:00
Dustin Brett
e1b584ba47 Yet even more eslint rules 2023-11-18 21:02:03 -08:00
Dustin Brett
09e994e30b Improved drag image logic 2023-10-29 22:20:06 -07:00
Dustin Brett
63b349cc6b Upgrades and lint deps 2023-10-14 00:10:06 -07:00
Dustin Brett
26d1907260 Tweak constants/importing 2023-10-13 19:35:19 -07:00
Dustin Brett
d6a5a5c752 Resorting imports with VSCode 2023-09-23 15:44:25 -07:00
Dustin Brett
d64bfd2001 Pkg upgrades and tweaks 2023-08-03 14:52:46 -07:00
Dustin Brett
8d0351416a Dont blur after drag end 2023-08-01 21:51:30 -07:00
Dustin Brett
dc7e2d5dde Allow dragging files out 2023-07-29 23:24:56 -07:00
Dustin Brett
6a1d265734 Better file drop text passing 2023-02-24 20:52:46 -08:00
Dustin Brett
8ff91c918f Safer htmlToImage capture 2023-02-24 20:48:41 -08:00
Dustin Brett
515f94e63e Don't import React types when not needed 2023-02-18 13:31:03 -08:00
Dustin Brett
c7ab6fcee3 Keep html to image local 2022-12-27 22:13:35 -08:00
Dustin Brett
cb225fa988 Pkg upgrades, import html-to-image, eruda 2022-12-14 13:22:58 -08:00
Dustin Brett
52626617f6 Linting upgrades 2022-11-20 22:51:11 -08:00
Dustin Brett
a9ecbef05e Only do icon position on main 2022-11-12 20:43:28 -08:00
Dustin Brett
4301b4a68a Reset drag image on new drags 2022-11-11 22:11:54 -08:00
Dustin Brett
73e03108bb Set "dragged once" if all focused have positions 2022-11-09 20:10:17 -08:00
Dustin Brett
6c13a84ece Linting/sonar tweaks 2022-11-09 19:47:51 -08:00
Dustin Brett
016e7ccef0 Simpler drag image position 2022-11-04 09:02:16 -07:00
Dustin Brett
6dcb2b7aa9 Don't allow dragging while renaming 2022-09-20 21:07:18 -07:00
Dustin Brett
9060108ff0 Use correct mime type for dragging 2022-09-16 20:55:36 -07:00
Dustin Brett
796b466c3e Only offset FF drag on desktop 2022-09-13 22:21:35 -07:00
Dustin Brett
6c438a6c5a htmlToImage can be undefined at first 2022-09-11 21:33:24 -07:00
Dustin Brett
3342137de3 Fork html to image to fix video in peek 2022-09-02 19:58:41 -07:00
Dustin Brett
6dcf49da7a Avoid useLayoutEffect on initial load 2022-08-31 20:01:39 -07:00
Dustin Brett
37d608f2b0 Switch to useLayoutEffect 2022-08-31 19:07:47 -07:00
Dustin Brett
ceea13915c Consider already dragged on load if icons moved 2022-08-25 18:08:12 -07:00
Dustin Brett
4922b2095e Improved drag logic 2022-08-20 21:46:00 -07:00
Dustin Brett
d07a636172 Drag/event refactors 2022-08-20 13:14:08 -07:00
Dustin Brett
d4114aeec6 Multi drag image offset adjustments 2022-08-14 21:41:44 -07:00
Dustin Brett
cfbf6dbe0d Don't try to position icons off grid 2022-08-12 22:29:37 -07:00
Dustin Brett
e6f54774ef Dont trigger move if nothing is focused 2022-08-11 20:28:01 -07:00
Dustin Brett
abf7e8fb4d Allow moving multiple 2022-08-10 20:12:28 -07:00
Dustin Brett
1285012370 Get position from dragover 2022-08-10 13:34:51 -07:00
Dustin Brett
8df596b4ca Moveable icons 2022-08-10 12:57:43 -07:00
Dustin Brett
8a72b9b2c9 Update drag image when selecting stops 2022-07-07 22:51:28 -07:00
Dustin Brett
444555356e Fix drag/peek images 2022-07-05 21:09:58 -07:00
Dustin Brett
74fb15469a ESLint fixes 2022-03-31 14:00:34 -07:00
Dustin Brett
642e5a0579 Use unknown icon when dragging fails 2022-03-17 19:59:46 -07:00