Skip to content

Feature Request: Automatically update previous activity's end time when saving current activity's start time #449

@Higurashi-kagome

Description

@Higurashi-kagome

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

  1. Open the activity timeline editor.

  2. Change the start time of the current activity.

  3. Intending to also update the previous activity’s end time, mistakenly click the "保存" button (instead of the "更改" button).

  4. 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

  1. Unify the behavior: Make the "保存" button also trigger the same logic as the "更改" button for updating the previous activity’s end time.

  2. 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

Details Image

Thank you for this very helpful app!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions