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

アカウント登録画面 - バリデーションチェック+UI/UX #52

Open
1 task
takecchi opened this issue Oct 5, 2023 · 3 comments
Open
1 task
Labels
feature 新しい機能の追加 good first issue Good for newcomers

Comments

@takecchi
Copy link
Member

takecchi commented Oct 5, 2023

Community Issue

cuculus-dev/.github#28

概要

現状フロント側でバリデーションチェックを行なっていないので、入力制限やバリデーションチェックを行うようにする。
また、ユーザー名や表示名に関する取り扱いなど不明瞭な情報の埋め合わせをする。
(※ ユーザー名は後で変更可能です。など)

エラーが出た際にエラーが出た理由と表示をわかりやすくする。
参考: https://mui.com/material-ui/react-text-field/#validation

Todo

  • やることリスト
@takecchi takecchi added the feature 新しい機能の追加 label Oct 5, 2023
@takecchi takecchi added the good first issue Good for newcomers label Oct 5, 2023
@takecchi
Copy link
Member Author

takecchi commented Oct 5, 2023

フロントとバックエンドで共通化出来ると良い

@takecchi
Copy link
Member Author

フロントエンドとバックエンド共通のバリデータとして以下を使用する。
https://github.com/cuculus-dev/validator

npm install @cuculus/validator
でインストール可能

@takecchi
Copy link
Member Author

現状、ざっくりとしたパターンしか決まっていないので以下を決める必要あり。

  • メールアドレス
  • パスワード ... 文字数など極端に弱くなければ良い?
  • ユーザー名 ... @〇〇の部分
  • 表示名
  • 認証コード
  • 招待コード

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 新しい機能の追加 good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant