-
Notifications
You must be signed in to change notification settings - Fork 125
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
Feat/hng-124 #207
Feat/hng-124 #207
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
eslint
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Delete ··
name={FormField.bio} |
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Replace ··········
with ········
value={formState[FormField.bio]} |
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Delete ··
error={formError[FormField.bio]} |
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Delete ··
handleChange={(e: React.ChangeEvent<HTMLTextAreaElement>) => |
🚫 [eslint] <unicorn/prevent-abbreviations> reported by reviewdog 🐶
Please rename the variable e
. Suggested names are: error
, event_
. A more descriptive name will do too.
handleChange={(e: React.ChangeEvent<HTMLTextAreaElement>) => |
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Replace ············
with ··········
updateFormData(FormField.bio, e.target.value) |
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Delete ··
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Delete ··
/> |
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Delete ··
</div> |
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Delete ··
); |
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Delete ··
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Delete ··
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Replace State,·IFormError
with Error,·IFormState
import { IFormState, IFormError } from "../typings"; |
🚫 [eslint] <unicorn/no-null> reported by reviewdog 🐶
Use undefined
instead of null
.
[FormField.bio]: null, |
🚫 [eslint] <unicorn/no-null> reported by reviewdog 🐶
Use undefined
instead of null
.
message: null, |
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Insert ⏎
🚫 [eslint] <unicorn/prevent-abbreviations> reported by reviewdog 🐶
The variable Props
should be named Properties
. A more descriptive name will do too.
interface Props { |
🚫 [eslint] <unicorn/prevent-abbreviations> reported by reviewdog 🐶
Please rename the variable e
. Suggested names are: error
, event_
. A more descriptive name will do too.
handleChange: (e: React.ChangeEvent<HTMLTextAreaElement>) => void; |
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Replace bg-white·text-base·text-black·outline-0·rounded-md
with rounded-md·bg-white·text-base·text-black·outline-0
<div className="w-full bg-white text-base text-black outline-0 rounded-md"> |
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Replace w-full·h-[80px]·border·border-[#DC2626]·outline-0·bg-white·px-2·placeholder:text-[#C2C2C2]·placeholder:text-sm·rounded-md·text-wrap
with h-[80px]·w-full·text-wrap·rounded-md·border·border-[#DC2626]·bg-white·px-2·outline-0·placeholder:text-sm·placeholder:text-[#C2C2C2]
className="w-full h-[80px] border border-[#DC2626] outline-0 bg-white px-2 placeholder:text-[#C2C2C2] placeholder:text-sm rounded-md text-wrap" |
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Insert ⏎
export default TextAreaField; |
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Insert ⏎
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Replace ⏎export·default·function·Index()·{⏎
with export·default·function·Index()·{
hng_boilerplate_remix/app/routes/_index.tsx
Lines 13 to 15 in 17c448b
export default function Index() { | |
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Insert ⏎
} |
app/components/constant/index.tsx
Outdated
}; | ||
|
||
export const defaultFormError: IFormError = { | ||
[FormField.bio]: null, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <unicorn/no-null> reported by reviewdog 🐶
Use undefined
instead of null
.
app/components/constant/index.tsx
Outdated
}; | ||
|
||
export const defaultAlert: { message: string | null; classType?: string } = { | ||
message: null, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <unicorn/no-null> reported by reviewdog 🐶
Use undefined
instead of null
.
app/components/textarea/index.tsx
Outdated
placeholder?: string; | ||
disabled?: boolean; | ||
error?: string | null; | ||
handleChange: (e: React.ChangeEvent<HTMLTextAreaElement>) => void; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <unicorn/prevent-abbreviations> reported by reviewdog 🐶
Please rename the variable e
. Suggested names are: error
, event_
. A more descriptive name will do too.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
app/components/bio/index.tsx
Outdated
} else { | ||
setFormError({ | ||
...formError, | ||
[key]: null, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <unicorn/no-null> reported by reviewdog 🐶
Use undefined
instead of null
.
app/components/bio/index.tsx
Outdated
name={FormField.bio} | ||
value={formState[FormField.bio]} | ||
error={formError[FormField.bio]} | ||
handleChange={(e: React.ChangeEvent<HTMLTextAreaElement>) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <unicorn/prevent-abbreviations> reported by reviewdog 🐶
Please rename the variable e
. Suggested names are: error
, event_
. A more descriptive name will do too.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolve conflicts
…remix into feat/HNG-124-Settings-Pages-Profile-Settings-implement-custom-extarea-with-validation-and-character-count
All resolved and fixed |
task-124 settings pages profile settings implement custom text area with validation and character count