Browse Source

Merge pull request 'Remove form tags' (#44) from form-tag-cleanup into master

Reviewed-on: https://gitea.anomalistdesign.com/trent_larson/kick-starter-for-time-pwa/pulls/44
pull/46/head
anomalist 1 year ago
parent
commit
540ef916c2
  1. 6
      project.task.yaml
  2. 16
      src/views/AccountViewView.vue
  3. 2
      src/views/ConfirmContactView.vue
  4. 10
      src/views/ContactScanView.vue
  5. 3
      src/views/NewEditAccountView.vue
  6. 7
      src/views/NewEditCommitmentView.vue
  7. 3
      src/views/ProjectsView.vue

6
project.task.yaml

@ -1,11 +1,9 @@
tasks:
- 01 design ideas for simple gives on the Home page
- 02 Discover page - add infinite search
- 01 add a location for a project via map pin
- 04 search by a bounding box for local projects (see API by clicking on "Nearby")
- 01 remove all the "form" fields (or at least investigate to see if that page refresh is desired)
- 01 Replace Gifted/Give in ContactsView with GiftedDialog
- 01 Replace Gifted/Give in ContactsView with GiftedDialog assignee:jose
- 02 Fix images on projectview: allow choice of image from a pallete of images or a url image.
- 08 Scan QR code to import into contacts.
@ -42,7 +40,7 @@ tasks:
- Discuss whether the remaining tasks are worthwhile before MVP release.
- 01 fix images on project page, on discovery page
- .2 fix static icon to the right on project page (Matthew: I've made "Rotary" into issuer?)
- .2 fix static icon to the right on project page (Matthew: I've made "Rotary" into issuer property?)
- stats v1 :
- 01 show numeric stats

16
src/views/AccountViewView.vue

@ -143,7 +143,6 @@
<!-- QR code popup -->
<dialog id="dlgQR" class="backdrop:bg-black/75 rounded-md">
<form method="dialog">
<div class="text-slate-500 text-center">
<b>ID:</b> <code>did:peer:kl45kj41lk451kl3</code>
</div>
@ -161,7 +160,6 @@
>
Close
</button>
</form>
</dialog>
<h3
@ -260,20 +258,6 @@
</button>
</div>
<div v-if="numAccounts > 0" class="flex py-2">
Switch Identifier
<span>
<button class="text-blue-500 px-2" @click="switchAccount(0)">
None
</button>
</span>
<span v-for="accountNum in numAccounts" :key="accountNum">
<button class="text-blue-500 px-2" @click="switchAccount(accountNum)">
#{{ accountNum }}
</button>
</span>
</div>
<div>
<button class="text-blue-500">
<router-link

2
src/views/ConfirmContactView.vue

@ -15,7 +15,6 @@
</h1>
</div>
<form>
<p class="text-center text-xl mb-4 font-light">
Would you like to add <i>Firstname</i> to your network?
</p>
@ -43,7 +42,6 @@
Cancel
</button>
</div>
</form>
</section>
</template>

10
src/views/ContactScanView.vue

@ -14,7 +14,6 @@
</h1>
</div>
<form>
<h3 class="text-sm uppercase font-semibold mb-2">Scan a QR Code</h3>
<div class="bg-black rounded overflow-hidden relative mb-4">
<img src="https://picsum.photos/400/400?random=1" class="w-full" />
@ -25,9 +24,7 @@
<!-- Reft -->
<div class="absolute top-1/4 bottom-1/4 left-0 bg-black/50 w-1/4"></div>
<!-- Right -->
<div
class="absolute top-1/4 bottom-1/4 right-0 bg-black/50 w-1/4"
></div>
<div class="absolute top-1/4 bottom-1/4 right-0 bg-black/50 w-1/4"></div>
<!-- Bottom -->
<div class="absolute bottom-0 left-0 right-0 bg-black/50 h-1/4"></div>
@ -50,9 +47,7 @@
></div>
</div>
<h3 class="text-sm uppercase font-semibold mb-2">
or Enter Contact Data
</h3>
<h3 class="text-sm uppercase font-semibold mb-2">or Enter Contact Data</h3>
<input
type="text"
placeholder="Name (optional)"
@ -82,7 +77,6 @@
Cancel
</button>
</div>
</form>
</section>
</template>

3
src/views/NewEditAccountView.vue

@ -13,7 +13,7 @@
[New/Edit] Identity
</h1>
</div>
<form>
<input
type="text"
placeholder="First Name"
@ -44,7 +44,6 @@
Cancel
</button>
</div>
</form>
</section>
</template>

7
src/views/NewEditCommitmentView.vue

@ -16,10 +16,8 @@
</div>
<!-- Project Details -->
<form>
<select
class="block w-full rounded border border-slate-400 mb-4 px-3 py-2"
>
<select class="block w-full rounded border border-slate-400 mb-4 px-3 py-2">
<option disabled>Choose a commitment type</option>
<option selected>Time</option>
<option>Cryptocurrency</option>
@ -56,7 +54,6 @@
Maybe Later
</button>
</div>
</form>
</section>
</template>

3
src/views/ProjectsView.vue

@ -7,7 +7,7 @@
</h1>
<!-- Quick Search -->
<form id="QuickSearch" class="mb-4 flex">
<input
type="text"
placeholder="Search…"
@ -18,7 +18,6 @@
>
<fa icon="magnifying-glass" class="fa-fw"></fa>
</button>
</form>
<!-- New Project -->
<button

Loading…
Cancel
Save