Commit graph

33 commits

Author SHA1 Message Date
Ayane Satomi
6b05b7d6a9 refactor: Move logging to proper conditional block 2023-10-22 05:47:48 +00:00
Ayane Satomi
be94406c49 fix: guard against large numbers
Guard against numbers beyond MAX_SAFE_INTEGER and reset count if necessary.
2023-10-22 05:45:44 +00:00
Ayane Satomi
1572ec1584 fix: Updated logging message in CounterCard component
Log message in CounterCard component updated to include timestamp
2023-10-21 14:06:35 +00:00
Ayane Satomi
b82a792781 feat: Add timestamp to console log messages
Add timestamp to console log messages in CounterCard.tsx
2023-10-21 14:02:59 +00:00
Ayane Satomi
1cbb7d8651 feat: Update CounterCard and MarkdownContent styles
Update CounterCard and MarkdownContent styles, and add Credits Content
2023-10-21 13:24:38 +00:00
Ayane Satomi
86a415d22d Fix mascot ordering
Signed-off-by: Ayane Satomi <chinodesuuu@gmail.com>
2023-10-21 08:27:08 +00:00
Ayane
458d32bf78
Adjust spacing on mascot
Signed-off-by: Ayane <ayane@vignetteapp.org>
2023-10-20 14:41:35 +08:00
Ayane
3221a8d417
Fix sounds duplicating too much
It will still duplicate but not as much as last time

Signed-off-by: Ayane <ayane@vignetteapp.org>
2023-10-10 12:56:45 +08:00
Ayase Minori
bd0c65636b
Okay I was doing it right after all 💀 2023-10-02 13:20:57 +08:00
Ayase Minori
7a8c49a5e2
Fix CounterCard artificially incrementing instead of the actual count 2023-10-02 13:18:38 +08:00
Ayase Minori
ac08c242a9
What is this hellspawn of a spacing 💀 2023-09-27 00:05:04 +08:00
Ayane
d92b1a65d6
Ensure counters are pretty-printed 2023-09-19 15:07:42 +08:00
Ayane
bce27d76ed
Removed unused import 2023-09-19 14:46:57 +08:00
Ayane
e491860f51
Add the funny audio
This is hardcoded for now, but we want to add i8n later on
2023-09-19 13:17:36 +08:00
Ayane
bdd00f95ea
Assign a tailwind class for the mascot
Signed-off-by: Ayane <ayane@vignetteapp.org>
2023-09-19 11:50:56 +08:00
Ayane
c9f2ede946
Fix internal count being submitted improperly
Fixes GH-4

Signed-off-by: Ayane <ayane@vignetteapp.org>
2023-09-19 11:30:07 +08:00
Ayase Minori
19fd837312
Perhaps I was harsh on you little one 2023-09-19 11:09:17 +08:00
Ayane Satomi
175577b723 Change branding now xd 2023-09-19 02:46:31 +00:00
Ayane Satomi
f085cd148f refactor(islands, routes): remove ScrollingMascot and add animateMascot function to CounterCard 2023-09-19 02:39:17 +00:00
Ayase Minori
38df720102
Only add a timer on click 2023-09-12 06:43:06 +00:00
Ayase Minori
1a42b2ccf0
Finally figure out how to increment this lol
Signed-off-by: GitHub <noreply@github.com>
2023-09-12 06:38:05 +00:00
Ayase Minori
4a01821907
Finally figure out how to send data from server
Signed-off-by: GitHub <noreply@github.com>
2023-09-12 06:28:01 +00:00
Ayase Minori
3062eae5a6
Properly encode responses 2023-09-11 04:57:06 +00:00
Ayase Minori
062a03c708
Add debugging
Signed-off-by: GitHub <noreply@github.com>
2023-09-11 04:30:34 +00:00
Ayase Minori
78a43c846e
Move statistics stream to another useEffect
Signed-off-by: GitHub <noreply@github.com>
2023-09-11 04:05:53 +00:00
Ayase Minori
81931acd47
Properly implement internal counter
Signed-off-by: GitHub <noreply@github.com>
2023-09-11 04:00:53 +00:00
Ayase Minori
77781faca9
Implement POSTing
Signed-off-by: GitHub <noreply@github.com>
2023-09-11 03:55:06 +00:00
Ayase Minori
237c12fb63
Add timestamping on logs
Signed-off-by: GitHub <noreply@github.com>
2023-09-11 03:31:28 +00:00
Ayase Minori
99d686c0cc Properly assign the values in server side
Signed-off-by: Ayase Minori <chinodesuuu@gmail.com>
2023-09-10 21:10:39 +08:00
Ayase Minori
c766574cc1 Implement eventsource properly
Signed-off-by: Ayase Minori <chinodesuuu@gmail.com>
2023-09-10 21:05:07 +08:00
Ayase Minori
5b90057f5f Set sane timeouts
Signed-off-by: Ayase Minori <chinodesuuu@gmail.com>
2023-09-10 20:31:19 +08:00
Ayase Minori
9a82b5f32e implement resetting timer for global statistics upload
Signed-off-by: Ayase Minori <chinodesuuu@gmail.com>
2023-09-10 20:28:22 +08:00
Ayase Minori
51556f2c9f Initial Commit
Signed-off-by: Ayase Minori <chinodesuuu@gmail.com>
2023-09-10 20:22:22 +08:00