Commit graph

531 commits

Author SHA1 Message Date
Hans5958
f577980f9b Small refactoring 7
Use better for loops (for performance)
2023-04-22 13:08:03 +07:00
Hans5958
5f8a3b96e6 Use start period instead of end for highlightEntryFromUrl 2023-04-22 13:08:03 +07:00
Hans5958
94640681b5 Small refactoring 6, also filter hoverable elements when searching
Change atlasSorted to atlasDisplay (atlasSorted also includes filtering anyway)
Prefer .slice() over .concat() (say it is faster)
2023-04-22 13:08:03 +07:00
Hans5958
3b7f07bef3 Small refactoring 5 2023-04-22 13:08:03 +07:00
Hans5958
b14db0d4e3 Add infinite scrolling on entries list
Resolves #1431
2023-04-22 13:08:03 +07:00
Hans5958
93d66a2927 Fix renderBackground not using atlas data 2023-04-22 13:08:03 +07:00
Hans5958
8e2915b75f Fix hash updating to preserve other URL parts, fix zzz handling 2023-04-22 13:08:03 +07:00
Hans5958
3601e1db36 Fix regression when seeking with wheel not working 2023-04-22 13:08:03 +07:00
Hans5958
c636e1a7b7 Fix view position not reverting from entry list preview
Alternative name: Bring back view position reverting from entry list preview (ARP removed it before)
2023-04-07 18:47:30 +07:00
Stefano
b869ec77f8
Merge branch 'master' into live-love-life/2 2023-04-07 13:09:39 +02:00
Hans5958
43d2eb887e Small refactoring 4 2023-04-07 16:51:57 +07:00
Hans5958
b78e1b8816 Also update lines on touchend 2023-04-07 16:14:07 +07:00
Hans5958
fb9e080bf6 Fix typo on documentation 2023-04-07 15:29:34 +07:00
AnonymousRandomPerson
d957da7e92 Updated (700, 700) to (800, 800) 2023-04-06 22:44:06 -04:00
Hans5958
cf7e397ab2 Fix hovering an infobox on entries list not working 2023-04-06 23:35:30 +07:00
Hans5958
c91551c956 Add multiline timestamp tooltip
Backport from place-catalog
2023-04-06 22:31:45 +07:00
Hans5958
bd791662a1 Use fetched image size for the canvas
Backport from place-catalog
2023-04-06 22:09:09 +07:00
Hans5958
b59c19315a Let default period and variation configurable 2023-04-06 21:38:44 +07:00
Hans5958
abbab36445 Add config to prefer numerical IDs
Compat for 2017
2023-04-06 10:19:11 +07:00
Cheng Hann Gan
0ae365e478 Fixed area calculation 2023-04-03 13:09:03 -04:00
Hans5958
4300c6a531 Rename sw files, fix sw hopefully 2023-04-02 13:21:02 +07:00
Hans5958
0e21f1aec8 Add informational console log 2023-04-01 14:56:03 +07:00
Hans5958
4a17422bd6 Prefer using layer system, add function to download canvas 2023-04-01 14:55:24 +07:00
Hans5958
e70768c14c Improve service worker based caching
Old object-based caching can be removed hopefully
2023-04-01 14:50:36 +07:00
Hans5958
ce4439f142 Handle zzz and 0 prefix on URLs 2023-03-26 19:37:34 +07:00
Hans5958
5df83c25df Small refactoring 3 2023-03-26 19:06:58 +07:00
Hans5958
07ffc41fa4 Shorten the license text
Nearly nobody bat an eye on this one (better check the LICENSE file on GitHub), also now make it so it doesn't get removed when minified
2023-03-26 15:16:05 +07:00
Hans5958
c8f474cad2 Fix how entryId works 2023-03-26 15:16:05 +07:00
Hans5958
7b8fbad690 Remove duplicate &text= 2023-03-26 15:16:05 +07:00
Hans5958
9061ed66fc Hide if default variation only has 1 version 2023-03-26 15:16:04 +07:00
Hans5958
f73c6d39e0 Fix hash not updating on default state 2023-03-26 15:16:04 +07:00
Hans5958
8f93434d45 Rename temp files
For consistency
2023-03-26 15:16:04 +07:00
Hans5958
7f6a24dd4b Use prodDomain for production atlas data 2023-03-26 15:16:04 +07:00
Hans5958
6ee0b382c4 Configure canvas element size on the fly 2023-03-26 15:16:04 +07:00
Hans5958
c74a31bbca Correct "r/place" 2023-03-26 15:16:04 +07:00
Hans5958
c87460c6e9 Fix regression when view not moving directly to the editing shape 2023-03-26 15:16:04 +07:00
Hans5958
ac55fb93e3 Improve export entry process
Add tooltip when entry is still too long to be sent directly
Minify when entry is too long for copy-and-past submission
Add name (and emoji) for the post title when sending directly
2023-03-26 15:16:04 +07:00
Hans5958
8ccdf0d660 Fix and simplify filtering and sorting 2023-03-26 15:16:03 +07:00
Hans5958
c420d49025 Also compare length to handle longer ID on newest/oldest 2023-03-26 15:16:03 +07:00
Hans5958
2a238836a1 Small refactoring 2
An instance is the copy of Atlas for a specific r/place event
Instance-only code are now indicated with "@instance-only"
2023-03-26 15:16:03 +07:00
Hans5958
ae80b28c2f Change newline comma style 2023-03-26 15:16:03 +07:00
Hans5958
0678c20e7e Add config script for modularization 2023-03-26 15:16:03 +07:00
Hans5958
28ef564f08 Categorize JS scripts 2023-03-26 15:16:03 +07:00
Hans5958
b836f86527 Simplify by using shared elements 2 2023-03-26 15:16:03 +07:00
Hans5958
44deee01f2 Small refactoring 2023-03-26 15:16:03 +07:00
Hans5958
5479d1d9b0 Use current view state for new periods
Resolves #1368
2023-03-26 15:16:03 +07:00
Hans5958
0c1f8f6d11 Keep current view state when editing or exiting edit 2023-03-26 15:16:03 +07:00
Hans5958
57fc344ebd Revert title and button changes after exiting entry view 2023-03-26 15:16:03 +07:00
Hans5958
5d21513263 Simplify by using shared elements 2023-03-26 15:16:03 +07:00
Hans5958
b2f287180c Calculate zoom based on entry dimensions
Resolves #1353
2023-03-26 15:16:03 +07:00