Skip to content

[Follow up] Split Even, Split by %, Split by days #66064

Description

@garrettmknight

[DESIGN DOC]
FIGMA

As a follow up to Split expenses in NewDot, we want to add a few functions we support in Classic to make common split cases easier.

Split Even:

  1. Submitter creates an expense for $200.
  2. Submitter taps 'Split' from the 'More' menu. Two even splits are created in the Split table, each for $100.
  3. Submitter taps 'Add Split'. The new split is set to $0.
  4. Submitter taps 'More'
  5. Submitter taps 'Split all evenly'
  6. The two splits are all updated in the table to be $66.66.
  7. The final split is updated in the table for be $66.67.
Image

Split by %:

  1. Submitter creates an expense for $200.
  2. Submitter taps 'Split' from the 'More' menu. Two even splits are created in the Split table, each for $100.
  3. Submitter taps 'Add Split'. The new split is set to $0.
  4. Submitter taps 'More'
  5. Submitter taps 'Split by percentage'
  6. The Split by percentage page shows, with existing amounts and resulting percentages:
  • Split 1: $100 / 50%
  • Split 2: $100 / 50%
  • Split 3: $0 / 0%
  1. Submitter changes Split 3's percentage to 50% > error shows reading "Total percentage is greater than 100%"
  2. Submitter changes Split 2's percentage to 25% > greater than error remains
  3. Submitter changes Split 1's percentage to 0% > error shows reading "Total percentage is less than 100%"
  4. Submitter changes Split 1's percentage to 25% > error is removed
  5. Submitter taps 'Continue' and is returned to the split table with the updated amounts
Image

Split by Days:

  1. Submitter creates an expense for $200.
  2. Submitter taps 'Split' from the 'More' menu. Two even splits are created in the Split table, each for $100.
  3. Submitter taps 'More'
  4. Submitter taps 'Split by days'
  5. Submitter taps 'Start' date picker, selects January 16th
  6. Submitter taps 'End' date picker, selects January 18th
  7. Submitter taps 'Continue'
  8. 3 even expenses are added to the split table. One for the 16th ($66.66), one for the 17th ($66.66), and one for the 18th ($66.67).
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

DailyKSv2NewFeatureSomething to build that is a new item.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions