add separate screen for amount confirmations #15

Merged
anomalist merged 13 commits from separate-dbs into master 2023-03-28 07:50:57 +00:00
Owner

Well, this is now a significant one:

  • It has the separate screen for seeing all given items and for confirming them.

  • It also has the ability to switch between accounts. Just go to /import-account and import another one and you can switch between them on the /account screen.

I plan to do one more round of tests tomorrow, and maybe some small tweaks before I'm ready for prime time, but this is ready for review.

Well, this is now a significant one: * It has the separate screen for seeing all given items and for confirming them. * It also has the ability to switch between accounts. Just go to /import-account and import another one and you can switch between them on the /account screen. I plan to do one more round of tests tomorrow, and maybe some small tweaks before I'm ready for prime time, but this is ready for review.
trentlarson added 2 commits 2023-03-25 04:08:33 +00:00
trentlarson reviewed 2023-03-25 04:11:42 +00:00
@@ -0,0 +58,4 @@
@Options({})
export default class ContactsView extends Vue {
contact: Contact | null = null;
Author
Owner

At first I tried this:

contact?: Contact;

... but it complained at me in the console:

[Vue warn]: Property "contactName" was accessed during render but is not defined on instance.

... and it wouldn't load my information -- even though the "contacts.get" a few lines lower loads the right entry, the rest of the page wouldn't recognize that I set this.contact (or any other this value)... it was like the page was broken.

So... this works, but it doesn't seem clean, and if there's a better way than I'm all ears.

At first I tried this: `contact?: Contact;` ... but it complained at me in the console: `[Vue warn]: Property "contactName" was accessed during render but is not defined on instance. ` ... and it wouldn't load my information -- even though the "contacts.get" a few lines lower loads the right entry, the rest of the page wouldn't recognize that I set `this.contact` (or any other `this` value)... it was like the page was broken. So... this works, but it doesn't seem clean, and if there's a better way than I'm all ears.
Owner

Have you tried:

contact: Nullable<Contact>;

?

Have you tried: `contact: Nullable<Contact>;` ?
Author
Owner

Both lint & Web Storm say that is not defined

Both lint & Web Storm say that is not defined
trentlarson added 1 commit 2023-03-26 01:03:43 +00:00
trentlarson added 2 commits 2023-03-26 01:53:55 +00:00
trentlarson added 1 commit 2023-03-26 02:03:17 +00:00
trentlarson added 1 commit 2023-03-26 03:44:14 +00:00
trentlarson added 1 commit 2023-03-26 14:05:40 +00:00
trentlarson added 1 commit 2023-03-26 15:04:05 +00:00
trentlarson added 2 commits 2023-03-27 02:33:47 +00:00
trentlarson added 1 commit 2023-03-28 02:41:19 +00:00
trentlarson changed title from WIP: add separate screen for amount confirmations to add separate screen for amount confirmations 2023-03-28 02:42:58 +00:00
anomalist added 1 commit 2023-03-28 07:50:40 +00:00
anomalist merged commit 1d47a90836 into master 2023-03-28 07:50:57 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: trent_larson/crowd-funder-for-time-pwa#15