Repository navigation
Conversation
Co-authored-by: Rushat Gabhane <[email protected]>
|
I created this PR from an upstream branch since I don't have push access to your fork. To take ownership of this branch and be able to push updates, run: Then you can close this PR and open a new one from your fork. |
|
@MelvinBot mark ready for review |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@Krishna2323 can you please take this over the finish line to fix the deploy blocker |
|
I marked this PR ready for review. The Tests and QA sections in the PR description are still TODO. The human co-author needs to fill them in. The Android test run couldn't open the Describe modal because adding a rule needs a Control workspace, so the fix hasn't been checked on a device yet. |
|
@Krishna2323 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
The feature is now behind beta and rushat will handle all the blockers in a new PR, closing this one. |


Explanation of Change
On small screens, the Describe rule modal is a bottom-docked sheet that moves up above the keyboard. Its prompt input had a fixed height of 312px, and the sheet can't scroll or shrink. On Android phones with the keyboard open, the sheet ended up taller than the space above the keyboard, so its top went under the status bar.
This PR keeps the 312px input on wide screens (the centered dialog) and uses the earlier height,
variables.textInputAutoGrowMaxHeight(115px), on small screens. That was the input height before #99624 made it taller.AI tests run locally:
npm run typecheck: passednpm run lint-changed: passednpm run spell-changed: passednpm run react-compiler-compliance-check check src/pages/workspace/rules/DescribeRuleModal.tsx: passednpm test -- --findRelatedTests src/pages/workspace/rules/DescribeRuleModal.tsx: passed (7 tests)oxfmt --check) andfindUnusedStylescould not run in this environment. The new style is used, and the changed line follows the file's existing formatting.Fixed Issues
$ #103859
PROPOSAL: #103859 (comment)
Tests
// TODO: The human co-author must fill out the tests you ran before marking this PR as "ready for review"
// Please describe what tests you performed that validates your changed worked.
Offline tests
QA Steps
// TODO: The human co-author must fill out the QA tests you ran before marking this PR as "ready for review".
// Please describe what QA needs to do to validate your changes and what areas do they need to test for regressions.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)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.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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari