[FEAT]: Edit your display name

Đang mở
#135 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
dart, flutter, postgresql
Lĩnh vực
database, full-stack

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Dart
Star
9
Fork
5
Merge trung bình
49 phút
Pull request đã merge (30 ngày)
34

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CommandLineCoding/Elephant

Tất cả issue của CommandLineCoding/Elephant

Issue tương tự

Thêm issue về Dart

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.