-
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
Hide notifications@expensify.com from basically everywhere #32361
Conversation
@@ -3424,6 +3424,8 @@ function shouldReportBeInOptionList( | |||
report?.reportName === undefined || | |||
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing | |||
report?.isHidden || | |||
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing | |||
report?.participantAccountIDs?.includes(CONST.ACCOUNT_ID.NOTIFICATIONS) || |
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.
not a blocker, just a small suggestion. In the future, if we frequently use ||
in conditions, we can also modify the option ignoreConditionalTests
'@typescript-eslint/prefer-nullish-coalescing': [
'error',
{
ignoreConditionalTests: true,
}
],
https://typescript-eslint.io/rules/prefer-nullish-coalescing#ignoreconditionaltests
Reviewer Checklist
Screenshots/VideosAndroid: Native32361-android-app.mp4Android: mWeb Chrome32361-android-chrome.mp4iOS: Native32361-ios-app.mp4iOS: mWeb Safari32361-ios-safari.mp4MacOS: Chrome / Safari32361-web.mp4MacOS: Desktop32361-desktop.mp4 |
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.
@srikarparsi 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] |
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. |
🚀 Cherry-picked to staging by https://github.com/yuwenmemon in version: 1.4.7-4 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to staging by https://github.com/srikarparsi in version: 1.4.8-0 🚀
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.4.8-3 🚀
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.4.8-3 🚀
|
Coming from #32500, we should have disabled the navigation to |
Details
Fixed Issues
$ #32340
PROPOSAL:
Tests
notifications@expensify.com
as login..env
file, add this line:EXPENSIFY_ACCOUNT_ID_NOTIFICATIONS=XXX
, where XXX is the account ID of thenotifications@expensify.com
account.You are ready to test!
@expensify.com
account and try to start a new chat. Confirm you can't findnotifications@expensify.com
.notifications@expensify.com
name in the chat message. You should see an X and not be able to open the profileOffline tests
None
QA Steps
XXX@expensify.com
account.notifications@expensify.com
Expensify
, nor open their profile by clicking the namePR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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
Not much to show, since what happens it that the account
doesn't
show up 🤷Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop