-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[HOLD for payment 2023-05-16] [HOLD for payment 2023-05-09] [$1000] Placeholder padding inconsistent among different fields #17873
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
Comments
Triggered auto assignment to @isabelastisser ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Placeholder padding is inconsistent among different pages What is the root cause of that problem?The root cause of the issue is that we're supplying What changes do you think we should make in order to solve the problem?The most simplest way to solve this is to replace this line with following:
We can also deprecate the placeholderText and remove it from storybook as well. I've also noticed that the spacing from top of Search page is different than other pages as well. Although unrelated to this ticket, but we can solve that as well by replacing What alternative solutions did you explore? (Optional)If we want to address the source of inconsistency, then we'll have to check the We can also act the other way around and make the Note: Whatever solution we choose, must be applied to other components as well since the inconsistency appears there as well. If we fix this inside |
Job added to Upwork: https://www.upwork.com/jobs/~0108c6b42413507adb |
Current assignee @isabelastisser is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
Triggered auto assignment to @PauloGasparSv ( |
@shawnborton Is this a bug in your opinion? This is how it has been on all pages. |
Yeah, the search input was implemented wayyyy before we implemented the inputs that have the floating labels that move upwards when you focus or have a value. That being said, we should make the search input match and use that same style. |
Thanks for the input @shawnborton. But we are using the same TextInput for search as well. What happens is that because we don't have a floating label on the search, we don't need the padding top. Thus we remove the padding and vertically center the text, keeping the same height of 52px. I remember that we have gone through this earlier while updating to floating design on TextInput. We decided to vertically center the placeholder and text for no label inputs. Now, if we apply the padding same as normal textinput, this is how it will look. Even if we apply the same padding for both top and bottom, the gap will remain same from bottom as this issue. Please let me know what should be done here to keep the same styles. |
@allroundexperts Thanks for the proposal. I will review that once we have decided the expected change. |
I think we should just use the floating label style for this input. |
Ok, so we should add a label to this input. |
Yeah, just make the placeholder that's there now the label. |
@allroundexperts's main proposal looks good to me. Change the placeholder to label. cc: @PauloGasparSv 🎀 👀 🎀 C+ reviewed |
Agreed so I'm assigning @allroundexperts here!
Nice catch, let's do that too! |
📣 @allroundexperts You have been assigned to this job by @PauloGasparSv! |
PR created #17991 |
It seems we caused this regression and @allroundexperts created a fix P.R. for that! I'll review it and CP it to staging here. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
Hey, I'm actually still checking if the deploy blocker #18154 was caused by changes made here. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.8-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2023-05-09. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.12-0 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-05-16. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Update, all contributors are hired in Upwork. Please accept it and I will process the payment, thanks! @parasharrajat C+. |
Hey @parasharrajat , please complete the bugzero checklist above, thanks! |
Update: all contributors were paid in Upwork. @parasharrajat, please complete the checklist when you have a chance, thanks! |
[@parasharrajat] The PR that introduced the bug has been identified. Link to the PR: Not a bug but a change request. [@parasharrajat] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: NA [@parasharrajat] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: Not Required [@parasharrajat] Determine if we should create a regression test for this bug. No [@parasharrajat] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again. #17873 (comment) |
Regression Test Steps
Do you agree 👍 or 👎 ? |
Based on the C+ recommendation, we are all set to close this issue now.
|
Uh oh!
There was an error while loading. Please reload this page.
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected result:
Padding of the field to be consistent across pages.
Actual result:
Padding of the field is inconsistent.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.4
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
WhatsApp.Video.2023-04-23.at.12.16.47.PM.mp4
Recording.336.mp4
Expensify/Expensify Issue URL:
Issue reported by: @allroundexperts
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1682234271392199
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: