Skip to content

[Feature] Merge Timespans in SME #97

@Dananji

Description

@Dananji

Description

Timespans in the structure can be merged together into a single timespan. Condition and criteria for merging selected timespans;

  • only timespans can be merged
  • 2 or more timespans are selected
  • selected timespans are next to each other (i.e. there are no un-selected timespans between the selected the timespans) and no time gaps between the selected the timespans (i.e. selected timespan ranges should be contiguous)

When these criteria are met, the timespans will be merged with titles separated by commas, and time range from the start time of the first timespan to end time of the last timespan selected.
A rough design for this feature in SME;

A button to merge timespans, inititially disabled;
Screenshot from 2020-06-16 13-56-02.png

Select timespans;
Screenshot from 2020-06-16 13-56-50.png

Merge timespans;
After pressing Merge Selected Timespans,
Option 1: present a single timespan with merged timespan titles separated by commas:
Screenshot from 2020-06-16 13-58-40.png

Option 2: present a single timespan inline form with merged timespan titles separated by commas (so that the user can give a suitable title to new timespan):
Screenshot from 2020-06-16 14-04-27.png

Option 3: Use drag and drop. Dropping one timespan onto another brings up the dialog to merge these.

Done Looks Like

Able to merge contiguous timespans into one.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions