Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Improve user name handling

オープン
#333 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python

調査の方向性

まずユーザーモデル、プロフィールページ、そして first_name と last_name を処理するマイグレーションを見つけます。名前がどのように表示・編集されるかを確認します。既存の名前が移行され、ユーザーがプロフィールから一方の名前だけを更新でき、その動作がテストでカバーされていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement

Currently, Patchwork user accounts have immutable first_name and last_name fields. This can result in a number of issues (see Falsehoods Programmers Believe About Names for a more extensive list), but most significantly results in the following:

  • Users who go by a mononym (not uncommon in pseudonymous software developers)
  • Users cannot update their account if their name changes (not uncommon in general)

I'd suggest making the following changes:

  • Switch to a single "name" field. The two separate name fields seem to always simply be concatenated with a space for display, so this can be handled for existing users by simply doing the same in a migration. This may not be the best solution for some users (e.g. eastern name order, more than 2 names, etc…), but it'll be no worse than the current behavior, and they'll be able to fix it.
  • Provide an option to change their name from their profile page. As far as I can tell, the display name isn't used for any security-relevant purpose, so I don't believe this should cause any problems.
主要言語
Python
スター
317
フォーク
91
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getpatchwork/patchwork のほかの issue

getpatchwork/patchwork の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。