Merge branch 'claude/nostalgic-wright-acfc25': inline offer photos
Market offers carry a small base64 data-URI thumbnail embedded in the Nostr event (no media server); full photo stays in the encrypted inventory. Blossom alternative parked on branch parked/offer-photos-blossom. # Conflicts: # apps/app_seeds/lib/i18n/strings.g.dart
This commit is contained in:
commit
e2b88b4f26
20 changed files with 520 additions and 16 deletions
|
|
@ -35,6 +35,7 @@ void main() {
|
|||
type: OfferType.gift,
|
||||
category: 'Solanaceae',
|
||||
approxGeohash: 'sp3e9xyz',
|
||||
imageUrl: 'https://media.test/tomate.jpg',
|
||||
));
|
||||
expect(published.accepted, isTrue, reason: published.message);
|
||||
|
||||
|
|
@ -43,6 +44,7 @@ void main() {
|
|||
expect(found, hasLength(1));
|
||||
expect(found.single.summary, 'Tomate rosa de Barbastro');
|
||||
expect(found.single.authorPubkeyHex, alice.publicKeyHex);
|
||||
expect(found.single.imageUrl, 'https://media.test/tomate.jpg');
|
||||
|
||||
await aliceT.close();
|
||||
await bobT.close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue