Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
主旨
メールアドレスの設定をユーザーに促すように。
背景と目的
ゆとシートはメールアドレスを設定せずともアカウントを作成できるが、メールアドレスはサービスから見て唯一のユーザーへの連絡手段である。そのため、メールアドレスが設定されていない場合には、IDを紛失する事態に対して実用的な対処方法がなくなってしまう。
IDの紛失というのは一般的によく起こる事態であり(多くのサービスにおいて、IDを紛失した場合にメールアドレスから探す手段が提供されている)、それに対する備えがない状態が看過されるのは、ユーザーとしても潜在的な不利益が大きいといえる。
上記をかんがみると、メールアドレスを設定せずにアカウントを作成できるとはいえ、(ほぼ)すべての場合においてメールアドレスを設定しておくほうが合理的であると思われる。
(メールアドレスをサーバーに渡したくないというユーザーもあるかもしれないが、メールアドレスは取得が容易かつ他者に提示することを前提とするものであることから、メールアドレスすら渡したくないというのはかなり特殊(異常)な状況であり、その場合ふつうはウェブサービスを利用すべきではないと考えられる)
よって、ユーザーにメールアドレスの設定を促すようにする。
具体的な機能
メールアドレス設定への誘導

メールアドレスが設定されていることの表示
