Improve user name handling
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- full-stack, web-dev
Direzione di ricerca
Inizia individuando prima il modello utente, la pagina del profilo e la migrazione che gestisce first_name e last_name. Verifica come vengono visualizzati e modificati i nomi; il lavoro è considerato completato quando i nomi esistenti sono migrati, gli utenti possono aggiornare un singolo nome dal proprio profilo e questo comportamento è coperto da test.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 317
- Fork
- 91
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di getpatchwork/patchwork
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
getpatchwork/patchwork#668 ·
-
bug web-ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
getpatchwork/patchwork#546 · 2 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
getpatchwork/patchwork#664 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
getpatchwork/patchwork#663 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
getpatchwork/patchwork#645 ·
Tutte le issue di getpatchwork/patchwork
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
learningequality/ricecooker#747 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
BSData/horus-heresy-3rd-edition#3171 ·
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
run-llama/llama_index#23199 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
KhronosGroup/glTF-Blender-IO#2769 ·