[FEAT]: Edit your display name

Abierto
#135 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Tranquilo
Stack tecnológico
dart, flutter, postgresql

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Dart
Estrellas
9
Forks
5
Merge medio
49 min
PR fusionados (30 d)
34

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CommandLineCoding/Elephant

Todos los issues de CommandLineCoding/Elephant

Issues similares

Más issues de Dart

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.