mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-05-21 23:21:43 -05:00
[PR #241] [MERGED] feat: custom sync start time and frequency scheduling #2371
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/RayLabsHQ/gitea-mirror/pull/241
Author: @arunavo4
Created: 3/18/2026
Status: ✅ Merged
Merged: 3/18/2026
Merged by: @arunavo4
Base:
main← Head:codex/issue-240-custom-sync-time📝 Commits (4)
ab0aac5feat: add custom sync start time scheduling09582f8Updated UIca01024docs: add updated issue 240 UI screenshot6e24ce3fix: improve schedule UI with client-side next run calc and timezone handling📊 Changes
12 files changed (+1627 additions, -172 deletions)
View changed files
➕
design/giteamirror.pen(+804 -0)➕
docs/images/issue-240-automation-ui-v2.png(+0 -0)➕
docs/images/issue-240-automation-ui.png(+0 -0)📝
src/components/config/AutomationSettings.tsx(+146 -70)📝
src/lib/scheduler-service.ts(+76 -82)📝
src/lib/utils/config-defaults.ts(+16 -5)➕
src/lib/utils/config-mapper.test.ts(+36 -0)📝
src/lib/utils/config-mapper.ts(+48 -5)➕
src/lib/utils/schedule-utils.test.ts(+65 -0)➕
src/lib/utils/schedule-utils.ts(+420 -0)📝
src/pages/api/job/schedule-sync-repo.ts(+9 -9)📝
src/types/config.ts(+7 -1)📄 Description
Summary
Relative intervalorStart time + frequencyScreenshot
Testing
bun test src/lib/utils/config-mapper.test.ts src/lib/utils/schedule-utils.test.tsbun test src/pages/api/config/index.test.tsCloses #240
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.