feat(plantare): usable UI — commitments screen, add sheet, entry points
The reproduction-commitment (Plantare) UI, local-first and plain-spoken: - A Plantares screen (drawer entry, /plantares) listing your commitments, grouped Open / Done, with a big 'mark returned', a menu (let it go / reopen / remove) and an empty-state that explains what a Plantare is. - An add sheet (scrollable): a two-choice 'who reproduces & returns' (I return / owed to me), an optional 'with whom', an optional 'what comes back' in the grower's own words, and a note. No sale, no currency — a promise. - Reachable from a seed too: an 'Add a commitment' action on the variety detail, pre-attached to that variety. - i18n en/es/pt/ast (human words: 'Plantare' + a plain explanation). Added the Plantares screen to the small-phone overflow guard (18 cases green).
This commit is contained in:
parent
81094f25a8
commit
de6938d5d7
15 changed files with 730 additions and 2 deletions
|
|
@ -35,6 +35,15 @@ class AppDrawer extends StatelessWidget {
|
|||
context.push('/inventory');
|
||||
},
|
||||
),
|
||||
// Local, works offline — a reproduction-commitment ledger.
|
||||
_DrawerItem(
|
||||
icon: const Icon(Icons.volunteer_activism_outlined),
|
||||
label: t.menu.plantares,
|
||||
onTap: () {
|
||||
Navigator.of(context).pop();
|
||||
context.push('/plantares');
|
||||
},
|
||||
),
|
||||
_DrawerItem(
|
||||
icon: const Icon(Symbols.storefront),
|
||||
label: t.menu.market,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue