-
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
[$250] Workspace - "It's not here" error when opening the subscriptions page #43461
Comments
Triggered auto assignment to @mallenexpensify ( |
@mallenexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
ProposalPlease re-state the problem that we are trying to solve in this issue.Workspace - "It's not here" error when opening the subscriptions page What is the root cause of that problem?When there is no workspace, we display App/src/pages/settings/Subscription/SubscriptionSettingsPage.tsx Lines 26 to 34 in fb276f4
What changes do you think we should make in order to solve the problem?Instead of if (!subscriptionPlan) {
return (
<ScreenWrapper testID={SubscriptionSettingsPage.displayName}>
<HeaderWithBackButton
title={translate('workspace.common.subscription')}
onBackButtonPress={() => Navigation.goBack()}
shouldShowBackButton={shouldUseNarrowLayout}
icon={Illustrations.CreditCardsNew}
/>
<ScrollView contentContainerStyle={styles.pt3}>
<View style={[styles.flex1, isLessThanMediumScreen ? styles.workspaceSectionMobile : styles.workspaceSection]}>
<FeatureList
menuItems={workspaceFeatures}
title={translate('workspace.emptyWorkspace.title')}
subtitle={translate('workspace.emptyWorkspace.subtitle')}
ctaText={translate('workspace.new.newWorkspace')}
ctaAccessibilityLabel={translate('workspace.new.newWorkspace')}
onCtaPress={() => interceptAnonymousUser(() => App.createWorkspaceWithPolicyDraftAndNavigateToIt())}
illustration={LottieAnimations.WorkspacePlanet}
// We use this style to vertically center the illustration, as the original illustration is not centered
illustrationStyle={styles.emptyWorkspaceIllustrationStyle}
/>
</View>
</ScrollView>
</ScreenWrapper>
);
} What alternative solutions did you explore? (Optional)We can create a component to show when there is no policy. Resultsubscription_page_not_found.mp4 |
@mallenexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Job added to Upwork: https://www.upwork.com/jobs/~01a859839633fc1d1d |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ikevin127 ( |
@ikevin127 , plz review @Krishna2323 's proposal above.
|
Also... checking here, looks like Niiki and Vivek might be working on unvalidated accounts |
@mallenexpensify The proposal looks good if we can all agree that the expected result here is to show the
ClarificationsContextThe
Note: The
Question
cc @amyevans (❌ OOO) Since she was the CME on both If we really need to fix this right now, regardless, even though the page is not accessible to the user through UI yet -> then I will move forward with the existing proposal if we can all agree on the expected result proposed by the solution. |
tl,dr: https://staging.new.expensify.com/settings/subscription is throwing an error if you don't have a workspace (but.. you can currently only access via the link so a normal user wouldn't know about). @ikevin127 and I are wondering if this is going to be addressed soon and, if so, how to manage this issue. Thanks for the detailed digging @ikevin127 . I'm not well-versed in subscription settings details. @trjExpensify @MitchExpensify @blimpich since y'all seem to be part of Build the ability to add and manage your billing card in NewDot
|
I personally don't think this is a concern. We don't show the subscription menu item in the navigation pane unless the user has a subscription already. I consider this expected behavior. @MitchExpensify feel free to re-open if you feel otherwise. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.81-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Issue found when executing PR #42990
Action Performed:
Expected Result:
I should be navigated to the subscriptions page
Actual Result:
"It's not here" error when opening the subscriptions page without a workspace
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6508538_1718050861255.Gmail.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ikevin127The text was updated successfully, but these errors were encountered: