tane/apps/app_seeds/lib/services
vjrj 54d7c2d3b5 feat(market): fix publish-duplicates, add offer detail page + filters
The vecino/market view had three gaps:

- Publishing inventory duplicated the listing. discover() appended every
  offer the relay streamed, but relays legitimately resend an addressable
  NIP-99 event (stored copy + live echo on publish). Merge by
  (authorPubkeyHex, id) so each offer appears once; two authors reusing a
  lot id stay distinct.
- No product detail. Tapping a card jumped straight to chat. Add a
  read-only "product page" (MarketOfferDetailScreen) with title, mode,
  category, eco badge, coarse location, price, a "Shared by" seller
  section (profile fetched by pubkey) and the message button. Reached via
  a new /market/offer route; cards are now fully tappable. Shows only what
  the network already carries — no photos/description added to the wire.
- No filters. Add a filter bar (type, category, eco) mirroring inventory,
  each chip group shown only when a discovered offer can match it. To make
  the eco filter real, publish the organic flag on the wire: Offer.isOrganic
  -> NIP-99 'organic' tag -> OfferMapper -> ShareableLot.

Tests: commons_core organic round-trip; app-side dedup, two-author
separation, filter logic, mapper passthrough; detail-screen widget tests.
i18n keys added to en/es/pt/ast and slang regenerated.
2026-07-10 19:10:40 +02:00
..
ocr style: dart format reflow (no behavior change) 2026-07-09 22:19:43 +02:00
auto_backup_service.dart feat(backup): tap automatic-backups to make a copy now 2026-07-10 11:05:36 +02:00
auto_backup_store.dart feat(backup): add automatic weekly encrypted backups 2026-07-10 10:17:36 +02:00
coarse_location.dart fix(block2): sharing config UX + discovery + labels (raw feedback batch) 2026-07-10 13:32:11 +02:00
discovery_area.dart fix(market): search your zone by a coarse prefix, not the exact cell 2026-07-10 16:12:38 +02:00
export_import_service.dart feat(backup): add automatic weekly encrypted backups 2026-07-10 10:17:36 +02:00
file_picker_file_service.dart feat(inventory): CSV/JSON export and JSON import with LWW reconciliation 2026-07-09 12:46:53 +02:00
file_service.dart feat(inventory): CSV/JSON export and JSON import with LWW reconciliation 2026-07-09 12:46:53 +02:00
locale_store.dart feat(i18n): add Asturian (asturianu) as a language 2026-07-10 15:43:33 +02:00
message_store.dart feat(block2): messages inbox + drawer 'Chat' link (was unreachable) 2026-07-10 12:26:33 +02:00
offer_mapper.dart feat(market): fix publish-duplicates, add offer detail page + filters 2026-07-10 19:10:40 +02:00
offer_outbox.dart feat(block2): offline outbox — share now, publish when connected 2026-07-10 10:45:53 +02:00
onboarding_store.dart feat(inventory): photo-first drafts + on-device OCR (digitization R2+R4) 2026-07-09 21:23:46 +02:00
profile_cache.dart feat(block2): show contact names (resolve peers' published profiles) 2026-07-10 12:47:48 +02:00
profile_store.dart feat(block2): Ğ1 — publish a Ğ1 address + 'Pay in Ğ1' in chat (levels 1-2) 2026-07-10 13:06:38 +02:00
recovery_sheet_service.dart feat(backup): sealed backups + printable recovery sheet 2026-07-09 22:32:13 +02:00
share_catalog_service.dart feat(inventory): local sharing — per-lot share terms, filter and printable catalog 2026-07-09 22:19:55 +02:00
social_service.dart feat(block2): profiles — your identity card + name/about (NIP-01 kind:0) 2026-07-10 12:37:07 +02:00
social_settings.dart fix(market): search your zone by a coarse prefix, not the exact cell 2026-07-10 16:12:38 +02:00