-
Usage Limits
+
Usage Limits
Checking…
@@ -200,7 +224,7 @@
-
Data Export
+
Data Export
Download Settings & Contacts
@@ -221,7 +245,7 @@
If no download happened yet, click again here to download now.
@@ -952,13 +976,13 @@ export default class AccountViewView extends Vue {
public computedStartDownloadLinkClassNames() {
return {
- invisible: this.downloadUrl,
+ hidden: this.downloadUrl,
};
}
public computedDownloadLinkClassNames() {
return {
- invisible: !this.downloadUrl,
+ hidden: !this.downloadUrl,
};
}
diff --git a/src/views/ContactAmountsView.vue b/src/views/ContactAmountsView.vue
index a6fc0ff9..1d3654ab 100644
--- a/src/views/ContactAmountsView.vue
+++ b/src/views/ContactAmountsView.vue
@@ -119,7 +119,7 @@ import { MASTER_SETTINGS_KEY } from "@/db/tables/settings";
import { accessToken, SimpleSigner } from "@/libs/crypto";
import {
AgreeVerifiableCredential,
- GiveServerRecord,
+ GiveSummaryRecord,
GiveVerifiableCredential,
SCHEMA_ORG_CONTEXT,
} from "@/libs/endorserServer";
@@ -131,7 +131,7 @@ export default class ContactAmountssView extends Vue {
activeDid = "";
apiServer = "";
contact: Contact | null = null;
- giveRecords: Array = [];
+ giveRecords: Array = [];
numAccounts = 0;
async beforeCreate() {
@@ -197,7 +197,7 @@ export default class ContactAmountssView extends Vue {
async loadGives(activeDid: string, contact: Contact) {
try {
const identity = await this.getIdentity(this.activeDid);
- let result: Array = [];
+ let result: Array = [];
const url =
this.apiServer +
"/api/v2/report/gives?agentDid=" +
@@ -252,7 +252,7 @@ export default class ContactAmountssView extends Vue {
);
}
- const sortedResult: Array = R.sort(
+ const sortedResult: Array = R.sort(
(a, b) =>
new Date(b.issuedAt).getTime() - new Date(a.issuedAt).getTime(),
result,
@@ -271,7 +271,7 @@ export default class ContactAmountssView extends Vue {
}
}
- async confirm(record: GiveServerRecord) {
+ async confirm(record: GiveSummaryRecord) {
// Make claim
// I use clone here because otherwise it gets a Proxy object.
// eslint-disable-next-line @typescript-eslint/no-explicit-any
diff --git a/src/views/ContactsView.vue b/src/views/ContactsView.vue
index 8384163d..2bf4a9a8 100644
--- a/src/views/ContactsView.vue
+++ b/src/views/ContactsView.vue
@@ -303,7 +303,7 @@ import {
import {
CONTACT_CSV_HEADER,
CONTACT_URL_PREFIX,
- GiveServerRecord,
+ GiveSummaryRecord,
GiveVerifiableCredential,
isDid,
RegisterVerifiableCredential,
@@ -410,7 +410,7 @@ export default class ContactsView extends Vue {
}
const handleResponse = (
- resp: { status: number; data: { data: GiveServerRecord[] } },
+ resp: { status: number; data: { data: GiveSummaryRecord[] } },
descriptions: Record,
confirmed: Record,
unconfirmed: Record,
diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue
index 29a89a39..51071368 100644
--- a/src/views/HomeView.vue
+++ b/src/views/HomeView.vue
@@ -174,10 +174,19 @@
showGivenToUser="true"
/>
+
-
Latest Activity
+
+
Latest Activity
+
+
-
-
+
-
+
+
+
+
+
+ {{ giveDescription(record) }}
- {{ giveDescription(record) }}
-
+
-
+
@@ -240,11 +248,17 @@
Loading…
+
+
+ No claims match your filters.
+
+
diff --git a/src/views/ProjectViewView.vue b/src/views/ProjectViewView.vue
index f6b09781..b4602458 100644
--- a/src/views/ProjectViewView.vue
+++ b/src/views/ProjectViewView.vue
@@ -362,11 +362,11 @@ import { accessToken } from "@/libs/crypto";
import * as libsUtil from "@/libs/util";
import {
BLANK_GENERIC_SERVER_RECORD,
- GenericServerRecord,
+ GenericCredWrapper,
GiverInputInfo,
- GiveServerRecord,
- OfferServerRecord,
- PlanServerRecord,
+ GiveSummaryRecord,
+ OfferSummaryRecord,
+ PlanSummaryRecord,
} from "@/libs/endorserServer";
import * as serverUtil from "@/libs/endorserServer";
@@ -390,14 +390,14 @@ export default class ProjectViewView extends Vue {
apiServer = "";
description = "";
expanded = false;
- fulfilledByThis: PlanServerRecord | null = null;
- fulfillersToThis: Array
= [];
- givesToThis: Array = [];
+ fulfilledByThis: PlanSummaryRecord | null = null;
+ fulfillersToThis: Array = [];
+ givesToThis: Array = [];
issuer = "";
latitude = 0;
longitude = 0;
name = "";
- offersToThis: Array = [];
+ offersToThis: Array = [];
projectId = localStorage.getItem("projectId") || ""; // handle ID
showDidCopy = false;
timeSince = "";
@@ -720,8 +720,8 @@ export default class ProjectViewView extends Vue {
this.$router.push(route);
}
- checkIsFulfillable(offer: OfferServerRecord) {
- const offerRecord: GenericServerRecord = {
+ checkIsFulfillable(offer: OfferSummaryRecord) {
+ const offerRecord: GenericCredWrapper = {
...BLANK_GENERIC_SERVER_RECORD,
claim: offer.fullClaim,
claimType: "Offer",
@@ -730,8 +730,8 @@ export default class ProjectViewView extends Vue {
return libsUtil.canFulfillOffer(offerRecord);
}
- onClickFulfillGiveToOffer(offer: OfferServerRecord) {
- const offerRecord: GenericServerRecord = {
+ onClickFulfillGiveToOffer(offer: OfferSummaryRecord) {
+ const offerRecord: GenericCredWrapper = {
...BLANK_GENERIC_SERVER_RECORD,
claim: offer.fullClaim,
issuer: offer.offeredByDid,
@@ -770,8 +770,8 @@ export default class ProjectViewView extends Vue {
}
}
- checkIsConfirmable(give: GiveServerRecord) {
- const giveDetails: GenericServerRecord = {
+ checkIsConfirmable(give: GiveSummaryRecord) {
+ const giveDetails: GenericCredWrapper = {
...BLANK_GENERIC_SERVER_RECORD,
claim: give.fullClaim,
claimType: "GiveAction",
@@ -781,7 +781,7 @@ export default class ProjectViewView extends Vue {
}
// similar code is found in ClaimView
- async confirmClaim(give: GiveServerRecord) {
+ async confirmClaim(give: GiveSummaryRecord) {
if (confirm("Do you personally confirm that this is true?")) {
// similar logic is found in endorser-mobile
const goodClaim = serverUtil.removeSchemaContext(
diff --git a/src/views/ProjectsView.vue b/src/views/ProjectsView.vue
index ad0e930b..2639a5be 100644
--- a/src/views/ProjectsView.vue
+++ b/src/views/ProjectsView.vue
@@ -223,7 +223,7 @@ import InfiniteScroll from "@/components/InfiniteScroll.vue";
import QuickNav from "@/components/QuickNav.vue";
import ProjectIcon from "@/components/ProjectIcon.vue";
import TopMessage from "@/components/TopMessage.vue";
-import { OfferServerRecord, PlanData } from "@/libs/endorserServer";
+import { OfferSummaryRecord, PlanData } from "@/libs/endorserServer";
import EntityIcon from "@/components/EntityIcon.vue";
@Component({
@@ -237,7 +237,7 @@ export default class ProjectsView extends Vue {
currentIid: IIdentifier;
isLoading = false;
numAccounts = 0;
- offers: OfferServerRecord[] = [];
+ offers: OfferSummaryRecord[] = [];
showOffers = true;
showProjects = false;
diff --git a/src/views/QuickActionBvcEndView.vue b/src/views/QuickActionBvcEndView.vue
index 930509f5..d21ca96a 100644
--- a/src/views/QuickActionBvcEndView.vue
+++ b/src/views/QuickActionBvcEndView.vue
@@ -146,7 +146,7 @@ import {
createAndSubmitConfirmation,
createAndSubmitGive,
ErrorResult,
- GenericServerRecord,
+ GenericCredWrapper,
GenericVerifiableCredential,
} from "@/libs/endorserServer";
import * as libsUtil from "@/libs/util";
@@ -166,7 +166,7 @@ export default class QuickActionBvcBeginView extends Vue {
allMyDids: Array = [];
apiServer = "";
claimCountWithHidden = 0;
- claimsToConfirm: GenericServerRecord[] = [];
+ claimsToConfirm: GenericCredWrapper[] = [];
claimsToConfirmSelected: string[] = [];
description = "breakfast";
loadingConfirms = true;
@@ -228,7 +228,7 @@ export default class QuickActionBvcBeginView extends Vue {
}
await response.json().then((data) => {
const dataByOthers = R.reject(
- (claim: GenericServerRecord) => claim.issuer === this.activeDid,
+ (claim: GenericCredWrapper) => claim.issuer === this.activeDid,
data,
);
const dataByOthersWithoutHidden = R.reject(
diff --git a/src/views/SearchAreaView.vue b/src/views/SearchAreaView.vue
index e4d4444d..e5f5e307 100644
--- a/src/views/SearchAreaView.vue
+++ b/src/views/SearchAreaView.vue
@@ -209,9 +209,9 @@ export default class DiscoverView extends Vue {
group: "alert",
type: "success",
title: "Saved",
- text: "That has been saved in your preferences.",
+ text: "That has been saved in your preferences. You can now filter by it on your home screen feed.",
},
- -1,
+ 7000,
);
this.$router.back();
} catch (err) {
@@ -247,6 +247,7 @@ export default class DiscoverView extends Vue {
await db.open();
db.settings.update(MASTER_SETTINGS_KEY, {
searchBoxes: [],
+ filterFeedByNearby: false,
});
this.searchBox = null;
this.localCenterLat = 0;