-
Notifications
You must be signed in to change notification settings - Fork 113
Description
Description
Please refer to the attached screenshot for a better understanding.
For me. When adjusting the start time of the current activity, the end time of the previous activity should ideally be updated to match (so there is no gap or overlap). Currently, this requires clicking a separate "更改" (Change) button after modifying the start time. However, if the user accidentally clicks the "保存" (Save) button instead, only the current activity’s start time is saved, while the previous activity’s end time remains unchanged. This behavior is confusing and can lead to inconsistencies in the timeline.
Steps to Reproduce
-
Open the activity timeline editor.
-
Change the start time of the current activity.
-
Intending to also update the previous activity’s end time, mistakenly click the "保存" button (instead of the "更改" button).
-
Observe that only the current activity’s start time has changed; the previous activity’s end time is still the old value.
Expected Behavior
-
Either the "保存" button should behave the same as the "更改" button in this context, i.e., automatically adjust the previous activity’s end time to maintain a continuous timeline, or
-
A confirmation dialog should appear when the user tries to save without explicitly updating the previous activity, prompting them to choose whether to also adjust the previous end time.
Actual Behavior
Saving only updates the current activity’s start time, leaving the previous activity’s end time unchanged, which can cause gaps or overlaps in the schedule.
Suggested Solutions
-
Unify the behavior: Make the "保存" button also trigger the same logic as the "更改" button for updating the previous activity’s end time.
-
Add a confirmation dialog: When the start time of an activity is changed and the previous activity’s end time is not automatically adjusted, show a dialog asking the user if they want to align the previous end time as well.
Attachments
Thank you for this very helpful app!
