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

[Hold for payment Sept 8th] Workspace invite - "Add personal message" box in workspace looks very small #4625

Closed
isagoico opened this issue Aug 12, 2021 · 23 comments · Fixed by #4649
Assignees
Labels
Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@isagoico
Copy link

isagoico commented Aug 12, 2021

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Launch the app
  2. Log in with expensifail account
  3. Click on Plus button and select New Workspace
  4. Select People
  5. Click Invite
  6. Put any email addresses or phone number
  7. Start typing anything in "Add a personal message" box

Expected Result:

Add personal message" box in workspace should looks much bigger, so people can able to use scroller and see the all message.

Actual Result:

Add personal message" box in workspace looks very small. It's uncomfortable to edit a long message.

Workaround:

N/A

Platform:

Where is this issue occurring?

  • iOS
  • Android

Version Number: 1.0.85-0

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Bug5190631_Screen_Recording_20210811-195030_Expensifycash.mp4

image

Expensify/Expensify Issue URL:

View all open jobs on Upwork

@MelvinBot
Copy link

Triggered auto assignment to @AndrewGable (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@shawnborton
Copy link
Contributor

It sounds like we didn't consider textareas when implementing the new text input styles. I could see us taking one of two paths here (cc @Expensify/design @kakajann )

Left: use a similar style where the label floats above the value, just make the input area taller
Right: move the label to be outside of the input
image

I think the left option is more aligned with the system we've created so far.

@parasharrajat
Copy link
Member

This is going to be tricky. Textarea's are never meant to be fixed height. Also, we do have some inputs where, input height increases wrt input text.

@shawnborton
Copy link
Contributor

Great points Rajat, but I think we can keep those in mind when building this. As in, I think the design above on the left can work in a textarea that grows or can have a flexible height.

@kakajann
Copy link
Contributor

@shawnborton, currently expensiTextInputContainer has 52px of height. We can check the ExpensiTextInput has multiline prop and remove its height if its multiline.

Here's how

<View
    style={[
        !this.props.multiline && styles.componentHeightLarge,
        ...containerStyles,
    ]}
>
    ...
</View>

Result

Screen_Recording_20210813-205116_New.Expensify.mp4

@shawnborton
Copy link
Contributor

shawnborton commented Aug 13, 2021

Looks good to me - glad this is an easy one! I will let one of our engineers chime in from a technical perspective, but it seems reasonable.

@AndrewGable AndrewGable added the External Added to denote the issue can be worked on by a contributor label Aug 13, 2021
@MelvinBot
Copy link

Triggered auto assignment to @Christinadobrzyn (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@AndrewGable
Copy link
Contributor

@Christinadobrzyn can you please hire @kakajann via Upwork? Thanks

@kakajann
Copy link
Contributor

@shawnborton Did you notice that placeholder doesn't show unless user focuses the input. Do you want me to always show the placeholder for the multiline ExpensiTextInputs?

@shawnborton
Copy link
Contributor

Great point. I think we should treat the label like a placeholder to the best of our ability - otherwise we should just pre-fill the text input with the desired text that we might want the user to start off with. So I'd say let's continue to treat these like our text inputs where we basically don't use placeholder text - we just use labels. How does that sound?

@kakajann
Copy link
Contributor

As my understanding, I should remove placeholder from the input and make its value workspace.invite.welcomeNote. Is that right?

@shawnborton
Copy link
Contributor

That would be my vote, curious if others agree!

@isagoico
Copy link
Author

Issue reproducible during KI retests

@kakajann
Copy link
Contributor

@isagoico I've opened a pull request. Still waiting for a review.

@MelvinBot MelvinBot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 16, 2021
@Christinadobrzyn Christinadobrzyn removed Help Wanted Apply this label when an issue is open to proposals by contributors Overdue labels Aug 16, 2021
@Christinadobrzyn
Copy link
Contributor

sorry I'm out sick today - looks like we need a job created in Upwork - I'll do it tomorrow when I'm in. Adding the Exported label since there's a PR.

@MelvinBot MelvinBot removed the Overdue label Aug 16, 2021
@Christinadobrzyn Christinadobrzyn added Weekly KSv2 and removed Daily KSv2 labels Aug 17, 2021
@Christinadobrzyn
Copy link
Contributor

Created job in Upwork: Hired @kakajann

External posting: https://www.upwork.com/jobs/~01f48c82c39f04e2f6
Internal posting: https://www.upwork.com/ab/applicants/1427448023318028288/job-details

@isagoico
Copy link
Author

Issue reproducible during KI retests

@Christinadobrzyn
Copy link
Contributor

Hey @AndrewGable I'm not sure why this is closed - looks like it's still in QA testing?

@isagoico
Copy link
Author

@Christinadobrzyn You're right this should be tested in the next Deploy. I think it was automatically closed when the PR was merged.

@isagoico
Copy link
Author

Issue not reproducible during KI retests (fixed)

@Christinadobrzyn
Copy link
Contributor

Christinadobrzyn commented Aug 31, 2021

Looks like OSBot deployed it but there was a failure on iOS - @AndrewGable or @isagoico is that something we need to do anything about?

image

@AndrewGable
Copy link
Contributor

Yes, we should be concerned. We are having some deploy issues that we are working through. We should be able to confirm the fix is live on all clients other than iOS.

@Christinadobrzyn Christinadobrzyn changed the title Workspace invite - "Add personal message" box in workspace looks very small [Hold for payment Sept 7th] Workspace invite - "Add personal message" box in workspace looks very small Aug 31, 2021
@Christinadobrzyn Christinadobrzyn changed the title [Hold for payment Sept 7th] Workspace invite - "Add personal message" box in workspace looks very small [Hold for payment Sept 8th] Workspace invite - "Add personal message" box in workspace looks very small Sep 8, 2021
@Christinadobrzyn
Copy link
Contributor

7 - day regression phase complete - paid @kakajann in Upwork - closed the job in upwork.

Closing this 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants