Commit Graph

387 Commits (46eb0fd97ad8cc39c2be82f6d2e1c8c9e7ae3ff7)

Author SHA1 Message Date
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