Skip to content
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

iOS Copilot - Big empty space next to Full and Access row #48971

Closed
1 of 6 tasks
IuliiaHerets opened this issue Sep 11, 2024 · 16 comments
Closed
1 of 6 tasks

iOS Copilot - Big empty space next to Full and Access row #48971

IuliiaHerets opened this issue Sep 11, 2024 · 16 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering

Comments

@IuliiaHerets
Copy link

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 9.0.32-0
Reproducible in staging?: Y
Reproducible in production?: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team

Action Performed:

  1. Launch New Expensify app.
  2. Go to Account settings > Security.
  3. Tap Add copilot.
  4. Select a user > Next.

Expected Result:

There should not be big empty space next to Full and Access row.

Actual Result:

There is big empty space next to Full and Access row.
The device used is iPhone 15 Pro Max.

Workaround:

Unknown

Platforms:

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6599565_1726030208559.ScreenRecording_09-11-2024_12-43-45_1.mp4

View all open jobs on GitHub

@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels Sep 11, 2024
Copy link

melvin-bot bot commented Sep 11, 2024

Triggered auto assignment to @OfstadC (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

Copy link

melvin-bot bot commented Sep 11, 2024

Triggered auto assignment to @pecanoro (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@melvin-bot melvin-bot bot added the Daily KSv2 label Sep 11, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Sep 11, 2024
Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@pecanoro
Copy link
Contributor

This is pretty minor, just small styling issue, so removing the blocker label

@pecanoro pecanoro removed the DeployBlockerCash This issue or pull request should block deployment label Sep 11, 2024
@pecanoro
Copy link
Contributor

@rushatgabhane @fedirjh It seems this PR caused this small bug #47353. I was checking the videos and noticed both were posted before we added the description. Don't forget next time to retest everything if changes have been made!

@pecanoro pecanoro added Daily KSv2 and removed Hourly KSv2 labels Sep 11, 2024
@dominictb
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

There is big empty space next to Full and Access row.
The device used is iPhone 15 Pro Max.

What is the root cause of that problem?

What changes do you think we should make in order to solve the problem?

  • We should introduce new param in RadioListItem, named shouldLeaveRoomForRightSpace, and the default value is true. And in here, pass shouldLeaveRoomForRightSpace={false}.

  • Then, update:

    isAlternateTextMultilineSupported ? {maxWidth: alternateTextMaxWidth} : null,

    to:

                                shouldLeaveRoomForRightSpace && isAlternateTextMultilineSupported ? {maxWidth: alternateTextMaxWidth} : null,

What alternative solutions did you explore? (Optional)

@melvin-bot melvin-bot bot added the Overdue label Sep 13, 2024
@pecanoro
Copy link
Contributor

@rushatgabhane Any updates?

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Sep 13, 2024
@rushatgabhane
Copy link
Member

rushatgabhane commented Sep 16, 2024

I'm tempted to say we should leave room for the checkmark even when it's not selected, but I don't know that I want to make this a special one-off treatment. Definitely curious for other designers' thoughts on this one. I can see it going either way, but I think leaving room for the checkmark always would probably make it feel a little smoother to switch between options.

Not a bug. In SelectionList, the maxWidth was intentionally added here - #45601 (comment)

@melvin-bot melvin-bot bot removed the Overdue label Sep 16, 2024
@rushatgabhane
Copy link
Member

Please close this issue if you agree.
cc: @dannymcclain

@dannymcclain
Copy link
Contributor

I agree that we added this space on purpose to leave room for the checkmark/to prevent the UI from jumping around when you make a selection. But this select list doesn't feel quite right to me for some reason. Should we not have one option pre-selected? Also, it looks like when I do have an option selected, the selected option is missing its background color. cc @Expensify/design for a gut check on all this. We can totally close if this is all expected.

CleanShot.2024-09-16.at.08.17.57.mp4

@shawnborton
Copy link
Contributor

I agree with all of the points Danny is making above! Totally should have a BG color, and totally should have one already selected when you access the list view.

@rushatgabhane
Copy link
Member

rushatgabhane commented Sep 16, 2024

which option should be selected by default?

@dannymcclain
Copy link
Contributor

Hmm actually looking at the original design doc mocks, maybe I was wrong and there shouldn't be one selected initially.
CleanShot 2024-09-16 at 08 36 51@2x

We might just be able to close this one. Though I will note that the when you do view the list with a selection, the selected item is still missing a background.

@rushatgabhane
Copy link
Member

Though I will note that the when you do view the list with a selection, the selected item is still missing a background.

that has been fixed ✅ will take a few days for deployment

@dannymcclain
Copy link
Contributor

Ok in that case I think we should just go ahead and close this one. @shawnborton you good with that?

@shawnborton
Copy link
Contributor

Works for me!

@dannymcclain dannymcclain closed this as not planned Won't fix, can't repro, duplicate, stale Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering
Projects
None yet
Development

No branches or pull requests

8 participants