Commit Graph

583 Commits (67340b0f755cb4d35d4bee9122828eaef7456e89)

Author SHA1 Message Date
Varun Patil 0ea4168a37 Use css var for dist 2022-10-30 15:32:07 -07:00
Varun Patil 8bf0fa7267 Fix check border 2022-10-30 15:25:31 -07:00
Varun Patil 3f96966f76 Make check blue 2022-10-30 15:08:19 -07:00
Varun Patil fc16ebec17 Improve select button 2022-10-30 14:59:14 -07:00
Varun Patil 07f6a5c713 Push icons together on mobile 2022-10-30 14:45:09 -07:00
Varun Patil cd289ebef7 Change video icon 2022-10-30 14:38:31 -07:00
Varun Patil 45facda00f Make photo icons bigger 2022-10-30 14:34:19 -07:00
Varun Patil 94280ecb0b Restore desktop hover overlay 2022-10-30 14:28:18 -07:00
Varun Patil 49ebfdfd0f photo: improve selection view 2022-10-30 13:24:17 -07:00
Varun Patil 0215885dea Cache tag preview only for day 2022-10-29 20:58:40 -07:00
Varun Patil e9b1e3db9c updateFromRecyclerScroll: run without animation frame 2022-10-29 17:29:51 -07:00
Varun Patil 256a57b12e Add setRenewingTimeout 2022-10-29 17:20:09 -07:00
Varun Patil 32bc48418f Make listeners passive 2022-10-29 17:17:34 -07:00
Varun Patil af5e3ef105 Simplify scroller timers 2022-10-29 17:11:12 -07:00
Varun Patil 80835421a5 Improve scroller behavior 2022-10-29 16:47:37 -07:00
Varun Patil 87973c2d5d Improve scroller performance 2022-10-29 16:16:13 -07:00
Varun Patil 1bea9c5ad1 Reduce recyclerScrolled calls 2022-10-29 16:15:18 -07:00
Varun Patil 00a5230c9f Revert "Improve scroller performance"
This reverts commit 0fbd076a52.
2022-10-29 16:08:06 -07:00
Varun Patil 0fbd076a52 Improve scroller performance 2022-10-29 15:50:14 -07:00
Varun Patil 21276219a1 Add contain strict to list and elems 2022-10-29 12:34:37 -07:00
Varun Patil c50c541095 Specify path on NC24 for viewer 2022-10-28 23:21:12 -07:00
Varun Patil 7dd758ee4d Remove album folder in day call 2022-10-28 22:44:16 -07:00
Varun Patil b84b4e6de1 Complete folder share 2022-10-28 22:24:19 -07:00
Varun Patil fd4105e913 Fix build 2022-10-28 19:36:01 -07:00
Varun Patil 65d8a478e1 Add OC typings 2022-10-28 19:34:24 -07:00
Varun Patil ed8ae2cce1 Hide selection menus on public link 2022-10-28 19:08:00 -07:00
Varun Patil 4c66ef1949 Fix deletion fail errro 2022-10-28 19:03:29 -07:00
Varun Patil 194c97aaf9 Fix folder share viewer 2022-10-28 18:58:40 -07:00
Varun Patil d3d3e34808 Hide navigation on shared folders 2022-10-28 18:34:17 -07:00
Varun Patil cd2f714e92 Include filename in days 2022-10-28 18:11:58 -07:00
Varun Patil 9209b8f55d Add basic folder share stuff 2022-10-28 17:25:39 -07:00
Varun Patil c8727c4f28 Check null for current user + default state 2022-10-28 16:21:08 -07:00
Varun Patil 51fd0a0e76 Fix album favorite 2022-10-28 15:48:10 -07:00
Varun Patil 4c7453cb84 Refactor getFiles to use photos 2022-10-28 15:46:13 -07:00
Varun Patil f2d61c3e07 Fix shared album photo viewing 2022-10-28 14:26:56 -07:00
Varun Patil a463e82f83 Show download errors 2022-10-28 14:22:27 -07:00
Varun Patil 2bda53240d Show album controls to owner only 2022-10-28 12:24:26 -07:00
Varun Patil 428e22dc19 Fix shared album list 2022-10-28 12:20:22 -07:00
Varun Patil fc6a4fc244 Make the code prettier 2022-10-28 12:08:34 -07:00
Varun Patil 64b50deb40 refactor: reorganize dav requests 2022-10-28 11:52:38 -07:00
Varun Patil c7815c7f58 Fix adding photos to shared album 2022-10-28 11:36:49 -07:00
Varun Patil d25ae081d5 Show owner name in shared album add 2022-10-28 11:27:00 -07:00
Varun Patil 1cddbaeb42 skipHover on recycler 2022-10-28 09:41:27 -07:00
Varun Patil af43138580 Change viewName to prop 2022-10-28 09:08:59 -07:00
Varun Patil 1af61db512 Add photos version check 2022-10-27 13:45:03 -07:00
Varun Patil a0d757adfc Use separate tag preview endpoint 2022-10-27 13:26:51 -07:00
Varun Patil 038ba2eb87 Add shared albums 2022-10-27 02:36:20 -07:00
Varun Patil 5927163b33 Add album share modal 2022-10-27 01:59:23 -07:00
Varun Patil 1d6cec1028 Allow collaborator on create 2022-10-27 01:22:00 -07:00
Varun Patil 9635b87237 Move album remove to top 2022-10-27 00:53:26 -07:00
Varun Patil 396aa95396 Fix album edit 2022-10-27 00:49:22 -07:00
Varun Patil 6dc6edbc9c Implement album deletion 2022-10-27 00:22:09 -07:00
Varun Patil e4e2b051ea Fix album title 2022-10-27 00:18:29 -07:00
Varun Patil 4dacf17833 Make empty tag dark 2022-10-27 00:17:42 -07:00
Varun Patil 9891a03d9e Add album create dialog 2022-10-27 00:11:35 -07:00
Varun Patil c9a2c8a021 Add album form 2022-10-26 23:37:56 -07:00
Varun Patil 67206643b7 Add album removal 2022-10-26 23:03:40 -07:00
Varun Patil 49373969a7 Port album adding 2022-10-26 22:49:57 -07:00
Varun Patil 6087e5fb0a Port album picker 2022-10-26 22:25:04 -07:00
Varun Patil 8d3f2a1cf6 Make bubble text black 2022-10-26 21:33:37 -07:00
Varun Patil 26d3e7068b Add album timeline 2022-10-26 21:33:37 -07:00
Varun Patil 50bb55536f albums: add list 2022-10-26 21:33:37 -07:00
Varun Patil 294b3b8a0c albums: initial commit 2022-10-26 21:33:37 -07:00
Varun Patil d489ffbc1d Don't round in scroller manager 2022-10-26 21:33:11 -07:00
Varun Patil 95438af1d8 Use :deep instead of global css 2022-10-26 21:26:28 -07:00
Varun Patil dffd84ba20 Add link to maps (fix #121) 2022-10-26 11:58:06 -07:00
Varun Patil c437f88965 photo: increase hq aggressiveness 2022-10-26 11:45:28 -07:00
Varun Patil d9a4f9e090 Fix missing placeholders 2022-10-26 10:52:54 -07:00
Varun Patil 387c79d6a2 Add move to cluster confirmation (fix #120) 2022-10-26 10:46:12 -07:00
Varun Patil 0feed0721f Make Folder and Tag links (fix #115) 2022-10-26 10:38:42 -07:00
Varun Patil 352f8d3d54 Patch viewer to full screen 2022-10-25 21:46:23 -07:00
Varun Patil adafe941e5 Minor display fixes 2022-10-25 21:34:01 -07:00
Varun Patil 4e796912be Fix blurry breakouts (fix #112) 2022-10-25 09:19:36 -07:00
Varun Patil 211519ddde Add start page (fix #109) 2022-10-24 21:30:43 -07:00
Varun Patil 033be33b04 No hard refresh on config change 2022-10-24 19:06:58 -07:00
Varun Patil bcd8169d7f Improve settings experience 2022-10-24 18:58:49 -07:00
Varun Patil 7e48d06cc3 Refactor TagDayIDValueSet 2022-10-24 18:34:46 -07:00
Varun Patil ebbc8ac12c Hide people for non-admin if no recognize (fix #103) 2022-10-24 09:38:39 -07:00
Varun Patil 6827a60277 urgent: fix day backref 2022-10-23 11:53:00 -07:00
Varun Patil 62bed82f1d Check face ownership before action (#82) 2022-10-23 11:24:47 -07:00
Varun Patil 742e43620d Catch cache exceptions (#98) 2022-10-23 11:01:53 -07:00
Varun Patil a8d8ee95d0 Don't breakout folders and tags (fix #94) 2022-10-23 10:46:09 -07:00
Varun Patil 6faa222b70 Fix folders path (#97) 2022-10-23 10:33:14 -07:00
Varun Patil 1ffc1b57f2 Catch cache errors 2022-10-23 10:30:52 -07:00
Varun Patil 7885c07320 Fix deletion glitches on mobile (#89) 2022-10-22 15:17:53 -07:00
Varun Patil e47f9ee999 Fix getCoords rounding error 2022-10-22 11:58:03 -07:00
Varun Patil daf0bc180b Fix confusing header select 2022-10-22 11:47:29 -07:00
Varun Patil 4e5215b87b Cap content-vue size to 100vh 2022-10-22 11:37:21 -07:00
Varun Patil 928969b7e4 Readjust on scroller height change 2022-10-22 11:35:43 -07:00
Varun Patil 09656da01b Fix tag name centering 2022-10-22 10:49:15 -07:00
Varun Patil fc2ddcd24e Add readonly mode 2022-10-22 10:41:34 -07:00
Varun Patil d7feba6803 Fix hover cursor stutter on day load 2022-10-22 10:15:28 -07:00
Varun Patil 51db40fb9e Make scroller non-linear 2022-10-20 23:48:28 -07:00
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