Commit Graph

440 Commits (1625286e7168568622cab601db9bfa4bfbc097a1)

Author SHA1 Message Date
Varun Patil c967065d83 refactor: scroller moveto 2022-10-20 22:24:00 -07:00
Varun Patil 60e33112bd Allow running without cache 2022-10-20 21:28:10 -07:00
Varun Patil 3da3cab4b1 Restore tick centering 2022-10-20 20:16:56 -07:00
Varun Patil 7941a4ed71 Reduce handleResizeWithDelay delay 2022-10-20 19:59:42 -07:00
Varun Patil fc4862f5a0 Fix more resize issues 2022-10-20 19:55:18 -07:00
Varun Patil 2ee9e09a25 big: fix resizing issue 2022-10-20 18:35:31 -07:00
Varun Patil 0304cf07a2 timeline: recomputeSizes rework 2022-10-20 18:09:25 -07:00
Varun Patil 9ec4a4c78f No reflow in recomputeSizes (handleResize) 2022-10-20 17:41:26 -07:00
Varun Patil 2715209a3d scroller: recreate overrides adjust 2022-10-20 17:39:11 -07:00
Varun Patil 726c2a54af Revert isMobile to func 2022-10-20 16:15:18 -07:00
Varun Patil 0f4f3b7ef8 scroller: use only hv on mobile 2022-10-20 16:03:33 -07:00
Varun Patil d6ad3c097c Make mobile scroller larger 2022-10-20 15:37:36 -07:00
Varun Patil 593c3562bc Fix box-sizing 2022-10-20 14:43:18 -07:00
Varun Patil eded100da2 Cap size of face list modal 2022-10-20 14:33:29 -07:00
Varun Patil 593f0cea31 Add support for memes from the 90s
MIMEs test by @illnesse (#83)
2022-10-19 16:06:32 -07:00
Varun Patil 42aebc5d9c refactor: get rid of timeline scroll funcs 2022-10-19 15:54:20 -07:00
Varun Patil cbe6629372 scroller: use sequential keys for dash 2022-10-19 12:57:34 -07:00
Varun Patil 9a52caacc3 Fix at least the scroller 2022-10-19 12:39:07 -07:00
Varun Patil 25d787f419 Allow setting folder base path (close #85) 2022-10-19 12:26:32 -07:00
Varun Patil 0a028ef791 scroller: computeVisibleTicks after adjust 2022-10-19 11:33:48 -07:00
Varun Patil 866376c912 timeline: join day calls (fix #84) 2022-10-19 11:22:43 -07:00
Varun Patil 40ab7cbf2b thisday: fix repeat bug 2022-10-19 10:46:29 -07:00
Varun Patil 850d5496f7 Don't let user move faces unless marked 2022-10-18 18:21:27 -07:00
Varun Patil d01fc1268c Allow moving faces to other cluster (fix #78) 2022-10-18 18:07:00 -07:00
Varun Patil ca4b13295a refactor: modal face list 2022-10-18 17:34:25 -07:00
Varun Patil 1fdf6c2093 Restore close-after-click 2022-10-18 17:05:05 -07:00
Varun Patil 789186160d refactor: selection manager loading 2022-10-18 17:01:04 -07:00
Varun Patil d73242badc refactor: use object for scrollermanager 2022-10-18 15:52:54 -07:00
Varun Patil fc8b5a6465 Fix timeline cache issue 2022-10-18 15:28:10 -07:00
Varun Patil 9a1daec13c Remove random icon 2022-10-18 14:11:05 -07:00
Varun Patil 38ceddc609 Mark person in preview (fix #79) 2022-10-18 14:08:27 -07:00
Varun Patil 532a8ad716 Remove unused flags 2022-10-18 13:51:28 -07:00
Varun Patil 3f53b73db1 Add recycler fade 2022-10-18 11:43:17 -07:00
Varun Patil d1d255d4b1 thisday: cache 2022-10-18 11:35:38 -07:00
Varun Patil f6775a3287 thisday: dark mode 2022-10-18 11:24:04 -07:00
Varun Patil a67c23573b Fix recyclerBefore size 2022-10-18 11:20:17 -07:00
Varun Patil 9669557983 thiday: mobile layout 2022-10-18 11:11:04 -07:00
Varun Patil 70d0aacb71 thisday: improve sampling 2022-10-18 10:52:44 -07:00
Varun Patil 42fcae0f51 Add on this day to top of timeline (#41) 2022-10-18 10:42:44 -07:00
Varun Patil b63a2cbfa7 Chunk calls to getFiles (fix #77) 2022-10-18 08:16:40 -07:00
Varun Patil 5de3e90b99 Add object-fit to tag and folder (#72) 2022-10-18 07:49:06 -07:00
Varun Patil 5461f29581 Remove unused import 2022-10-18 07:08:11 -07:00
Varun Patil 7ecc646408 refactor: move moment stuff to utils 2022-10-17 20:06:01 -07:00
Varun Patil caa31041b3 Change square layout probabilities 2022-10-17 19:24:00 -07:00
Varun Patil 7ce3d3225d layout: add guard 2022-10-17 16:58:02 -07:00
Varun Patil 88e89c88e0 layout: allow disable 2022-10-17 16:55:58 -07:00
Varun Patil c9eb878330 layout: make it deterministic 2022-10-17 16:46:43 -07:00
Varun Patil 28f8c85751 layout: breakout 2022-10-17 16:35:24 -07:00
Varun Patil 2e9d13a515 Add 6-flag to mob layout 2022-10-17 15:46:38 -07:00
Varun Patil 2506180426 refactor: flagMatrixStr 2022-10-17 12:20:42 -07:00
Varun Patil a1a04b174c incomplete: non-uniform mobile layout (#73) 2022-10-17 12:18:05 -07:00
Varun Patil 3e54bc72c1 faces: crop with imagick (#72) 2022-10-17 10:41:58 -07:00
Varun Patil 2cd8105224 Fix empty face merge modal (fix #71) 2022-10-17 07:43:46 -07:00
Varun Patil 2fb8578e28 refactor: viewerManager 2022-10-16 20:53:38 -07:00
Varun Patil ffb9e1604d Fix incorrect scroll on date edit 2022-10-16 19:58:18 -07:00
Varun Patil 36e2f9d9ff Add service worker 2022-10-16 19:52:44 -07:00
Varun Patil de4bb84e40 Clear old caches 2022-10-16 19:17:56 -07:00
Varun Patil db2dc38b78 refactor: single translate transform 2022-10-16 19:01:39 -07:00
Varun Patil 3815bfc817 editdate: soft refresh only 2022-10-16 18:56:50 -07:00
Varun Patil 59116b637a timeline: fix day comparison 2022-10-16 18:22:59 -07:00
Varun Patil 400d974aa7 cache: days 2022-10-16 16:58:31 -07:00
Varun Patil 40f75b8b6f refactor: cache 2022-10-16 16:41:27 -07:00
Varun Patil 43ce9180a8 big: transform position 2022-10-16 15:47:14 -07:00
Varun Patil 4ca809d7b2 Prevent deletion glitches 2022-10-16 14:08:15 -07:00
Varun Patil 208797dd11 Remove numRows and change rows to list 2022-10-16 13:55:07 -07:00
Varun Patil 16f1562ade Bust cache with version 2022-10-16 13:18:47 -07:00
Varun Patil c679a5f2d1 Cache day response 2022-10-16 12:58:38 -07:00
Varun Patil 4b42cb37ef tag: fix call signature 2022-10-16 12:02:23 -07:00
Varun Patil b74b8c73cb big: eliminate FLAG_LOADED 2022-10-16 12:01:49 -07:00
Varun Patil bbc735ee44 timeline: remove days var 2022-10-16 11:52:18 -07:00
Varun Patil 90f197549c scroller: add guards 2022-10-16 11:46:26 -07:00
Varun Patil 260457f695 Remove stray log 2022-10-16 10:16:55 -07:00
Varun Patil 7c553064b7 Use ceil for numCols heuristic 2022-10-16 09:58:46 -07:00
Varun Patil 0109eca86d scroller: always adjust all ticks 2022-10-15 22:48:25 -07:00
Varun Patil 6d42b147ed Fix thumb size 2022-10-15 21:26:01 -07:00
Varun Patil a4345871df Fix photo icons 2022-10-15 21:06:26 -07:00
Varun Patil b6adacc19b timeline: floor dispWp instead of round 2022-10-15 20:33:07 -07:00
Varun Patil 2b9e7ee5b7 refactor: convertFlags to utils 2022-10-15 20:28:40 -07:00
Varun Patil a20edc67bb Round dispWp 2022-10-15 20:25:26 -07:00
Varun Patil 968fb702c0 rowSizeDelta rounding 2022-10-15 20:19:17 -07:00
Varun Patil 1a960be768 Add square photo config option 2022-10-15 20:18:11 -07:00
Varun Patil e298ef97fa big: switch to justified layout 2022-10-15 19:55:53 -07:00
Varun Patil 4e98e93d6e Fix face location 2022-10-15 17:52:10 -07:00
Varun Patil c30a0828cb Add w/h to day response 2022-10-15 12:23:31 -07:00
Varun Patil f2202f919c Use size for height instead of rowHeight 2022-10-15 11:57:27 -07:00
Varun Patil 93779c2cbe Exclude topmatter from scroller height 2022-10-15 11:52:34 -07:00
Varun Patil 3c99410738 Remove frame rowHeight dep 2022-10-15 11:48:17 -07:00
Varun Patil a4630ac11a Remove unused import 2022-10-15 11:18:32 -07:00
Varun Patil beb4219b1b Memoize getShortDateStr 2022-10-15 11:12:54 -07:00
Varun Patil 7723f551c8 scroller: use binary search for moveHoverCursor 2022-10-15 11:00:24 -07:00
Varun Patil d4a487ffc9 refactor: make scroller use rows 2022-10-15 10:41:49 -07:00
Varun Patil b31146097e Revert "scroller: no reflow if nothing changed"
This reverts commit a29eeedc66.
2022-10-14 16:42:13 -07:00
Varun Patil a29eeedc66 scroller: no reflow if nothing changed 2022-10-14 16:33:55 -07:00
Varun Patil 1593c45b81 refactor: make selection manager methods private 2022-10-14 16:29:37 -07:00
Varun Patil 0b1559af19 reafactor: out scroller 2022-10-14 16:29:20 -07:00
Varun Patil 3d09c3055d reafactor: directory structure 2022-10-14 14:45:23 -07:00
Varun Patil 9046f82375 refactor: move topmatter to component 2022-10-14 14:34:58 -07:00
Varun Patil 1d5c6905cd Refactor SelectionManager 2022-10-14 14:21:17 -07:00
Varun Patil ed28ce75a3 Improve thisDay 2022-10-12 13:23:29 -07:00
Varun Patil bd945f6366 l10n: dynamic top matter 2022-10-12 12:40:56 -07:00
Varun Patil a337cb97ed Completely get rid of padding on mobile 2022-10-12 12:37:49 -07:00
Varun Patil d477f76cf5 Misc mobile fixes 2022-10-12 12:30:42 -07:00
Varun Patil 4d6d1a4833 Add dynamic top matter 2022-10-12 12:05:38 -07:00
Varun Patil 1d8b6433ae Improve mobile cursor further 2022-10-12 09:54:58 -07:00
Varun Patil 4307c155d4 Fix tag cursor 2022-10-12 09:45:26 -07:00
Varun Patil 708d0ed08c Fix usage of will-change 2022-10-12 09:41:51 -07:00
Varun Patil 889fd65390 Improve mobile scrolling 2022-10-11 17:49:31 -07:00
Varun Patil db308e9aca Fix thisday processing 2022-10-11 14:02:42 -07:00
Varun Patil 737f59656a Fix viewer delete (fix #67) 2022-10-11 13:38:09 -07:00
Varun Patil 91e8dd326b Make emit typing safe 2022-10-11 13:32:24 -07:00
Varun Patil e3724e32dc Add face image removal 2022-10-11 13:16:11 -07:00
Varun Patil 0ef926e5b4 Add face merging (fix #65) 2022-10-11 12:49:05 -07:00
Varun Patil a99658e5a1 Fix z-index of top-bar 2022-10-10 22:14:28 -07:00
Varun Patil d4d3017737 Refactor modals 2022-10-10 22:13:41 -07:00
Varun Patil f40eb78a18 Add face remove box 2022-10-10 20:54:41 -07:00
Varun Patil 6fbef4d8c9 Add face name change modal (fix #64) 2022-10-10 20:40:58 -07:00
Varun Patil e81b7c6d59 Fix opening nameless faces 2022-10-10 17:17:42 -07:00
Varun Patil 9c6522480f Move top matter above error 2022-10-10 17:10:44 -07:00
Varun Patil 7030f789a3 Use translate for static cursor panning 2022-10-10 16:29:32 -07:00
Varun Patil 092de18af2 Don't render check unless needed 2022-10-10 16:13:52 -07:00
Varun Patil 3e901189b3 Fix gap in back arrow in tags/face 2022-10-10 12:24:06 -07:00
Varun Patil 34a6818242 EditDate: fix division by zero (#56) 2022-10-08 17:36:13 -07:00
Varun Patil 272c1a65ea Show empty content message 2022-10-08 17:25:34 -07:00
Varun Patil 5640418003 Fix Nextcloud 25 borders 2022-10-08 16:56:25 -07:00
Varun Patil 032856ddb4 Minor timeline UX adjustment 2022-10-08 16:42:52 -07:00
Varun Patil ee99993378 Add Face top matter 2022-10-07 23:52:41 -07:00
Varun Patil c567000406 Fix folder refresh 2022-10-07 23:35:09 -07:00
Varun Patil 6fcb3ba457 Use name for face fetching 2022-10-07 23:26:09 -07:00
Varun Patil bfee339bc9 Always use cache previews 2022-10-07 19:12:07 -07:00
Varun Patil 991515e9e5 Get face previews in single query 2022-10-07 19:00:55 -07:00
Varun Patil ff502b5068 Speed up tag thumb load 2022-10-07 17:57:48 -07:00
Varun Patil 6760e7d7e9 Cache itag previews 2022-10-07 17:26:10 -07:00
Varun Patil 4cdd72cce1 Add tag top matter 2022-10-07 15:56:43 -07:00
Varun Patil 4f135c67f3 NcCounterBubble import from top package 2022-10-07 15:49:23 -07:00
Varun Patil e1bc82b2ca Prevent selecting tags 2022-10-07 13:28:20 -07:00
Varun Patil 87d4805cac Fix face on resize window 2022-10-07 13:26:50 -07:00
Varun Patil 27743824f0 Minor adjustment to face 2022-10-07 12:35:46 -07:00
Varun Patil d1e9205a54 Implement people tab for recognize 3 (fix #43) 2022-10-07 12:28:39 -07:00
Varun Patil 4c684f1aef Ensure tags enabled 2022-10-07 10:46:09 -07:00
Varun Patil f65b08f8a5 Fix regression in folder 2022-10-06 21:49:17 -07:00
Varun Patil ae0cce00cd Fix tag text size 2022-10-06 16:52:18 -07:00
Varun Patil f4d33df10d Add bubble to tag 2022-10-06 16:40:50 -07:00
Varun Patil f5baf36109 Add tags view 2022-10-06 16:28:35 -07:00
Varun Patil 8e0d818337 Check valid path in folder.vue 2022-10-06 15:59:54 -07:00
Varun Patil 4c38124ac8 Fix broken day GET 2022-10-06 13:37:12 -07:00
Varun Patil 5a250818a5 Add on this day tab (#41) 2022-10-06 13:20:39 -07:00
Varun Patil b62e73735c Allow querying multiple day ids 2022-10-06 12:24:45 -07:00
Varun Patil 515addf497 Show days API errors properly 2022-10-06 11:49:51 -07:00
Varun Patil f09322d866 Add viewInFolder function (fix #61) 2022-10-06 11:16:23 -07:00
Varun Patil 02766777ef Fix IFileInfo interface 2022-10-06 11:15:41 -07:00