forked from jsnbuchanan/crowd-funder-for-time-pwa
fix: Toast messages were showing numbers. Removed unused function. Clarified tests.
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
class="px-4 py-2 rounded mr-2 transition-colors"
|
class="px-4 py-2 rounded mr-2 transition-colors"
|
||||||
@click="testInsert"
|
@click="testInsert"
|
||||||
>
|
>
|
||||||
Test Insert
|
Test Contact Insert
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
:class="
|
:class="
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
class="px-4 py-2 rounded mr-2 transition-colors"
|
class="px-4 py-2 rounded mr-2 transition-colors"
|
||||||
@click="testUpdate"
|
@click="testUpdate"
|
||||||
>
|
>
|
||||||
Test Update
|
Test Contact Update
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
:class="
|
:class="
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
class="px-4 py-2 rounded mr-2 transition-colors"
|
class="px-4 py-2 rounded mr-2 transition-colors"
|
||||||
@click="testDatabaseStorage"
|
@click="testDatabaseStorage"
|
||||||
>
|
>
|
||||||
Test Database Storage Format
|
Test SearchBox Database Storage -- Beware: Changes Your Search Box
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
:class="
|
:class="
|
||||||
|
|||||||
@@ -548,6 +548,7 @@ export default class ContactQRScanShow extends Vue {
|
|||||||
});
|
});
|
||||||
this.notify.toast(
|
this.notify.toast(
|
||||||
NOTIFY_QR_REGISTRATION_SUBMITTED.message,
|
NOTIFY_QR_REGISTRATION_SUBMITTED.message,
|
||||||
|
undefined,
|
||||||
QR_TIMEOUT_SHORT,
|
QR_TIMEOUT_SHORT,
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -624,7 +625,7 @@ export default class ContactQRScanShow extends Vue {
|
|||||||
useClipboard()
|
useClipboard()
|
||||||
.copy(jwtUrl)
|
.copy(jwtUrl)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.notify.toast(NOTIFY_QR_URL_COPIED.message, QR_TIMEOUT_MEDIUM);
|
this.notify.toast(NOTIFY_QR_URL_COPIED.message, undefined, QR_TIMEOUT_MEDIUM);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -189,7 +189,7 @@
|
|||||||
{{
|
{{
|
||||||
recipientDid
|
recipientDid
|
||||||
? "This was given to " + recipientName + "."
|
? "This was given to " + recipientName + "."
|
||||||
: "No individual benefitted."
|
: "No named individual benefitted."
|
||||||
}}
|
}}
|
||||||
</label>
|
</label>
|
||||||
<font-awesome
|
<font-awesome
|
||||||
@@ -626,6 +626,7 @@ export default class GiftedDetails extends Vue {
|
|||||||
|
|
||||||
this.notify.toast(
|
this.notify.toast(
|
||||||
NOTIFY_GIFTED_DETAILS_RECORDING_GIVE.message,
|
NOTIFY_GIFTED_DETAILS_RECORDING_GIVE.message,
|
||||||
|
undefined,
|
||||||
TIMEOUTS.SHORT,
|
TIMEOUTS.SHORT,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -1613,17 +1613,6 @@ export default class HomeView extends Vue {
|
|||||||
(this.$refs.feedFilters as FeedFilters).open(this.reloadFeedOnChange);
|
(this.$refs.feedFilters as FeedFilters).open(this.reloadFeedOnChange);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Shows toast notification to user
|
|
||||||
*
|
|
||||||
* @internal
|
|
||||||
* Used for various user notifications
|
|
||||||
* @param message Message to display
|
|
||||||
*/
|
|
||||||
toastUser(message: string) {
|
|
||||||
this.notify.toast("FYI", message, TIMEOUTS.SHORT);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Computes CSS classes for known person icons
|
* Computes CSS classes for known person icons
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user