Commit graph

365 commits

Author SHA1 Message Date
Hans5958
18edfdd867 Fix switching variations on draw mode fails 2022-04-16 22:26:37 +07:00
Hans5958
35bedfac34 Fix bug when period capping on 100
Co-authored-by: Fabian Wunsch <42294590+fabi321@users.noreply.github.com>
2022-04-16 22:26:37 +07:00
Hans5958
1afbd77b82 Layer based loading, use separate object for cache, deprecate timeConfig 2022-04-16 22:26:37 +07:00
Hans5958
bfb9764200 Match position when only 1 can be selected on slider
Co-authored-by: Fabian Wunsch <fabian@uriah.heep.sax.de>
2022-04-16 22:26:37 +07:00
Hans5958
f2671f2e9b Merge branch 'upstream/cleanup' into edit 2022-04-16 22:26:37 +07:00
Hans5958
12efb7608f Comment out console logs 2022-04-16 22:25:11 +07:00
Hans5958
d676dff31a Editing on canvas variations done, rename vars for clarity 2022-04-16 22:25:11 +07:00
Hans5958
81ba896e73 Viewing on canvas variations done 2022-04-16 22:25:11 +07:00
Hans5958
4648401a38 Put multiple periods in different groups, fix diff
Multiple periods part is untested
2022-04-16 22:25:11 +07:00
Hans5958
e11ba73337 Fix reappearing atlas outlines on explore 2022-04-16 22:25:11 +07:00
Hans5958
bbcf813bde Discord and Reddit fields, bug fix on drawing new entries, auto-resize text area 2022-04-16 22:25:11 +07:00
Hans5958
cdc4e4458c Implement links object, convert old format to new on init
Co-authored-by: Fabian Wunsch <fabian@uriah.heep.sax.de>
Co-authored-by: mxdanger <32040254+mxdanger@users.noreply.github.com>
2022-04-16 22:25:11 +07:00
Hans5958
9df8c3dd8a Update time when atlas loaded
Co-authored-by: Fabian Wunsch <fabian@uriah.heep.sax.de>
2022-04-16 22:25:11 +07:00
Hans5958
34fcec8aa3 Fix bugs from Fabi
Co-authored-by: Fabian Wunsch <fabian@uriah.heep.sax.de>
2022-04-16 22:25:11 +07:00
Hans5958
347d2f9dff Improvements on validator
Should now detect conflicts/overlaps and insufficient paths
2022-04-16 22:25:11 +07:00
Hans5958
ab00863b73 Make exporting and view work 2022-04-16 22:25:11 +07:00
Hans5958
14f1ec4afa Fix broken undo button
Reporter below

Co-authored-by: Fabian Wunsch <fabian@uriah.heep.sax.de>
2022-04-16 22:25:11 +07:00
Hans5958
a13b9b2a3a Bring back time changing when changing start/stop, improve disable drawing 2022-04-16 22:25:11 +07:00
Hans5958
ee9edb8031 Further improvements 2022-04-16 22:25:11 +07:00
Hans5958
9639c9ee4f Make base work for new entries 2022-04-16 22:25:11 +07:00
Hans5958
a6868219fd Implement base of period groups 2022-04-16 22:25:11 +07:00
Hans5958
225d44b146 Use URLSearchParams, keep using search params for edit id 2022-04-16 22:25:11 +07:00
Hans5958
e8fc67f91d Add style on highlight checkbox, sync period to be edited 2022-04-16 22:25:11 +07:00
Hans5958
1070a5aa65 Add support for overlap, remove debug logs 2022-04-16 22:25:11 +07:00
Hans5958
2d20e0931d Add entry periods 2022-04-16 22:25:11 +07:00
Hans5958
dd5e809e4f Support editing, return to previous step instead of resetting 2022-04-16 22:25:10 +07:00
Hans5958
84a8e4c141 Tiny refactor, do not wait until fetch for updating tooltip 2022-04-14 21:05:45 +07:00
Hans5958
0a1d5c01ee Forgot to fix resize fix
Please no Netlify gimmicko again
2022-04-14 21:05:45 +07:00
Hans5958
0744836aa6 setTimeout instead of setInterval 2022-04-14 21:05:45 +07:00
Hans5958
904fee390b Improve canvas loading
A
2022-04-14 21:05:45 +07:00
Hans5958
104e003b74 Fixing the ghost shifting, once and for all
Resolves #1232
2022-04-11 20:44:58 +07:00
Wayland-Smithy
64f957eab6 Do not forget about overlap 2022-04-11 19:52:07 +07:00
Wayland-Smithy
f00f68a17a Hash (tag) takeover 2022-04-11 19:52:07 +07:00
Wayland-Smithy
e86d3f4258 Use hash for id highlight 2022-04-11 19:52:07 +07:00
AnonymousRandomPerson
e0728154ad Merge branch 'master' into cleanup 2022-04-10 14:13:14 -04:00
Stefano
2008edd35a
Merge branch 'master' into timeline-tooltip 2022-04-10 12:23:11 +02:00
Stefano
4306b49ff0
Merge branch 'master' into logo 2022-04-10 11:44:04 +02:00
Hans5958
b1d87f1e30 Add tooltip on timeline 2022-04-10 14:03:08 +07:00
mxdanger
c4cc72faad Updated logos, favicon, and metadata 2022-04-09 23:32:42 -07:00
Stefano
fa8c58164f
Merge pull request #1158 from fabi321/update-center
Update center of entries
2022-04-09 22:49:17 +02:00
Fabian Wunsch
93dc57d618 Small bugfix in js 2022-04-09 21:22:56 +02:00
Fabian Wunsch
bf834a6565 Cleaned up calculateCenter function
While I still don't understand what it's doing exactly, I noticed that
the 2 iterations of the loop are unnecessary, and afterwards found out
that the change to area is equal to f. Furthermore I replaced the `~~`
flooring with Math.floor for better readability, since this function
get's executed once per submission and the speed benefits of `~~` are
neglectable.
2022-04-09 21:04:08 +02:00
Hans5958
2dadfdb255
Port 63ed091
I forgor
2022-04-09 22:49:27 +07:00
Hans5958
4ce2afb60b Console logs haven't been removed?! 2022-04-09 17:24:30 +07:00
Hans5958
a870d33cf8 Refactor to avoid code duplicates 2022-04-09 16:33:10 +07:00
Hans5958
331e7bdb5a Use arguments on one log
You can use arguments on console log and you can access the error like normal
2022-04-09 16:33:10 +07:00
Hans5958
f6b89ac7c1 Remove redundant here and link "our Discord server" instead 2022-04-09 16:33:10 +07:00
Hans5958
7b2e9af945 Improve Donation window 2022-04-09 16:33:10 +07:00
Hans5958
0dad9761dc Use commas instead of x for coords
Since the coords shown on top left is in comma
2022-04-09 16:33:10 +07:00
Hans5958
98e60fc14b Avoid creating duplicates on diff mode
So we don't have more than 2x as much of entries on this mode
2022-04-09 16:33:10 +07:00