feat(block2): profiles — your identity card + name/about (NIP-01 kind:0)
Drawer 'Profile' is now live. - commons_core: ProfileTransport + UserProfile + NostrProfileTransport (kind:0 publish/fetch), exposed as SocialSession.profile. Round-trip tested against the in-process relay (fast dart test). - app: ProfileStore (local name/about, keystore) + ProfileScreen — shows your shareable npub with copy, edits display name + 'about', saves locally and (when online) publishes kind:0 so peers can recognise you instead of a raw key. - Drawer 'Profile' -> /profile (gated like Market/Chat). - i18n en/es/pt. ProfileStore + profile transport covered by plain/dart tests. Analyzer clean (both packages).
This commit is contained in:
parent
abc2d37402
commit
30246f4292
19 changed files with 562 additions and 4 deletions
|
|
@ -361,6 +361,19 @@
|
|||
"locationFailed": "No se pudo obtener tu ubicación — comprueba que la ubicación está activada y el permiso concedido",
|
||||
"queued": "Guardado — las compartiremos cuando tengas conexión"
|
||||
},
|
||||
"profile": {
|
||||
"title": "Tu perfil",
|
||||
"name": "Nombre",
|
||||
"nameHint": "Cómo te ven los demás",
|
||||
"about": "Sobre ti",
|
||||
"aboutHint": "Una línea — qué cultivas, dónde",
|
||||
"yourId": "Tu identidad",
|
||||
"idHelp": "Compártela para que te reconozcan",
|
||||
"copy": "Copiar",
|
||||
"copied": "Copiado",
|
||||
"save": "Guardar",
|
||||
"saved": "Perfil guardado"
|
||||
},
|
||||
"chatList": {
|
||||
"title": "Mensajes",
|
||||
"empty": "Aún no hay conversaciones. Escribe a alguien desde el mercado."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue