Content
Feature SPAR-276: Add dialog confirmation when parent would lose its dates when adding a first child
View differences
Updated by Parimal Satyal 10 months ago
**As** a user having thoughtfully set dates to some work packages
**I want to** add children to that work package without losing the dates I previously set
**so that** I don't have to do it again: switch it back to manual scheduling and set dates to what they were before
**Context**
A user-submitted bug (<mention class="mention" data-id="66243" data-type="work_package" data-text="##66243">##66243</mention>) highlights the need for more flexibility.
**Acceptance criteria / idea proposition**
Add a dialog to ask confirmation about switching to automatic
* When the work package is in manual scheduling mode
* When creating or adding a first child to a work package that is in manual scheduling mode and has dates (one or both),
package:
* If if that first child has dates different from the parent, or the child as no dates, show a modal asking for user confirmation: parent
* Title: "Switch ask the user if it's ok to automatic scheduling?"
* Text: "The child you are adding to switch the parent work packing has different dates than the parent. What would you like package to do?"
* Option 1: "Switch parent to automatic scheduling."
* Caption: "The parent's dates will be overwritten and will automatically inherit from overwrite the current dates of with its children."
first child's dates
* Option 2: "Keep manual scheduling."
* Caption: "Both parent and children will preserve their existing dates."
* If if that first child has same dates as the parent
* No no dialog, switch parent to automatic, parent dates won't change as they are the same
* When the work package is in automatic scheduling mode (because it's a successor)
* no dialog, parent is already in automatic mode.
**Technical notes**
* Another possible approach: <mention class="mention" data-id="66584" data-type="work_package" data-text="##66584">##66584</mention> <br>
**Permissions and visibility considerations**
* No change _To whom is this feature visible?_
* _When is it not visible?_
**Translation considerations**
* None _Key terms and phrases in the key languages_
**Out of scope**
* None <br>
**To be informed/consulted teams**
Mobile app team, because if changes in scheduling are made, they need to be the same in the mobile app.
**I want to** add children to that work package without losing the dates I previously set
**so that** I don't have to do it again: switch it back to manual scheduling and set dates to what they were before
**Context**
A user-submitted bug (<mention class="mention" data-id="66243" data-type="work_package" data-text="##66243">##66243</mention>) highlights the need for more flexibility.
**Acceptance criteria / idea proposition**
* When
* Title: "Switch
* Text: "The child you are adding to
* Option 1: "Switch parent to automatic scheduling."
* Caption: "The parent's dates will be overwritten and will automatically inherit from
* Caption: "Both parent and children will preserve their existing dates."
* If
* No
* When the work package is in automatic scheduling mode (because it's a successor)
* no dialog, parent is already in automatic mode.
**Technical notes**
* Another possible approach: <mention class="mention" data-id="66584" data-type="work_package" data-text="##66584">##66584</mention>
**Permissions and visibility considerations**
* No change
* _When is it not visible?_
**Translation considerations**
* None
**Out of scope**
* None
**To be informed/consulted teams**
Mobile app team, because if changes in scheduling are made, they need to be the same in the mobile app.