From a8ef530d58141cf14164ba6fe2d9bd9767605648 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sun, 12 May 2024 17:55:54 -0600 Subject: [PATCH] allow file choice for gift, plus other UI fixes --- README.md | 2 + src/components/ImageMethodDialog.vue | 124 +++++++++++++++++++++++++++ src/components/PhotoDialog.vue | 17 ++-- src/main.ts | 2 + src/views/AccountViewView.vue | 61 ++++--------- src/views/GiftedDetails.vue | 16 ++-- src/views/SharedPhotoView.vue | 2 +- 7 files changed, 164 insertions(+), 60 deletions(-) create mode 100644 src/components/ImageMethodDialog.vue diff --git a/README.md b/README.md index 4d9e59ff9..34aecd6d9 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,7 @@ To add an icon, add to main.ts and reference with `fa` element and `icon` attrib - On each page, verify the messaging, and that they cannot take action. - On the discovery page, check that they can see projects, and set a search area to see projects nearby. - On the contacts page, check that they can add a contact even without their own ID. +- Install the PWA. - As User 0 in another browser on the test API, add a give & a project. - Note that some combinations of desktop with mobile emulation stretch the image. - Import User 0 with seed: `rigid shrug mobile smart veteran half all pond toilet brave review universe ship congress found yard skate elite apology jar uniform subway slender luggage` @@ -130,6 +131,7 @@ To add an icon, add to main.ts and reference with `fa` element and `icon` attrib - Export & import, both seed and contacts & settings. - Choose location on the search map. - Offer, deliver a give, and confirm. Create a third user and test connections. +- On mobile, share an image with the app. - Switch to "no identifier" to see that things look OK without any ID. ### Clear/Reset data & restart diff --git a/src/components/ImageMethodDialog.vue b/src/components/ImageMethodDialog.vue new file mode 100644 index 000000000..86a0a6c07 --- /dev/null +++ b/src/components/ImageMethodDialog.vue @@ -0,0 +1,124 @@ + + + + + diff --git a/src/components/PhotoDialog.vue b/src/components/PhotoDialog.vue index f828fad45..e9b000a35 100644 --- a/src/components/PhotoDialog.vue +++ b/src/components/PhotoDialog.vue @@ -29,7 +29,6 @@