diff --git a/src/interfaces/records.ts b/src/interfaces/records.ts index 03627904..ff2a0dec 100644 --- a/src/interfaces/records.ts +++ b/src/interfaces/records.ts @@ -57,7 +57,12 @@ export interface OfferToPlanSummaryRecord extends OfferSummaryRecord { planName: string; } -// a summary record; the VC is not currently part of this record +/** + * A summary record + * The VC is not currently part of this record. + * + * If you change this, you may want to update NewActivityView.vue to handle differences correctly. + */ export interface PlanSummaryRecord { agentDid?: string; description: string; @@ -76,7 +81,9 @@ export interface PlanSummaryRecord { export interface PlanSummaryAndPreviousClaim { plan: PlanSummaryRecord; - wrappedClaimBefore: GenericCredWrapper; + // This can be undefined, eg. if a project is starred after the stored last-seen-change-jwt ID. + // The endorser-ch test code shows some cases. + wrappedClaimBefore?: GenericCredWrapper; } /** diff --git a/src/views/NewActivityView.vue b/src/views/NewActivityView.vue index 6dff8909..cbaa5cfd 100644 --- a/src/views/NewActivityView.vue +++ b/src/views/NewActivityView.vue @@ -284,7 +284,10 @@ -
The changes did not affect essential project data.
+
+ The changes are not important, like it was saved by accident or + you've seen it all before. +