182 Commits

Author SHA1 Message Date
tobiichi3227
79965ea3a8 Fix(fortune): unable to display result if already drawn for the day (#73) 2025-05-05 14:50:01 +08:00
lifeadventurer
afda24a38a Fix(home-button): Adjust href to match both localhost and github pages 2025-03-20 20:22:49 +08:00
Moon
14a3912f4c Feat: Add fixed home button (#70) 2025-03-20 17:57:12 +08:00
Moon
ea18eb8057 Feat(fortune): Add Pi Day (#68) 2025-03-13 23:59:46 +08:00
tobiichi3227
c80c879af1 Fix(fortune): special_events_index is undefined when there are no special events today (#67) 2025-03-09 17:00:44 +08:00
tobiichi3227
f9f0f9c1a4 Fix(fortune): Copy preview url without commit hash (#66) 2025-03-09 16:43:39 +08:00
tobiichi3227
e1e17bd2bc Feat(Fortune): Preview result url (#62)
* Feat(Fortune): Support preview result depends on url params

* Feat(Fortune): Specify commit hash in preview result to ensure event consistency

* Feat(Fortune): Add copy preview url button

* Feat(Fortune): Support theme color for copy preview button

* Impr(Fortune): Make UI looks better

* Docs(CONTRIBUTING): Add missing theme field
2025-03-09 15:52:26 +08:00
ChenKaiLiuG
1471b5950d Feat(fortune): Add new fortune events (#63)
* Update fortune.json

* Fix Update fortune.json

* Fix update fortune.json
2025-03-08 23:55:14 +08:00
tobiichi3227
1d969400e5 Feat(Fortune): Support multiple event in same day (#61)
* Feat(Fortune): Support multiple event in same day

* Fix(Fortune): f-string typo

* Docs(Fortune): Multiple events supporting
2025-03-06 14:23:02 +08:00
Moon
237f0e1551 Feat(fortune): Trigger matrix background animation everytime (#60) 2025-03-02 23:02:44 +08:00
lifeadventurer
36502dd705 Fix: Horrible bad fortune distribution 2025-02-26 23:47:00 +08:00
lifeadventurer
16b7c8dde1 Feat: Add seedMagic 2025-02-22 01:30:08 +08:00
lifeadventurer
f7d450895f Refactor: Update service worker paths 2025-02-22 00:38:30 +08:00
tobiichi3227
4391176199 Chore: Update service-worker special file cache (#53) 2025-02-16 14:50:49 +08:00
lifeadventurer
704032580b Chore: Remove redundant file 2025-02-13 23:14:54 +08:00
tobiichi3227
57f1307847 Impr(special): Add new special events for January and February (#48)
Co-authored-by: ChenKaiLiuG <141424456+ChenKaiLiuG@users.noreply.github.com>
2025-02-06 21:08:52 +08:00
tobiichi3227
caa59577dd Fix(Fortune): Categorize events (#49) 2025-01-24 13:28:33 +08:00
54168328c2 Fix(Fortune): Categorize events by trigger date type 2024-12-25 11:39:06 +08:00
e80f077ae3 Fix(Fortune): Calculate the time difference for events that have already occurred based on the next year
For example, if today is January 2nd, then the New Year's Day on January 1st should be calculated using January 1st of the next year.
2024-12-25 11:35:26 +08:00
tobiichi3227
7852572f26 Feat: Add support for cyclical dates in special events to avoid yearly updates (#45)
* Feat(fortune): add static date and cyclical date support

* Chore(Fortune): convert static event date to cyclical date

* Docs: Update CONTRIBUTING.md

* Chore(Fortune): Remove old special events

* Fix(Fortune): Correctly set the trigger date for Thanksgiving

* Impr(fortune): Make the code more readable by reducing duplication and lengthy validation blocks
Additionally, strengthen the handling of edge cases (e.g., 31 in February).

* Impr(fortune): Separate the default and user-defined events into different files for easier identification and management

* Docs: Update CONTRIBUTING.md

* Impr(fortune): Simplify events file categorization

* Docs: Update CONTRIBUTING.md

* Docs: Update CONTRIBUTING.md
2024-12-12 22:48:21 +08:00
ae01f41a84 Fix(fortune): event description typo 2024-11-12 15:28:22 +08:00
lifeadventurer
03a768090b Impr(theme): Add new theme - Cyberwave 2024-11-07 10:07:48 +08:00
lifeadventurer
6b45d59ceb Impr(theme): Add new theme - Aurora Borealis 2024-11-07 10:06:29 +08:00
lifeadventurer
fd9fe8b460 Impr(theme): Add new theme - Zen Garden 2024-11-07 09:51:38 +08:00
lifeadventurer
708bcdd342 Impr(theme): Add new theme - Abstract Art 2024-11-07 09:49:05 +08:00
lifeadventurer
eacd73f929 Impr(theme): Add new theme - Tropical Paradise 2024-11-07 09:49:00 +08:00
lifeadventurer
68bab668b1 Impr(theme): Add new theme - Metallic Shine 2024-11-07 09:48:54 +08:00
lifeadventurer
a10be0ef61 Feat(fortune): Add custom scrollbar styling for theme modal selection 2024-11-06 22:46:32 +08:00
lifeadventurer
5874d347a0 Feat(fortune): Set dynamic max-height and overflow for theme modal body with scrollable theme items 2024-11-06 22:18:07 +08:00
lifeadventurer
ccbea6777c Impr(theme): Add new theme - Vintage Sepia 2024-11-06 22:09:52 +08:00
lifeadventurer
15a435cc77 Impr(theme): Add new theme - Mystic Forest 2024-11-06 22:07:07 +08:00
lifeadventurer
2d2e9b5c78 Impr(theme): Refactored theme - Star Wars to Galactic Glow 2024-11-06 22:05:18 +08:00
lifeadventurer
6c657ad6ab Impr(theme): Add new theme - Lunar Eclipse 2024-11-06 21:54:37 +08:00
lifeadventurer
9344253ebb Impr(theme): Add new theme - Moonlit Night 2024-11-06 21:39:03 +08:00
lifeadventurer
72a3513a70 Impr(theme): Add new theme - Sunny Vibes 2024-11-06 21:29:04 +08:00
lifeadventurer
1464de0ff3 Impr(theme): Add new theme - Spring Blossom 2024-11-06 18:39:54 +08:00
lifeadventurer
97e8a340da Impr(theme): Refactored theme - Winter to Winter Wonderland 2024-11-06 15:47:48 +08:00
lifeadventurer
3fec297ad8 Impr(theme): Add new theme - Autumn Glow 2024-11-06 15:32:46 +08:00
lifeadventurer
99d2a23f3b Impr(theme): Add new theme - Tokyo Night 2024-11-06 00:19:44 +08:00
lifeadventurer
85c294b170 Chore(theme): Rename theme names 2024-11-06 00:16:22 +08:00
lifeadventurer
81808b7b57 Impr(theme): Add new theme - Catppuccin Dark 2024-11-06 00:13:29 +08:00
lifeadventurer
03a72dd1d1 Style: Use lowercases in hex colors 2024-11-06 00:13:29 +08:00
lifeadventurer
031364c279 Impr(theme): Add new theme - Star Wars 2024-11-06 00:13:17 +08:00
lifeadventurer
b93727e5b8 Refactor: Update theme winter 2024-11-02 16:38:25 +08:00
lifeadventurer
8d1e04090c Feat(theme): Save selected theme to localStorage for persistence 2024-11-01 23:35:40 +08:00
lifeadventurer
6d8017fe51 Chore(theme): Rearrange the order of the properties 2024-11-01 23:23:30 +08:00
lifeadventurer
ee5b9e8ffa Impr(theme): Add new theme - winter 2024-11-01 23:20:49 +08:00
lifeadventurer
f9c74860dd Style(fortune): Remove margin on the left for the first dot in preview container 2024-11-01 22:37:59 +08:00
lifeadventurer
9b8fbe8809 Feat(fortune): Add colorPreviewContainer to encapsulate dots for improved clarity 2024-11-01 22:36:35 +08:00
lifeadventurer
a345a61f25 Feat(fortune): Add color dots for visual preview in theme item 2024-11-01 22:02:03 +08:00