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

[PAID] [$250] Group - ‘Next’ button size is not consistent with ‘Start group’ button size #40430

Closed
5 of 6 tasks
izarutskaya opened this issue Apr 18, 2024 · 18 comments
Closed
5 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Monthly KSv2 Reviewing Has a PR in review

Comments

@izarutskaya
Copy link

izarutskaya commented Apr 18, 2024

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: v1.4.63-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

  1. Click on ‘FAB’ > Start chat
  2. Select multiple users > Click on ‘Next’ button

Expected Result:

‘Next’ button size should be consistent with ‘Start group’ button size

Actual Result:

‘Next’ button size is not consistent with ‘Start group’ button size

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Screenshots/Videos

Bug6453281_1713425264788.Screen_Recording_2024-04-18_at_10.08.48_in_the_morning.1.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0197f31924a9d6b4b1
  • Upwork Job ID: 1781111202163744768
  • Last Price Increase: 2024-04-19
  • Automatic offers:
    • neonbhai | Contributor | 0
@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 18, 2024
Copy link

melvin-bot bot commented Apr 18, 2024

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

Copy link

melvin-bot bot commented Apr 18, 2024

Triggered auto assignment to @strepanier03 (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
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.

@izarutskaya
Copy link
Author

@strepanier03 I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

@izarutskaya
Copy link
Author

We think this issue might be related to the #vip-vsb.

@izarutskaya
Copy link
Author

Production

bandicam.2024-04-18.14-53-11-021.mp4

@neonbhai
Copy link
Contributor

neonbhai commented Apr 18, 2024

Proposal

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

Group - ‘Next’ button size is not consistent with ‘Start group’ button size

What is the root cause of that problem?

This happens as the Start Chat page passes custom footer to render Next button, which is normal sized:

<Button
success
text={translate('common.next')}
onPress={createGroup}
pressOnEnter
/>

Wheres on New Chat Confirm Page we use the SelectionList to render the Start Group button, which by default creates a large button:

<Button
success
large
style={[styles.w100]}
text={confirmButtonText || translate('common.confirm')}
onPress={onConfirm}
pressOnEnter
enterKeyEventListenerPriority={1}
/>

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

We can:

  • Increase the size of the Next button by:

    • passing large as prop to the button component in NewChatPage.tsx here
      <Button
      success
      text={translate('common.next')}
      onPress={createGroup}
      pressOnEnter
      />
  • Decrease the size of the Start Group button by:

    • Passing a custom footer button to the SelectionList here:
      <SelectionList
      canSelectMultiple
      sections={[{title: translate('common.members'), data: sections}]}
      ListItem={InviteMemberListItem}
      onSelectRow={unselectOption}
      showConfirmButton={selectedOptions.length > 1}
      confirmButtonText={translate('newChatPage.startGroup')}
      onConfirm={selectedOptions.length > 1 ? createGroup : undefined}
      shouldHideListOnInitialRender={false}
      />
    • Add a prop to SelectionList to control button size here:
      <Button
      success
      large

@strepanier03
Copy link
Contributor

I don't think this needs to be a deploy blocker, what do you think @puneetlath.


Looks like there's a pretty noticeable pixel difference.

image

@marcaaron
Copy link
Contributor

I agree. I'm gonna add this to the polish pile for Group Chats. @puneetlath I can take this off your hands if you'd like.

@marcaaron marcaaron added Weekly KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Apr 18, 2024
@puneetlath
Copy link
Contributor

Works for me!

@puneetlath puneetlath assigned marcaaron and unassigned puneetlath Apr 18, 2024
@marcaaron marcaaron added the External Added to denote the issue can be worked on by a contributor label Apr 19, 2024
@melvin-bot melvin-bot bot changed the title Group - ‘Next’ button size is not consistent with ‘Start group’ button size [$250] Group - ‘Next’ button size is not consistent with ‘Start group’ button size Apr 19, 2024
Copy link

melvin-bot bot commented Apr 19, 2024

Job added to Upwork: https://www.upwork.com/jobs/~0197f31924a9d6b4b1

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 19, 2024
Copy link

melvin-bot bot commented Apr 19, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane (External)

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Apr 19, 2024
@marcaaron marcaaron assigned neonbhai and unassigned rushatgabhane Apr 19, 2024
@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 19, 2024
Copy link

melvin-bot bot commented Apr 19, 2024

📣 @neonbhai 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@marcaaron
Copy link
Contributor

@strepanier03 Just a heads up that someone ended up fixing this issue in another PR so we can follow the process here.

@melvin-bot melvin-bot bot removed the Weekly KSv2 label May 23, 2024
Copy link

melvin-bot bot commented May 23, 2024

This issue has not been updated in over 15 days. @strepanier03, @marcaaron, @neonbhai, @thesahindia eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@melvin-bot melvin-bot bot added the Monthly KSv2 label May 23, 2024
@thesahindia
Copy link
Member

@strepanier03 Just a heads up that someone ended up fixing this issue in another PR so we can follow the process here.

Bump @strepanier03

@strepanier03
Copy link
Contributor

Thank you, taking a look now.

@strepanier03
Copy link
Contributor

All done, paid and contract closed for @neonbhai. Thanks for pinging me!

@strepanier03 strepanier03 changed the title [$250] Group - ‘Next’ button size is not consistent with ‘Start group’ button size [PAID] [$250] Group - ‘Next’ button size is not consistent with ‘Start group’ button size Jun 17, 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. Engineering External Added to denote the issue can be worked on by a contributor Monthly KSv2 Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

7 participants