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

Refactoring Default textarea size #73

Closed
wants to merge 1 commit into from

Conversation

WulfPlasma
Copy link

@igeligel Let me know if I need to change anything or do anything to improve the code. Thank you for letting me work on this.

@WulfPlasma
Copy link
Author

#71

@WulfPlasma
Copy link
Author

I see it has failed, let's see if I can fix that.

@WulfPlasma
Copy link
Author

WulfPlasma commented Oct 14, 2020

Sorry if I did anything wrong, it's been awhile since I've contributed to open source and I've only done a few PRs, any help to get it approved would be appreciated.

@igeligel
Copy link
Owner

Hey @WulfPlasma, no problem at all. I am wondering what kind of setup are you running? Like which Editor or IDE and how do you make commits? It seems like something broke the index.tsx file.

@WulfPlasma
Copy link
Author

I currently use atom for any Github related work

@@ -119,7 +124,8 @@ export interface Props extends HTMLAttributes<HTMLDivElement> {
maxContentLength?: number;
}

export const InOutTextarea: FC<Props> = props => {
export const InOutTextarea: FC<Props> = (props) => {
return
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line should be removed I believe

@@ -266,7 +271,7 @@ export const InOutTextarea: FC<Props> = props => {
<IconX size={32} />
</IconContainer>
</TextAreaContent>
<TextAreaContent>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you revert that?

@@ -283,5 +288,7 @@ export const InOutTextarea: FC<Props> = props => {
</TextAreaContent>
</ConvertCardContent>
</ConvertCard>
</TextAreaContent>
</>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These two lines have to be deleted

@igeligel
Copy link
Owner

Ahh alright, @WulfPlasma I made some comments on the code. Maybe you can change them. You might want to add the addon: https://atom.io/packages/language-typescript-react to your editor because this enabled proper support for this setup I believe. Before you make a commit run the command yarn lint --fix. That should fix most of the issues.

@WulfPlasma
Copy link
Author

@igeligel after running yarn lint --fix and using git status it says all of those files were modified, should it have done this? I fixed the errors in the code though, so I'll make a commit now.
Screenshot 2020-10-14 130137

@igeligel
Copy link
Owner

Nope, it should not. It seems like something with the prettier config might be not right. I will have a detailed look tomorrow.

@WulfPlasma
Copy link
Author

Meanwhile I'll try to find a fix, if I'm able to fix it and not get any errors I'll make a commit. Thank you for the help.

@WulfPlasma
Copy link
Author

@igeligel any updates?

@WulfPlasma WulfPlasma closed this Oct 23, 2020
@WulfPlasma WulfPlasma deleted the WulfPlasma branch October 23, 2020 06:20
@WulfPlasma WulfPlasma restored the WulfPlasma branch October 23, 2020 06:20
@WulfPlasma
Copy link
Author

I’ll keep the branch just incase we find a fix, for now I’ll close the PR and come back to it later if need be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants