-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Added new route for profile plan type #52117
Added new route for profile plan type #52117
Conversation
@rayane-djouah 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] |
@jayeshmangwani Do you need my review here? |
In this PR, @DylanDylann , we’ve added the Plan Type row and a new RHP page specifically for Plan Type. Currently, we're only implementing the pre-selection of the Plan Type on this page. |
No no, thanks for checking! @rayane-djouah Your review won’t be needed here. |
BUG: (Tested on IPhone 15 Promax, IOS 17.2)
Screen.Recording.2024-11-12.at.11.33.10.mov |
Thanks for the review, @DylanDylann! I’ve fixed the button position issue when offline. I’ll be adding the upgrade component to this PR next. |
We’re currently keeping the subtitle text outside the ScrollView for the SelectionList on some pages, like the Priority and Theme pages. I don’t have a strong opinion on this; I’ve kept it outside mainly for consistency. subtitle-scrollview-outside.mov |
@jayeshmangwani Thanks for your update. Please ping me when you push the new code for upgrade component |
Plan Types and Workspace Upgrade Attachments iOSupgrade-workspace-ios.movDesktop:upgrade-workspace-deesktop.movweb:upgrade-workspace-web.mov |
@DylanDylann I've added the Plan Type page and handled the upgrade workspace case. Feel free to review! A few things are yet to be confirmed (I’ve added comments above for those), but they shouldn't block the initial review of these changes. Thanks! |
@@ -88,4 +98,60 @@ function UpgradeIntro({feature, onUpgrade, buttonDisabled, loading}: Props) { | |||
); | |||
} | |||
|
|||
function CommonCorporateFeatures({buttonDisabled, loading, onUpgrade}: {buttonDisabled?: boolean; loading?: boolean; onUpgrade: () => void}) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jayeshmangwani Let's move this component to a new file
@jayeshmangwani Also please help to resolve conflict |
Please add pending action to the new field when creating a new workspace Screen.Recording.2024-11-25.at.11.39.06.mov |
Thanks for the review, @DylanDylann! I’ve resolved the merge conflicts and |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-11-25.at.21.52.45.movAndroid: mWeb ChromeScreen.Recording.2024-11-25.at.21.48.07.moviOS: NativeScreen.Recording.2024-11-25.at.21.51.40.moviOS: mWeb SafariScreen.Recording.2024-11-25.at.21.46.51.movMacOS: Chrome / SafariScreen.Recording.2024-11-25.at.21.44.47.movMacOS: DesktopScreen.Recording.2024-11-25.at.21.45.09.mov |
@carlosmiceli Friendly bump |
Thanks for the bump, been waiting for a review on a BE PR to get merged. @DylanDylann correct me if I'm wrong, but wouldn't we risk showing a non-working plan type selector with this PR if the BE is not ready? |
@carlosmiceli We can merge this PR first without an update from BE, this PR is about the upgrade flow and the API for this is done before |
Gotcha, let's solve conflicts and we can merge! 🙇 |
Conflicts have been resolved @carlosmiceli. Before merging the PR, please check these comments: #52117 (comment) and #52117 (comment) |
✋ 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/carlosmiceli in version: 9.0.68-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.68-7 🚀
|
@jayeshmangwani how does it work with the changes from this PR that got reverted? Are you creating another PR with the same changes now that the BE is ready? |
Yes, I'll be raising the PR in a few hours. I'm away from the keyboard right now. |
No rush at all, it's Saturday 😄 |
@carlosmiceli @DylanDylann New PR containing the same changes has been created here #53343 |
Explanation of Change
Fixed Issues
$ #51768
PROPOSAL:
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android.mov
Android: mWeb Chrome
mweb-chrome.mov
iOS: Native
ios.mov
iOS: mWeb Safari
mweb-safari.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov