-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 of payment Aug 17th] Update form styles on Expensify.cash mobile app #3108
Comments
Waiting for Eng review of this issue - https://github.com/Expensify/Expensify/issues/157830 - before uploading to Upwork |
Hello, I would like to work on this. One of my previous work was mostly about styling (Growl Notification ). |
I'm going to be ooo May 31 - June 7th so assigning this to Kadie to post in Upwork once we have a thumbs up on the internal GH - https://github.com/Expensify/Expensify/issues/157830 |
Triggered auto assignment to @Beamanator ( |
@Beamanator I'm yet to post this on Upwork but we already have proposals so I've added the label. |
@kakajann Thanks for your interest in this issue! Would you please provide write up a proposal of the work you'd plan to do? Please also ask any questions you may have about the desired "Expected Result". |
ProposalReact Native doesn't support Example:import React, { Component } from 'react';
import { TextInput, StyleSheet } from 'react-native';
const styles = StyleSheet.create({
textInput: {
fontSize: 15,
borderColor: '#dddddd'
},
textInput: {
borderColor: '#00ff00'
},
})
class ExpensifyTextInput extends Component {
constructor() {
super()
this.state = {
focused: false
}
}
render() {
const {focused} = this.state
return (
<TextInput
style={[styles.textInput, focused && styles.textInputOnFocus]}
onFocus={() => this.setState({focused: true})}
onBlur={() => this.setState({focused: false})}
/>
)
}
}
export default ExpensifyTextInput I will also implement specific specs that mentioned in the issue.
And this is because |
@kakajann From your proposal I'm not sure you've clearly read / understood what changes are needed.
The spec says "Keeping our existing border style (blue when focused/active, red when error/active)", so you shouldn't need to build anything extra for border colors. The main change in this issue is about the field placeholder / label text, can you explain how you think you would implement those requested changes? |
Upwork link: https://www.upwork.com/jobs/~01a91a3d33f29673bc |
Hello Expensify Team, I hope you are all doing fine. About MeI'm Nasir Rahimi a freelance full-stack developer with almost a decade of practical experience and following is my Upwork profile link. ProposalI suggest two options to achieve the expected and resulting First Option: Customize and Use Third-Party ComponentIt is an option to use such a component from a third-party stable library, which has almost the same functionality but needs some style changes to meet the expected UI requirements an example I can mention here now is the extended You can see the examples by visiting the following link: https://callstack.github.io/react-native-paper/text-input.html Second Option: A Custom Extension of
|
@Beamanator , No inputs currently change its border color on focus. (I'll attach a video below) That's why I suggested to create custom I can provide a working sample if you me to do. It's easier than explaining :) And here is current inputs (that doesn't change its border color)Screen.Recording.2021-06-05.at.7.10.02.PM.mov |
@mnrafg Thanks for your proposal and your multiple ideas! I believe your second solution (A Custom Extension of |
@kakajann Thanks for the video, I do see what you mean now. Your solution could work great for border styling, but I didn't see a clear path forward for how you planned to implement the label-shrinking in the new custom |
Triggered auto assignment to @stephanieelliott ( |
@kakajann I added the |
I don't mind grabbing this one as @kakajann already tagged me in the PR. |
I have no idea how to request a review from pullerbear. any help would be appreciated) |
@Beamanator @kakajann Readonly permissions (as all our Open-Source contributors have) aren't enough to request a reviewer in GitHub. See https://docs.github.com/en/organizations/managing-access-to-your-organizations-repositories/repository-permission-levels-for-an-organization for more details. @kakajann We have PullerBear set up as a code owner, so as soon as you create a PR his review will be automatically requested, and then an Expensify engineer will be automatically assigned to review your code. So you shouldn't need to do anything 😁 |
@roryabraham for reference, here is @kakajann 's PR: #3414 It looks like when he originally created the PR, it did assign pullerbear & later Shawn re-requested pullerbear to review, which is how I'm the current reviewer 👍 I was on vacation yesterday so I'll get to this today!
That's great to know! Thanks for sharing :) |
Just checking on this PR, it looks like we're still working through some checks. Let me know if that's incorrect! |
I had to work on this for more than 2 months because of delayed code reviews and unexpected conflicts. Also, I got to add new features. Therefore, I am requesting to increase the budget for this work. |
I support @kakajann here. PR looks heavy. |
@kakajann thanks for bringing this up, we're discussing internally and I definitely agree you should get a pay bump for this big task. Can you please give us an estimated # of hours you've worked on this related PR? |
I have no idea to be honest. Yesterday only, spent 6 hours 36 minutes (wakatime's result) to refactor |
@shawnborton, @Beamanator, @kakajann, @Christinadobrzyn it looks like no one is assigned to work on this job. |
Job price in Upwork will be doubled today 👍 |
It looks like the original Upwork job expired so I created a new one with the $500 price and hired @kakajann Internal job post - https://www.upwork.com/ab/applicants/1422830164452577280/job-details |
Finally, this is landed. App on a whole new level. |
Congrats great work :)
|
This is an unintended consequence of this change right? |
I am making a PR to shorten the copy inside the text input. There is a separate regression caused by this PR that's already been identified here. |
Reopening this because of the regression, I think that's the right next step? @Luke9389 do you know if this should be reopened while the regression is resolved? |
I'm not sure whether we need to keep this open or not. I think it's functionally pretty much the same. The regression I mentioned above is already being fixed, so the contributor in this issue (@kakajann) doesn't have any actionable steps to take. |
Paid @kakajann in Upwork! Upwork job closed. |
Platform - version: E.cash app v1.0.38.-1
Action Performed (reproducible steps):
Current:

Desired:

Specific specs:
Text size should be 13pt for field label and 15pt for text
Keeping our existing border style (blue when focused/active, red when error/active) and button style (green for primary actions)
Field inside the box should be white (both in a selected field and unselected field)
Field label text should be grey (both in a selected field and unselected field)
These field changes need to be made to all fields on the mobile app
Expected Result:
Every selected field without an error should show a grey field label at the top of the field, have a blue border and a green highlighted action button
Every selected with an error field should show a grey field label at the top of the field, have a red border and a green highlighted action button
Actual Result:
Notes/Photos/Videos:
Here's a view of how this should display:
PLEASE NOTE: This should not be applied in the main text box where "Write something" displays, this should keep the following behaviour:
The text was updated successfully, but these errors were encountered: