-
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
[Internal QA]: Fix: Logged-In Agents Can Appear to Delete Workspaces in NewDot Without Actual Deletion or Error Message #53333
Conversation
Signed-off-by: GitHub <noreply@github.com>
src/languages/es.ts
Outdated
@@ -463,6 +463,10 @@ const translations = { | |||
links: 'Enlaces', | |||
days: 'días', | |||
}, | |||
supportalNoAccess: { | |||
title: 'No tan rápido', | |||
description: 'No estás autorizado para realizar esta acción mientras el soporte está conectado.', |
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.
@allgandalf can you please confirm these translation ? I am still to be added on slack, the above translation for title is already present in the codebase picked it up from there
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.
Asked on slack here
Signed-off-by: GitHub <noreply@github.com>
@allgandalf 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-12-03.at.7.08.01.PM.movAndroid: mWeb ChromeScreen.Recording.2024-12-03.at.7.06.18.PM.moviOS: NativeScreen.Recording.2024-12-03.at.7.09.18.PM.moviOS: mWeb SafariScreen.Recording.2024-12-03.at.7.12.44.PM.movMacOS: Chrome / SafariScreen.Recording.2024-12-03.at.7.02.56.PM.movMacOS: DesktopScreen.Recording.2024-12-03.at.7.11.22.PM.mov |
@twilight2294 please update videos on all platforms |
@allgandalf I updated videos and added test as well |
Co-authored-by: Gandalf <whogandalf@gmail.com>
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.
LGTM!, Please add internal QA label here 🙏
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.
Looking great! Just got 2 little questions, but we're close to merging 🚀
@@ -439,6 +461,10 @@ function WorkspacesListPage() { | |||
cancelText={translate('common.cancel')} | |||
danger | |||
/> | |||
<SupportalActionModal |
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.
What do y'all think about calling this SupportalActionRestrictedModal
or RestrictedSupportalActionModal
to make it super clear that this modal specifically tells the user that an action is restricted since they're supportaled?
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.
I’m down with this suggestion 🙌, @twilight2294 please update this name
hideSupportalModal: () => void; | ||
}; | ||
|
||
function SupportalActionModal({isSupportalActionRestrictedModalOpen, hideSupportalModal}: SupportalActionModalProps) { |
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.
What do y'all think about shortening isSupportalActionRestrictedModalOpen
to just isOpen
since that's a pretty clear prop name internal to this component? 🤔
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.
umm, isOpen is quite generic how about isSupportalModalOpen
? defines purpose ?!
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.
Hmmm what about isModalOpen
? 😅 I just don't think we need to be TOO specific, but I do agree isOpen
is a bit too generic 😅
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.
worksssss for mee! :team-work:
I updated according to the changes @Beamanator |
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.
LGTM!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Performance Comparison Report 📊Significant Changes To Duration
Show details
Meaningless Changes To DurationShow entries
Show details
|
@Expensify/mobile-deployers 📣 Please look into this performance regression as it's a deploy blocker. |
🚀 Deployed to staging by https://github.com/Beamanator in version: 9.0.71-0 🚀
|
This is very unlikely the real performance blocker as we're just adding a Modal in 1 scenario |
🚀 Deployed to production by https://github.com/puneetlath in version: 9.0.71-2 🚀
|
Explanation of Change
Fixed Issues
$ #52854
PROPOSAL: #52854 (comment)
Tests
Precondition: User is supportal logged in OR set this line/ condition to true
Verify that error modal is shown
Offline tests
Precondition: User is supportal logged in
Verify that error modal is shown
QA Steps
N/A. Internal 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
Screen_recording_20241203_140955.mp4
Android: mWeb Chrome
Screen_recording_20241203_141054.mp4
iOS: Native
Simulator.Screen.Recording.-.Expensify.testing.-.2024-12-03.at.14.04.42.mp4
iOS: mWeb Safari
Simulator.Screen.Recording.-.Expensify.testing.-.2024-12-03.at.14.05.18.mp4
MacOS: Chrome / Safari
Screen.Recording.2024-12-03.at.2.01.13.PM.mov
MacOS: Desktop
Screen.Recording.2024-12-03.at.2.03.43.PM.mov