Repository navigation
Conversation
|
LGTM |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@linhvovan29546 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] |
|
LGTM 👍 Thank you for your hard work! |
| const selectedFeedData = selectedFeed && companyCards[selectedFeed]; | ||
| const [adminAccess] = useOnyx(`${ONYXKEYS.COLLECTION.SHARED_NVP_PRIVATE_ADMIN_ACCESS}${selectedFeedData?.domainID}`, {canBeMissing: true}); | ||
|
|
||
| return selectedFeedData?.domainID ? !!adminAccess : isPolicyAdmin; |
There was a problem hiding this comment.
I have a question: based on the expected behavior, does issuing the domain feedcard require both domain admin and workspace admin? From the condition above I understand it only checks adminAccess, so I'm confused shouldn't it be: selectedFeedData?.domainID ? !!adminAccess&& isPolicyAdmin : isPolicyAdmin
There was a problem hiding this comment.
i'm not really sure about such case - but i think that if you are admin for domain - you should be able to issue cards no matter if you are admin in workspace.
There was a problem hiding this comment.
Yes this one is just domain admin 👍🏽
|
@narefyev91 How can I set up an account to be the admin of the domain? |
hey! https://callstack-hq.slack.com/archives/C07NMDKEFMH/p1761597570196729 let me know if you have access to this thread (you could ask there) |
|
@narefyev91 That’s the callstack thread, which I don’t have access to. |
that's being sad... i tagged you in open-source-channel under the thread - let me know if you able to see |
|
Thanks, I’ve seen that thread. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppNope, my Android emulator is stuck on build. MacOS: Chrome / SafariScreen.Recording.2025-11-07.at.20.24.42.movMacOS: DesktopScreen.Recording.2025-11-07.at.21.03.34.mov |
@narefyev91 These tests aren’t clear to me and are a bit confusing. I think we should focus only on the test cases mentioned in the description. To simplify testing, we just need to cover |
sure let me update tests |
|
Is this ready for review? |
|
@trjExpensify It's ready |
joekaufmanexpensify
left a comment
There was a problem hiding this comment.
Good from a product perspective. Double checked with @madmax330 that this is related to his universal feeds proposal 👍
@narefyev91 This is outdated. I think we should remove it or update to 'The user logged in using a private domain' |
|
Perf tests are failing, maybe merge main to fix them? |
updated. Ready to go |
|
✋ 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/madmax330 in version: 9.2.55-3 🚀
|
|
🚀 Deployed to staging by https://github.com/madmax330 in version: 9.2.57-0 🚀
|
|
@narefyev91 4b413df2303a26e106ffcaceea72becf.mp4 |
Not sure if i'm following... |
|
Yeah, the user needs to connect a domain feed |
If QA could not do that - we could ask Expensify leads to check that internally on ad-hoc builds |
|
It does not matter if it's a domain or workspace feed right? If it's a workspace feed then workspace admins should be able to assign cards. |
So this is the expected behavior no? Workspace admins should be able to assign cards. That's correct. |
|
Asked a Q about QA'ing this here |
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.2.57-4 🚀
|





Explanation of Change
We're finishing cross compatible feeds which allows users to use both types of feeds on both platforms, but we need to make one last update to allow domain feeds reporting on multiple policies.
Fixed Issues
$ #71341
PROPOSAL:
Tests
Preconditions - have 2 workspaces:
Verification:
Offline tests
Preconditions - have 2 workspaces:
Verification:
QA Steps
Preconditions - have 2 workspaces:
Verification:
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop