Commit Graph
316 Commits
Author SHA1 Message Date
tobiichi3227 b47b7344b6 Impr(Fortune): Make UI looks better 2025-03-08 23:45:21 +08:00
tobiichi3227 234ddd37da Feat(Fortune): Support theme color for copy preview button 2025-03-08 23:15:14 +08:00
tobiichi3227 3b30d8451e Feat(Fortune): Add copy preview url button 2025-03-07 13:22:05 +08:00
tobiichi3227 67d07cc669 Feat(Fortune): Specify commit hash in preview result to ensure event consistency 2025-03-06 16:48:51 +08:00
tobiichi3227 571627b00e Feat(Fortune): Support preview result depends on url params 2025-03-06 16:39:12 +08:00
tobiichi3227andGitHub 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
MoonandGitHub 237f0e1551 Feat(fortune): Trigger matrix background animation everytime (#60) 2025-03-02 23:02:44 +08:00
tobiichi3227andGitHub be8b5d30d7 Add tobiichi3227 to CODEOWNERS (#59)
* Add tobiichi3227 to CODEOWNERS

* Update CODEOWNERS
2025-02-28 22:54:07 +08:00
lifeadventurer 36502dd705 Fix: Horrible bad fortune distribution 2025-02-26 23:47:00 +08:00
tobiichi3227andGitHub fca41fb842 Feat(Fortune): Probability analyzer (#58) 2025-02-26 18:22:59 +08:00
tobiichi3227andGitHub 8bd2345db7 Feat(Fortune): More json file checker (#57)
* Fix(Fortune): We should check if event is a dict first

* Feat(Fortune): Add fortune checker

* Feat(Fortune): Add theme checker
2025-02-26 00:23:13 +08:00
lifeadventurer 4531962dbb Chore: Update copyright to 2023-2025 2025-02-22 23:17:24 +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
tobiichi3227andGitHub 52d09db764 Chore(Fortune): add pre-commit to check special events (#55)
* Chore(Fortune): add pre-commit to check special events

* Chore(Fortune): Update pre-commit hook version

* Chore(Fortune): replace shell script with Python for better compatibility
2025-02-21 01:00:49 +08:00
tobiichi3227andGitHub 32e3156d30 Fix(Fortune): properly display Unicode characters (#54) 2025-02-17 07:44:41 +08:00
tobiichi3227andGitHub 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
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
MoonandGitHub c82e29a565 Merge pull request #51 from LifeAdventurer/LifeAdventurer-patch-1
CI: Update GitHub actions to latest
2025-02-06 17:41:09 +08:00
MoonandGitHub b03665545f CI: Update GitHub actions to latest
From https://github.com/LifeAdventurer/generators/actions/runs/13175670602
2025-02-06 17:40:23 +08:00
tobiichi3227andGitHub b82b3f366e Feat(fortune): ci add special event checker (#50)
* Feat(fortune): ci add special event checker

* Chore(Fortune): Move all scripts from `dev` to `scripts` and remove outdated scripts
2025-02-06 17:25:23 +08:00
tobiichi3227andGitHub caa59577dd Fix(Fortune): Categorize events (#49) 2025-01-24 13:28:33 +08:00
MoonandGitHub 4b2f30bd7f Merge pull request #46 from tobiichi3227/fix/event-diff-cal
Fix(Fortune): Incorrect time difference calculation for recent events
2024-12-25 19:07:38 +08:00
tobiichi3227 54168328c2 Fix(Fortune): Categorize events by trigger date type 2024-12-25 11:39:06 +08:00
tobiichi3227 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
tobiichi3227andGitHub 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
MoonandGitHub a4d457d9c7 Merge pull request #44 from tobiichi3227/fix-event-typo
Fix(fortune): Event description typo
2024-11-12 15:38:26 +08:00
tobiichi3227 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