mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[PR #7082] fix(settings): preserve notification intervals in Custom mode #6635
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#6635
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/MHSanaei/3x-ui/pull/7082
Author: @BenjaminMitchell-D0FB
Created: 11/5/2026
Status: 🔄 Open
Base:
main← Head:BenjaminMitchell-D0FB/fix-notification-schedule-conversion📝 Commits (1)
b118811fix(settings): preserve notification intervals in Custom mode📊 Changes
2 files changed (+25 additions, -11 deletions)
View changed files
📝
frontend/src/pages/settings/NotifyTimeField.tsx(+4 -11)➕
frontend/src/test/notify-time-field.test.tsx(+21 -0)📄 Description
Summary
Preserve elapsed-time notification schedules when opening the Custom editor in Telegram and Discord settings. A new Custom draft now starts with the original
@everydescriptor.Why
A cron step repeats within its field. Converting
@every 45mto0 */45 * * * *schedules notifications at :00 and :45 each hour, alternating 45-minute and 15-minute gaps.Fixes #7081.
Type of change
Areas affected
How was this tested?
@every 45mto Custom and verifies that the input and emitted settings value both retain@every 45m. The test reproduced the incorrect expression before the fix.@hourlypreset still seeds0 0 * * * *.Screenshots / recordings
The component regression test verifies the rendered input value. A live-panel screenshot was not captured.
Breaking changes
None.
Checklist
go build ./...and the test suite pass locally.npm run lint,npm run typecheck, andnpm run buildpass.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.