Create OpenPolicyRulesPage read command#73915
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
| import Log from '@libs/Log'; | ||
|
|
||
| function openPolicyRulesPage(policyID: string | undefined) { | ||
| console.log('openPolicyRulesPage', policyID); |
There was a problem hiding this comment.
Debug console.log should be removed before merging. Production code should not contain console.log statements.
| console.log('openPolicyRulesPage', policyID); | |
| if (!policyID) { |
|
sorry for the ping @joekaufmanexpensify @FitseTLT , I added @MariaHCD and @mountiny as reviewers but don't know how it requested your reviews again :) |
|
@allgandalf thanks! can you check the eslint please |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
fixed |
MariaHCD
left a comment
There was a problem hiding this comment.
LGTM! One minor comment.
Co-authored-by: Maria D'Costa <mariahcdcosta@gmail.com>
|
Asked for C+ reviewer: https://expensify.slack.com/archives/C02NK2DQWUX/p1763032432840809 |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
Pujan92
left a comment
There was a problem hiding this comment.
LGTM!
Screen.Recording.2025-11-13.at.17.33.16.mov
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.2.59-0 🚀
|
|
🚀 Deployed to production by https://github.com/grgia in version: 9.2.59-5 🚀
|
Explanation of Change
We add the
OpenPolicyRulesPagecommand when the user opens the rules page.Deployment plan:
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/555795
PROPOSAL:
Tests
Offline tests
QA Steps
Verify that
maxExpenseAge,maxExpenseAmountandmaxExpenseAmountNoReceiptare returned in OpenPolicyRulesPage api command as policy object propPR 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.