feat(ratings): Wallapop-style ratings in chat and offer detail
- SocialSession grows a ratings transport (fifth interface on the one shared channel). - PeerRatingCubit: count, locale-aware average, and circleCount — how many ratings come from your own circle (reuses the ego-centric trust rule), the signal that makes strangers' review-stuffing irrelevant. - Chat: slim rating strip under the trust banner; you can rate only someone you've talked with (soft anchor until the signed bilateral exchange form lands). Sheet with 5 stars + optional comment, pre-filled for editing, with a take-back action. - Offer detail: author's stars under their name, with 'N from people you know' when your circle rated them; nothing shown when unrated. - i18n ratings.* (en/es/pt/ast); tests for cubit and sheet.
This commit is contained in:
parent
acdacf1821
commit
1926e3bd98
18 changed files with 873 additions and 12 deletions
|
|
@ -552,6 +552,14 @@
|
|||
"revokeConfirm": "¿Dejar de avalar a esta persona?",
|
||||
"offline": "Sin conexión — inténtalo cuando estés en línea"
|
||||
},
|
||||
"ratings": {
|
||||
"rate": "Valorar a esta persona",
|
||||
"edit": "Editar tu valoración",
|
||||
"commentHint": "¿Qué tal fue? (opcional)",
|
||||
"fromYourCircle": "{n} de gente que conoces",
|
||||
"retract": "Quitar tu valoración",
|
||||
"saved": "Valoración guardada"
|
||||
},
|
||||
"notifications": {
|
||||
"newMessageFrom": "Nuevo mensaje de {name}"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue