[FEAT]: Edit your display name

Offen
#135 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
30/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Ruhig
Tech-Stack
dart, flutter, postgresql
Bereich
database, full-stack

Rechercherichtung

The issue does not name files or endpoints, so start by locating the existing account handling in the Flutter client and the Go server, and the local database layer. Settle which details are editable and the request shape before changing anything. Done means a user can edit their own details, and the change is saved both locally and on the server.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area: mobile area: server difficulty: medium enhancement help wanted

Context

There's no way to change your display name after registering.

What to do

Server

  • PATCH /api/users/me with {"display_name": "…"}: validate it like registration does (trimmed, 1–100 characters) and return the updated user.
  • Document it in docs/API_CONTRACTS.md.

App

  • Make the display name editable in Account settings.
  • Update the cached profile, so the new name shows everywhere straight away.

Where to look

server/routes/users.go, server/controllers/users.go, server/repository/user.go; mobile/lib/pages/settings/accounts.dart, mobile/lib/controllers/auth_state.dart (loadUserProfile, cached profile).

Good to know

Other people see the new name the next time their app loads your profile. Pushing it live isn't needed for this issue.

Vorherrschende Sprache
Dart
Sterne
9
Forks
5
Ø Merge
49 Min.
Gemergte PRs (30 T.)
34

Entwicklungsumgebung

  • Enthält ein Dockerfile oder eine Docker-Compose-Datei
  • Keine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus CommandLineCoding/Elephant

Alle Issues in CommandLineCoding/Elephant

Ähnliche Issues

Weitere Issues zu Dart

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.