8 Commits

Author SHA1 Message Date
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
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
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
lifeadventurer
80df03f337 Docs(CONTRIBUTING): Add guidelines for contributing new themes 2024-11-02 16:49:10 +08:00
lifeadventurer
778cb316c0 Style: Apply deno lint and deno fmt across codebase 2024-10-31 19:56:47 +08:00
lifeadventurer
d6f08a9a10 Docs: Clarify fortune type guidelines in CONTRIBUTING.md 2024-09-02 00:10:28 +08:00
lifeadventurer
1f160dd5de Docs: Update CONTRIBUTING.md 2024-09-01 01:25:30 +08:00
lifeadventurer
6cf7d92c8f create CONTRIBUTING.md\n\nadd quote contributing guidelines 2023-11-24 17:57:20 +08:00