-
Notifications
You must be signed in to change notification settings - Fork 0
[CLEAN] Synthetic Benchmark PR #63738 - Split expense flow (Phase 2 - Editing existing split expenses) #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: base_pr_63738_20251204_6119
Are you sure you want to change the base?
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||
User description
Benchmark PR Expensify#63738
Type: Clean (correct implementation)
Original PR Title: Split expense flow (Phase 2 - Editing existing split expenses)
Original PR Description: Split expense flow (Phase 2 - Editing existing split expenses)
Explanation of Change
Fixed Issues
$ Expensify#61028
$ Expensify#70481
$ Expensify#69371
PROPOSAL: NA
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
2025-09-29.16.52.42.mov
Android: mWeb Chrome
2025-09-29.16.52.42.mov
iOS: Native
2025-09-29.16.52.42.mov
iOS: mWeb Safari
2025-09-29.16.52.42.mov
MacOS: Chrome / Safari
2025-09-29.16.52.42.mov
MacOS: Desktop
2025-09-29.16.52.42.mov
PR Type
Enhancement
Description
Enable editing of existing split expenses with full transaction modification support
Add reverse split operation to consolidate multiple splits back into single expense
Implement beta feature flags for split expense creation and editing workflows
Add validation to prevent editing of approved or paid split expenses
Enhance split transaction data model with merchant, status, and report tracking
Diagram Walkthrough
flowchart LR A["Split Expense Creation"] --> B["Store Split Data"] B --> C["Edit Split Expense"] C --> D{Beta Enabled?} D -->|Yes| E["Allow Editing"] D -->|No| F["Show Not Found"] E --> G{Approved/Paid?} G -->|Yes| H["Show Modal - Cannot Edit"] G -->|No| I["Enable Amount/Details Edit"] I --> J["Save Changes"] J --> K{Single Split?} K -->|Yes| L["Reverse Split Operation"] K -->|No| M["Update Split Transaction"] L --> N["Consolidate to Original"] M --> O["Update Child Transactions"]File Walkthrough
20 files
Core split expense editing and creation logicAdd beta flag support for split action visibilityAdd child transaction retrieval utility functionAdd UPDATE_SPLIT_TRANSACTION API commandAdd styles for non-editable split input displayAdd transactionID to transaction details and improve report actionlinkingAdd splitExpensesTotal validation for transaction draftsExtend split transaction parameters with new fieldsReplace isTransactionLinked with isEditable flagExtend SplitExpense type with merchant and report dataAdd splitExpensesTotal field to transaction commentsImplement split editing UI with validation and non-editable stateAdd split editing capability to money request viewDisplay non-editable split items with read-only amount displayAdd report name display and beta feature gatingUpdate split action label based on expense split statusAdd split editing support to transaction headerUse CHARACTER_WIDTH constant for prefix paddingUse CHARACTER_WIDTH constant for prefix paddingUse CHARACTER_WIDTH constant for amount input width10 files
Add translation strings for split editing UIPolish translations for split editing featuresJapanese translations for split editing featuresItalian translations for split editing featuresGerman translations for split editing featuresDutch translations for split editing featuresFrench translations for split editing featuresPortuguese translations for split editing featuresSpanish translations for split editing featuresChinese translations for split editing features1 files
Add beta feature flags and character width constant1 files