Commit graph

558 commits

Author SHA1 Message Date
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
Hans5958
321731f6b4 Update PWA scripts 2023-03-26 15:16:02 +07:00
Hans5958
1bc798dbe1 Remove unused event variables 2023-03-26 15:16:02 +07:00
Hans5958
8ed457fef6 Fix eqeqeq issues 2023-03-26 15:16:02 +07:00
AnonymousRandomPerson
227c27f610 Updated (700, 400) to (800, 500) 2023-01-16 21:27:10 -05:00
AnonymousRandomPerson
a0de4c52e3 Updated (1700, 300) to (1800, 400) 2023-01-04 16:42:45 -06:00
Dusk Banks
a414cd8c2a tfc: Add Unofficial Corrections canvas revision 2022-08-20 17:23:24 -07:00
Hans5958
80207358f9 Add Reddit contribs, update project contribs, other about page updates 2022-07-03 18:29:31 +07:00
Cheng Hann Gan
99a4b122d2 Fixed draw tool offsetting entries by 1 2022-05-17 13:09:37 -04:00
Hans5958
f92901af74 Remove decimals on path and center, remove unused code 2022-05-17 19:33:31 +07:00
Hans5958
be8f3f1e4b Format versions 2022-05-11 13:16:29 +07:00
Hans5958
965af652d4 Define functions on the top 2022-05-11 13:15:42 +07:00
Hans5958
bd030f8cfb Support icon-less entries 2022-05-11 13:09:17 +07:00
mxdanger
55ce2de545 Contextual period range minimum 2022-05-10 17:36:24 -07:00
mxdanger
c6cb99d8b7 Updated drawablePeriods 2022-05-10 00:33:42 -07:00
mxdanger
0ceda8c9b0 Fixed draw buttons disabled state 2022-05-10 00:19:39 -07:00
mxdanger
fa725b2d56 Added timeline slider scroll wheel incrementation 2022-05-09 23:03:23 -07:00
mxdanger
275ac22684 Added timeline editor improvements 2022-05-09 18:03:20 -07:00
mxdanger
5ddec7631b Prioritize bottom bar visibility over object list
Updated active error to be more prominent
2022-05-09 12:57:23 -07:00
mxdanger
6b1200d6fb Fix drawing during conflict 2022-05-09 12:55:14 -07:00
Hans5958
dcc09809e6 Avoid drawing when conflicts existed
Curse you regression!
2022-05-09 22:29:10 +07:00
mxdanger
e1e9539371 Fixes and code cleanup
* Fixed cursor states
* Disabled hover effects for side menu entries when selection locked
2022-05-07 22:22:01 -07:00
mxdanger
486a2ac278 Updated lines function and added move cursor 2022-05-06 15:08:45 -07:00
Hans5958
3e0fad6f2c Fix undo button 2022-05-06 17:28:26 +07:00
Hans5958
cc57d2bc4f Remove ending semicolon 2022-05-06 14:41:22 +07:00
Hans5958
935eadd618 Rename variables, avoid using long set logic thing 2022-05-06 14:38:48 +07:00
Hans5958
5129fbc1ff Swap if start > end 4 2022-05-06 14:36:48 +07:00
Hans5958
08f195eb12 Use mouse position when undo/redo/reset 2022-05-06 14:26:29 +07:00
Hans5958
4c07c5372d Fix bug on formatPeriod 2022-05-06 14:14:57 +07:00
Hans5958
d4db79ac18 Revert to match migrator
@mxdanger, the current one would be 166 (migrator), please discuss if you want 164 instead
2022-05-05 16:16:58 +07:00
Hans5958
54e06ea212 Swap if start > end 3 2022-05-05 16:06:57 +07:00
Hans5958
d4fcc4d57d Swap if start > end* 2 2022-05-05 16:03:04 +07:00
Hans5958
06fc5d51df Swap if end > start 2022-05-05 15:09:56 +07:00
mxdanger
30f2f77126 Added snapping for time controls slider
The slider should snap to the default period (such as before the whiteout)
2022-05-05 00:20:56 -07:00
mxdanger
cdd80a2b51 Added period range tick marks
Updated drawable range
Added placeholder streamerless in variations config
2022-05-04 23:56:09 -07:00
mxdanger
d90c269179 Added .editorconfig
Use tab instead of spaces
2022-05-04 14:37:47 -07:00
mxdanger
8dc6914f4b Fixed iOS SubmitEvent submitter value
Related bug: https://bugs.webkit.org/show_bug.cgi?id=229660
2022-05-04 14:08:39 -07:00
mxdanger
a67e883e61 Fixed minor issues
Added minlength to subreddit input  as a redundancy
2022-04-30 22:22:18 -07:00
Hans5958
be9e74d838 Extract needed values when pasting Discord and subreddit links
If possible
2022-05-01 12:10:25 +07:00
Hans5958
a95d21c77c Fix regex match to remove invalids, more strict subreddit pattern 2022-05-01 11:50:12 +07:00
mxdanger
12a98f7154 Actually use proper button disable 2022-04-30 21:35:36 -07:00
Hans5958
9413a235de Use proper way for default values on args 2022-05-01 11:06:04 +07:00
Hans5958
abf9209359 Use proper button disable 2022-05-01 11:05:16 +07:00
Hans5958
251e6b7af8 Disable delete button when only 1 period
Disable it or hide it?
2022-04-30 11:52:11 +07:00
Hans5958
736db1bc98 Use different way to remove an array item 2022-04-30 11:50:14 +07:00
Hans5958
89c82f6785 Remember that you need to deep clone! 2022-04-30 11:36:00 +07:00
Hans5958
8728ca1d1b Fix period generation 2022-04-30 11:28:20 +07:00
mxdanger
55bc870531 Use form validator for preview button
Updated test entries to just the variant code "T" instead of "T:"
2022-04-29 15:58:56 -07:00
Hans5958
49f0e631cb Avoid another update on hash linking, allow code-only period on default
The code-only period is just "".
2022-04-29 21:11:01 +07:00
Hans5958
da47e0f3a8 Add linking specific period, support code-only periods
Code-only periods (such as T, excluding default even though it is possible) will take the default value.
2022-04-29 20:48:40 +07:00
Hans5958
50585d1686 Set path so it is positioned on top of center 2022-04-29 17:01:58 +07:00
Hans5958
d83e6d040b Move variation change logic to be earlier 2022-04-29 13:41:25 +07:00
mxdanger
f93e3d85fc Fixed detection of blank entry link
Shortened website text by removing "www."
2022-04-28 22:55:11 -07:00
Hans5958
5eb1c54cd7 Improve lead paragraph on about, update author, fix capitalization 2022-04-29 12:31:12 +07:00
Hans5958
786f2c1782 Disable debug log 2 2022-04-29 12:16:54 +07:00
Hans5958
ce2882e85b Disable debug log 2022-04-29 12:14:22 +07:00
Hans5958
89129347e2 Merge remote-tracking branch 'upstream/remaster' into remaster 2022-04-29 11:49:52 +07:00
Hans5958
16691ff691 Add set of drawable periods
(so whiteouts can't be selected oh man)
2022-04-29 11:49:28 +07:00
mxdanger
bea259334d Merge branch 'remaster' of https://github.com/placeAtlas/atlas into remaster 2022-04-28 21:40:32 -07:00
mxdanger
5e102a6d5f Clear reset button state on focus loss
Periods spacing changes
2022-04-28 21:40:16 -07:00
Hans5958
8c74460bf2 Show tooltip when setting period on draw 2022-04-29 11:37:25 +07:00
mxdanger
5634f58b8d Added preview button
Added another test entry
2022-04-28 21:16:33 -07:00
Hans5958
2fbd1afa66 Add per-group errors 2022-04-29 10:46:11 +07:00
Hans5958
54aed55574 Improve changing canvas on draw 2022-04-29 10:13:51 +07:00
mxdanger
01b07ffef6 Infoblock link text truncate 2022-04-28 11:50:30 -07:00
Hans5958
5b107599b4 Add domain on website links 2022-04-28 18:54:26 +07:00
Hans5958
252d39390f Convert svgs to font icons, use aria-hidden, add icons on links 2022-04-28 18:53:51 +07:00
Hans5958
e32435a1b1 Convert remaining /r/place to r/place 2022-04-28 17:43:03 +07:00
mxdanger
268e69cc04 Updated loading overlay 2022-04-28 02:44:46 -07:00
mxdanger
30ae06ceba Animated atlas shift
Fixed tooltip issue
2022-04-28 01:32:06 -07:00
mxdanger
2411f3a351 Updated time controls slider appearance 2022-04-27 14:13:25 -07:00
mxdanger
517a381cb6 Fixed timeline tooltip going off screen
* Fixed tooltip hover and focus activation
* Fixed "Entries List" typo
2022-04-27 12:40:27 -07:00
mxdanger
6beb77a3c5 Changed /r/place to r/place 2022-04-26 01:00:25 -07:00
mxdanger
0a6cfc0a54 Added entries overflow notice 2022-04-26 00:52:44 -07:00