diff --git a/Changelog.md b/Changelog.md index 79fbd740..d13f9a12 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,6 +2,12 @@ ## [Unreleased] +### [3.12.0]- 2026-07-03 +### Added +- Added toggle for requesting fields for selective disclosure +### Fixed +- Fixed a bug where a section was removed from the consent screen. + ### [3.11.1] - 2026-06-18 ### Added - Show tile for zkp diff --git a/package.json b/package.json index 56f96f1d..901cfcb1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "entity-developer-dashboard", - "version": "3.11.1", + "version": "3.12.0", "private": true, "scripts": { "serve": "vue-cli-service serve --mode production", diff --git a/public/Entity_c.png b/public/Entity_c.png index 7ee0c74c..8ecf9f47 100644 Binary files a/public/Entity_c.png and b/public/Entity_c.png differ diff --git a/src/assets/Entity_full.png b/src/assets/Entity_full.png index 53c81ab9..a263895b 100644 Binary files a/src/assets/Entity_full.png and b/src/assets/Entity_full.png differ diff --git a/src/views/ServiceConfig.vue b/src/views/ServiceConfig.vue index 3a2e49c2..4f441235 100644 --- a/src/views/ServiceConfig.vue +++ b/src/views/ServiceConfig.vue @@ -633,10 +633,11 @@ export default { const isEditing = this.isEditing; const isLogoChanged = isEditing && this.formData.logoUrl !== this.backupData?.logoUrl; const isIssuerChanged = isEditing && this.formData.issuerDid !== this.backupData?.issuerDid; + const isVerificationMethodChanged = isEditing && this.formData.issuerVerificationMethodId !== this.backupData?.issuerVerificationMethodId; const isAppNameChanged = isEditing && this.formData.appName !== this.backupData?.appName; const isDomainChanged = isEditing && this.formData.domain !== this.backupData?.domain; await this.updateAnAppOnServer({ ...this.formData }) - if (!isLogoChanged && !isIssuerChanged && !isAppNameChanged && !isDomainChanged) { + if (!isLogoChanged && !isIssuerChanged && !isVerificationMethodChanged && !isAppNameChanged && !isDomainChanged) { this.isEditing = false; return this.notifySuccess("Service configuration updated successfully!"); } @@ -644,7 +645,7 @@ export default { if (Object.keys(this.widgetConfig).length > 0) { let shouldUpdateWidgetConfig = false; let updatedWidgetConfig = { ...this.widgetConfig }; - if (isIssuerChanged && this.formData.issuerDid) { + if ((isIssuerChanged || isVerificationMethodChanged) && this.formData.issuerDid) { updatedWidgetConfig.issuerDID = this.formData.issuerDid; updatedWidgetConfig.issuerVerificationMethodId = this.formData.issuerVerificationMethodId || @@ -675,7 +676,7 @@ export default { if(Object.keys(this.kybWidgetConfig).length > 0 ){ let updatedKybWidgetConfig = { ...this.kybWidgetConfig }; let shouldUpdateKybWidgetConfig = false; - if (isIssuerChanged && this.formData.issuerDid) { + if ((isIssuerChanged || isVerificationMethodChanged) && this.formData.issuerDid) { updatedKybWidgetConfig.issuerDID = this.formData.issuerDid; updatedKybWidgetConfig.issuerVerificationMethodId = this.formData.issuerVerificationMethodId || diff --git a/src/views/playground/WidgetConfig/Index.vue b/src/views/playground/WidgetConfig/Index.vue index 50f9eee0..ab3639b8 100644 --- a/src/views/playground/WidgetConfig/Index.vue +++ b/src/views/playground/WidgetConfig/Index.vue @@ -117,6 +117,20 @@ ul { list-style-type: none; } +.selective-field-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); + gap: 8px 12px; +} + +.selective-field-badge { + border: 1px solid #d8dee8; + color: #334155; + margin-right: 6px; + margin-bottom: 6px; + padding: 6px 8px; +} + /* .zkbadge { background-color: lightblue; margin-left: 3px; @@ -182,7 +196,6 @@ ul { -