-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
Currently, the DID page uses separate input boxes for scope and name, which can be cumbersome when pasting full DIDs. This issue proposes implementing a single, unified input field that intelligently parses and auto-detects the scope and name components from pasted DIDs.
Current Behavior
- Two separate input fields for scope and name
- Left/right arrow keys switch between fields
- Users must manually split DIDs when pasting
Proposed Solution
- Single input box for DID entry
- Auto-detection logic to parse scope:name format
- Client-side validation with fallback to manual entry if parsing fails
- Remove left/right key navigation between fields
Implementation Details
- Implement parser for common DID formats (scope:name)
- Add client-side validation
- Show inline validation feedback
- Prompt for manual scope/name entry only when auto-detection fails
- Preserve backwards compatibility for direct scope/name entry
Acceptance Criteria
- Single input field replaces dual scope/name inputs
- Successfully parses and validates standard DID formats
- Provides clear feedback when validation fails
- Fallback mechanism for manual entry works correctly
- Left/right arrow keys no longer switch between fields
- Unit tests for DID parsing logic
Parent Issue
Part of #621 - [EPIC: Release 39] UX improvements
Parent Issue
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request