diff --git a/src/components/InfiniteScroll.vue b/src/components/InfiniteScroll.vue
new file mode 100644
index 000000000..2afdb9ec5
--- /dev/null
+++ b/src/components/InfiniteScroll.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue
index f9cce60eb..6f63eb335 100644
--- a/src/views/AccountViewView.vue
+++ b/src/views/AccountViewView.vue
@@ -89,7 +89,16 @@
ID
{{ activeDid }}
-
+ Copied!
Public Key (base 64)
{{ publicBase64 }}
-
+
+ Copied!
Public Key (hex)
{{ publicHex }}
-
+
+ Copied!
Derivation Path
{{ derivationPath }}
-
+
+ Copied!
@@ -288,7 +319,38 @@ export default class AccountViewView extends Vue {
limits: RateLimits | null = null;
showContactGives = false;
+ did = false;
+ derpath = false;
+ base64 = false;
+ pubhex = false;
+
copy = useClipboard().copy;
+ text = useClipboard().text;
+
+ showCopyMessage() {
+ this.did = true;
+ }
+
+ st(f) {
+ setTimeout(f, 10000);
+ }
+
+ copyText = (e: MouseEvent, inputText: string, loc: string) => {
+ console.log(this);
+ console.log(e, inputText);
+ this.copy(inputText).then(() => {
+ if (loc == "did") {
+ this.showCopyMessage();
+ console.log(this);
+ } else if (loc == "derpath") {
+ this.derpath = true;
+ } else if (loc == "base64") {
+ this.base64 = true;
+ } else if (loc == "pubhex") {
+ this.pubhex = true;
+ }
+ });
+ };
handleChange() {
this.showContactGives = !this.showContactGives;
@@ -299,6 +361,9 @@ export default class AccountViewView extends Vue {
return timeStr.substring(0, timeStr.indexOf("T"));
}
+ mounted() {
+ console.log("Mounted", this);
+ }
// 'created' hook runs when the Vue instance is first created
async created() {
// Uncomment to register this user on the test server.
@@ -306,7 +371,7 @@ export default class AccountViewView extends Vue {
// assign this to a class variable, eg. "registerThisUser = testServerRegisterUser",
// select a component in the extension, and enter in the console: $vm.ctx.registerThisUser()
//testServerRegisterUser();
-
+ console.log("created", this);
try {
await db.open();
const settings = await db.settings.get(MASTER_SETTINGS_KEY);