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
projects-view-improvements
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: tasks:
- 01 design ideas for simple gives on the Home page - 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 - 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") - 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 assignee:jose
- 01 Replace Gifted/Give in ContactsView with GiftedDialog
- 02 Fix images on projectview: allow choice of image from a pallete of images or a url image. - 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. - 08 Scan QR code to import into contacts.
@ -42,7 +40,7 @@ tasks:
- Discuss whether the remaining tasks are worthwhile before MVP release. - Discuss whether the remaining tasks are worthwhile before MVP release.
- 01 fix images on project page, on discovery page - 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 : - stats v1 :
- 01 show numeric stats - 01 show numeric stats

16
src/views/AccountViewView.vue

@ -143,7 +143,6 @@
<!-- QR code popup --> <!-- QR code popup -->
<dialog id="dlgQR" class="backdrop:bg-black/75 rounded-md"> <dialog id="dlgQR" class="backdrop:bg-black/75 rounded-md">
<form method="dialog">
<div class="text-slate-500 text-center"> <div class="text-slate-500 text-center">
<b>ID:</b> <code>did:peer:kl45kj41lk451kl3</code> <b>ID:</b> <code>did:peer:kl45kj41lk451kl3</code>
</div> </div>
@ -161,7 +160,6 @@
> >
Close Close
</button> </button>
</form>
</dialog> </dialog>
<h3 <h3
@ -260,20 +258,6 @@
</button> </button>
</div> </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> <div>
<button class="text-blue-500"> <button class="text-blue-500">
<router-link <router-link

2
src/views/ConfirmContactView.vue

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

10
src/views/ContactScanView.vue

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

3
src/views/NewEditAccountView.vue

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

7
src/views/NewEditCommitmentView.vue

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

3
src/views/ProjectsView.vue

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

Loading…
Cancel
Save