feat(plantare): surface product link + dates; spec the bilateral record
The Plantaré screen stored madeOn/dueBy/varietyId but showed none of them,
so it felt half-built. Surface what's already there (no schema change):
- watchPlantareViews() joins each commitment with its variety label
- tile shows the made-on date, a "Return by {date}" line (amber + "overdue"
when an open promise is past due, via new seedWarning colour), the variety
name, and taps through to /variety/:id
- add sheet gains an optional return-by date picker (createPlantare already
took dueBy)
- variety detail shows a read-only commitments section (hidden when empty,
no add button — honours the single hand-over door)
- i18n en/es/pt/ast; tests for the join, dueBy round-trip, tile, and section
Also specs the deferred two-sided record in docs/design/plantare-bilateral.md
(Nostr pubkey counterparty, PlantareTransport propose->accept->counter-sign,
deferred key/signature/movement columns, provenance DAG, reputation anchor),
with a faithful transcription of the paper Plantaré v0.4 (BAH-Semillero 2009,
CC-BY-SA). Cross-linked from data-model §2.7 and sharing-model §6.
This commit is contained in:
parent
e57763d0a2
commit
adf396d49d
21 changed files with 687 additions and 27 deletions
|
|
@ -938,6 +938,13 @@ class _Translations$plantare$ast extends Translations$plantare$en {
|
|||
@override String get openSection => 'Pendientes';
|
||||
@override String get settledSection => 'Fechos';
|
||||
@override String get removeConfirm => '¿Quitar esti compromisu?';
|
||||
@override String returnBy({required Object date}) => 'Devolver enantes del ${date}';
|
||||
@override String get overdue => 'vencíu';
|
||||
@override String get dueByLabel => 'Devolver enantes de (opcional)';
|
||||
@override String get dueByHint => 'Un recordatoriu suave, nunca obligatoriu';
|
||||
@override String get pickDate => 'Escoyer fecha';
|
||||
@override String get clearDate => 'Quitar fecha';
|
||||
@override String get sectionTitle => 'Compromisos';
|
||||
}
|
||||
|
||||
// Path: handover
|
||||
|
|
@ -1886,6 +1893,13 @@ extension on TranslationsAst {
|
|||
'plantare.openSection' => 'Pendientes',
|
||||
'plantare.settledSection' => 'Fechos',
|
||||
'plantare.removeConfirm' => '¿Quitar esti compromisu?',
|
||||
'plantare.returnBy' => ({required Object date}) => 'Devolver enantes del ${date}',
|
||||
'plantare.overdue' => 'vencíu',
|
||||
'plantare.dueByLabel' => 'Devolver enantes de (opcional)',
|
||||
'plantare.dueByHint' => 'Un recordatoriu suave, nunca obligatoriu',
|
||||
'plantare.pickDate' => 'Escoyer fecha',
|
||||
'plantare.clearDate' => 'Quitar fecha',
|
||||
'plantare.sectionTitle' => 'Compromisos',
|
||||
'handover.title' => 'Di o recibí semientes',
|
||||
'handover.help' => 'Un regalu, un truecu o una venta: apúntalo, con promesa de devolver semiente o ensin ella.',
|
||||
'handover.iGave' => 'Di semientes',
|
||||
|
|
@ -1907,6 +1921,8 @@ extension on TranslationsAst {
|
|||
'sale.counterparty' => '¿Con quién?',
|
||||
'sale.counterpartyHint' => 'Una persona o un coleutivu (opcional)',
|
||||
'sale.amount' => 'Importe',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'sale.currency' => 'Moneda',
|
||||
'sale.currencyHint' => '€, Ğ1, hores… (opcional)',
|
||||
'sale.hours' => 'hores',
|
||||
|
|
@ -1914,8 +1930,6 @@ extension on TranslationsAst {
|
|||
'sale.save' => 'Guardar',
|
||||
'sale.delete' => 'Quitar',
|
||||
'sale.removeConfirm' => '¿Quitar esta venta?',
|
||||
_ => null,
|
||||
} ?? switch (path) {
|
||||
'legal.title' => 'Privacidá y normes',
|
||||
'legal.subtitle' => 'La to privacidá, les normes del mercáu y la llegalidá de la simiente',
|
||||
'legal.privacyTitle' => 'La to privacidá',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue