Skip to content

feat: Add Properties tab to react-wallet#189

Merged
macterra merged 4 commits intomainfrom
184-did-properties
Mar 11, 2026
Merged

feat: Add Properties tab to react-wallet#189
macterra merged 4 commits intomainfrom
184-did-properties

Conversation

@macterra
Copy link
Collaborator

Summary

  • New Properties tab in the react-wallet browser for viewing and editing DID document data
  • DID selector dropdown shows agent identities + all aliases (deduplicated)
  • Owned DIDs: add, inline-edit, and delete properties (with confirmation modal)
  • Non-owned DIDs: read-only property view (ownership detected via resolveDID metadata)
  • Auto-selects current identity on tab open
  • Fixes pre-existing Buffer-to-BlobPart type errors in DmailTab and VaultTab

Closes #184

Test plan

  • Select an owned DID — verify add/edit/delete controls appear
  • Add a property with a string value and a JSON value — both persist after refresh
  • Edit an existing property inline — verify save works
  • Delete a property — verify confirmation modal and removal
  • Select a non-owned DID — verify read-only (no add/edit/delete controls)
  • New identity without aliases appears in the dropdown

🤖 Generated with Claude Code

Add a new Properties tab for viewing and editing DID document data.
Supports add, edit, and delete for owned DIDs; read-only for others.
Also fixes pre-existing Buffer-to-BlobPart type errors in DmailTab and VaultTab.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@macterra macterra linked an issue Mar 10, 2026 that may be closed by this pull request
macterra and others added 2 commits March 10, 2026 18:08
Same Properties tab as react-wallet: view/edit DID document data with
read-only mode for non-owned DIDs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add Properties tab to both gatekeeper and keymaster web clients with
the same DID selector, add/edit/delete controls, and read-only mode
for non-owned DIDs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new “Properties” UI across Keymaster/Gatekeeper clients and the React Wallet + Chrome extension, enabling viewing and editing of didDocumentData properties, and fixes binary download Blob creation for vault items and DMail attachments.

Changes:

  • Add a new “Properties” tab to KeymasterUI.js (Keymaster + Gatekeeper clients) with CRUD operations backed by keymaster.mergeData.
  • Introduce PropertiesTab.tsx and wire it into navigation in both apps/react-wallet and apps/chrome-extension.
  • Fix file download Blob construction by wrapping ArrayBuffer-like data in Uint8Array before creating a Blob.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
services/keymaster/client/src/KeymasterUI.js Adds a Properties tab UI for viewing/adding/editing/removing DID document data properties.
services/gatekeeper/client/src/KeymasterUI.js Mirrors the Properties tab UI in the Gatekeeper client.
apps/react-wallet/src/components/VaultTab.tsx Fixes Blob creation for downloaded vault items.
apps/react-wallet/src/components/DmailTab.tsx Fixes Blob creation for downloaded DMail attachments.
apps/react-wallet/src/components/PropertiesTab.tsx New Properties tab component (React Wallet) to manage didDocumentData.
apps/react-wallet/src/BrowserContent.tsx Wires the new Properties tab into tabs and “More” navigation.
apps/chrome-extension/src/components/PropertiesTab.tsx New Properties tab component (Chrome extension) to manage didDocumentData.
apps/chrome-extension/src/components/BrowserContent.tsx Wires the new Properties tab into the extension sidebar/tab panels.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Clear editing, delete modal, and add form state when switching DIDs
to prevent stale state from applying to the wrong DID.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@macterra macterra merged commit 6146b07 into main Mar 11, 2026
13 checks passed
@macterra macterra deleted the 184-did-properties branch March 11, 2026 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add "set-property" functionality to GUI wallets

2 participants