-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Re-direct to Classic when creating expenses for non-migrated users #51804 #51979
Conversation
@puneetlath Can you check if i am in right direction. 👇 it checks if there are group policies present, then checks if all policies have policy.isPolicyExpenseChatEnabled === false, if true it shows the modal Screen.Recording.2024-11-04.at.11.24.21.PM.mov |
That sounds correct to me! |
It looks like the issue is still under discussion. I’ll complete the checklist once we finalize the message content. |
Everything should be good to test. We're just finalizing copy. |
Reviewer Checklist
Screenshots/VideosiOS: NativeScreen.Recording.2024-11-10.at.18.31.45.mp4iOS: mWeb SafariScreen.Recording.2024-11-08.at.12.32.48.mp4Android: NativeScreen.Recording.2024-11-08.at.12.49.39.mp4Android: mWeb ChromeScreen.Recording.2024-11-08.at.12.47.08.mp4MacOS: Chrome / SafariScreen.Recording.2024-11-08.at.12.30.36.mp4MacOS: DesktopScreen.Recording.2024-11-08.at.12.31.26.mp4 |
src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx
Outdated
Show resolved
Hide resolved
src/languages/es.ts
Outdated
redirectToOldDotModal: { | ||
title: 'Próximamente', | ||
description: 'Estamos ajustando algunos detalles de New Expensify para adaptarla a tu configuración específica. Mientras tanto, dirígete a Expensify Classic.', | ||
}, |
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.
@puneetlath, I’m not certain the condition Screen.Recording.2024-11-10.at.18.56.41.mp4 |
@puneetlath When can isPolicyExpenseChatEnabled be "1"? Is it any special case, or just for legacy workspaces |
Hmm, interesting. I wasn't aware that was possible, so perhaps it's a legacy thing. In that case, can we create a helper function that checks if the value is either |
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.
The updated condition still works as expected.
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.
Some small feedback.
src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx
Outdated
Show resolved
Hide resolved
src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx
Outdated
Show resolved
Hide resolved
✋ 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/puneetlath in version: 9.0.61-0 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.0.61-3 🚀
|
Explanation of Change
There are scenarios where users who have not yet had their group workspaces NewDot-enabled in NewDot. In those scenarios, things can get confusing if they try to create expenses.
To address this, we block them from Creating, Tracking, Submitting expenses from NewDot if they are:
Fixed Issues
$ #51804
PROPOSAL:
Tests
Offline tests
QA Steps
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
Screen.Recording.2024-11-07.at.2.52.37.AM.mov
Android: mWeb Chrome
Screen.Recording.2024-11-07.at.2.56.07.AM.mov
iOS: Native
Screen.Recording.2024-11-07.at.2.30.19.AM.mov
iOS: mWeb Safari
Screen.Recording.2024-11-07.at.2.22.25.AM.mov
MacOS: Chrome / Safari
Screen.Recording.2024-11-07.at.3.02.47.AM.mov
MacOS: Desktop
Screen.Recording.2024-11-07.at.3.11.05.AM.mov