-
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
[InternalQA] Bring in Settle Up feature for workspace feeds on monthly settlement frequency #55607
[InternalQA] Bring in Settle Up feature for workspace feeds on monthly settlement frequency #55607
Conversation
@dubielzyk-expensify @Ollyws One of you needs to 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] |
@mountiny I wasn't able to test this flow - I have no Workspace with monthly settlement settings and I couldn't change this setting to monthly for any of my workspaces. The screenshots were made using mocks |
@koko57 Thanks, I think we might have to do internalQA |
🚧 @mountiny has triggered a test build. You can view the workflow run here. |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
@shawnborton does it mean to change the whole design for this case? So when the button is not displayed should the columns be also the same width and take 1/3 of the screen? These are the breakpoints that we currently support. The button goes down at 1317px width, if the value has more or less digits it'll be different. I can try once again to achieve the results you expect, but if this particular case means introducing some breaking changes to the code, tbh I'm not sure it's worth it. |
Okay, why is there all of that negative space on the right? Does something eventually show up there? I haven't seen a 4th column in any of our Figma mocks so I feel like this was an implementation error. Either way, are you able to make this look like the video I just shared? |
@shawnborton yeah of course! I can implement it this way. The space on the right was from the beginning (it was implemented that way back then when the feature was introduced), so yeah it must be an implementation error. |
Okay great! Thanks for hearing me out and for helping me out with the screenshots. |
I'm not calling it quits yet, but I'm afraid that we would need to agree on some trade-offs: Here is how it looks like the columns are even (1/3) width: Screen.Recording.2025-01-30.at.11.01.36.mp4the button moves down at ~1107px. The next breakpoint is 1024 I could possibly apply min-width for the first column when the button is present, but as it doesn't have a fixed position the ideal min-width may vary. |
here's how it would look when we have min-width on the first column Screen.Recording.2025-01-30.at.11.07.49.mp4 |
I actually think this looks pretty good—curious what Shawn has to say! I know at that one specific size we run into the button being pretty close to the column next to it, but I think it generally feels better than the previous implementation. |
I also think that it won't be occurring many times, only when resizing the web, as the range were the button will move under the value will be 1024 to around 1107px (depending on the value's length) |
Yeah, I think having the button wrap below the amount when the screen gets smaller is totally expected. I think the first video looks great personally! |
Nice! Thanks @shawnborton and @dannymcclain! I will make these changes shortly |
changes added |
Woo thanks! |
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.
It was tested and works well, just gotta sync with main now to fix the flaky test
@mountiny merged with main |
✋ 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/mountiny in version: 9.0.94-0 🚀
|
@koko57 I just tested this on staging and it largely worked. Only issue was it took a few minutes for the @mountiny mentioned we queue it was a pusher update. Is it possible to immediately update the UI to reflect the balances as queued? Otherwise, it's a bit confusing. |
Will follow up on this one |
Explanation of Change
Fixed Issues
$ #55158
PROPOSAL: -
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
same as above
PR 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)/** comment above it */
this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label 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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop