Commit graph

540 commits

Author SHA1 Message Date
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
mxdanger
6d074be100 Export entry flair label
* Added emphasis on flair label
* Updated flair label to be contextual based on new or edit
* Updated bottom bar layout
2022-04-25 23:58:07 -07:00
mxdanger
332684c604 Merge branch 'remaster' into interface 2022-04-25 16:56:23 -07:00
Hans5958
a7fb35e19e Make reset working
Resolves #1345
2022-04-24 15:18:24 +07:00
mxdanger
f9b990ec56 Fixed various issues 2022-04-24 00:51:41 -07:00
Hans5958
7196e47b0e Only do final for TFC, hide sliders when only one version is on the variation 2022-04-23 20:49:22 +07:00
Hans5958
3069717da9 Change attribution to "Place Atlas contributors" 2022-04-23 20:30:54 +07:00
Hans5958
8764f8e985 Use const 2022-04-23 20:29:22 +07:00
Hans5958
02a6ad3499 Remove console log comments 2022-04-23 20:28:32 +07:00
mxdanger
4332ba8224 Added object info inputs
Other changes:
* Accessibility improvements
2022-04-22 18:20:59 -07:00
mxdanger
7080605d03 Updated period editor
Other changes:
* Added r/place and TFC logo for period variation selector
* Updated to treat infoblock description newline and double newline separately
* Fixed textarea dynamic sizing
2022-04-21 23:10:03 -07:00
mxdanger
c34af77348 Merge remote-tracking branch 'upstream/remaster' into interface 2022-04-21 17:33:30 -07:00
mxdanger
48e471585f Update view.js 2022-04-21 10:56:50 -07:00
mxdanger
5823e27f67 Various additions/fixes
* Added wiki link to navbar
* Updated info block card header to be body color instead of link color
* Updated logo with no padding
* Updated logo to switch based on media query
* Fixed entries list to be hidden when drawing
* Fixed -webkit-backdrop-filter supports media query
2022-04-21 00:25:05 -07:00
mxdanger
c55d3b8b24 Major UI redesign 2022-04-20 01:54:58 -07:00
Hans5958
74b8073a7b Do stricter (and proper) subreddit regex 2
I forgot that I made it so it excludes underscore, here's a proper fix
2022-04-19 16:42:20 +07:00
Hans5958
1bca3bb9c5 Do stricter (and proper) subreddit regex
3-21 instead of 1-20
2022-04-19 16:34:52 +07:00
Hans5958
2f417e433a Optimize new center algo a little bit
incl. Don't use modules
2022-04-17 14:12:34 +07:00
Hans5958
91465afda1 Fix bugs of new center algorithm to make it work 2022-04-17 13:51:59 +07:00