Skip to content

Fix stub storage CountExecutionVCs#6

Merged
santoshkumarradha merged 8 commits intomainfrom
santosh/adding-back-VC-ID
Nov 11, 2025
Merged

Fix stub storage CountExecutionVCs#6
santoshkumarradha merged 8 commits intomainfrom
santosh/adding-back-VC-ID

Conversation

@santoshkumarradha
Copy link
Copy Markdown
Member

Summary

  • add the missing CountExecutionVCs stub implementation used by server route tests

Testing

  • go test ./... (control-plane)
  • go test ./... (sdk/go)
  • pytest (sdk/python)

Adds two new supported time layouts to handle PostgreSQL timestamps with timezones. This improves compatibility when parsing dates and times originating from PostgreSQL databases.
Introduces new routes and UI elements for the DID Explorer and Credentials pages.

This change registers the necessary handlers in the server to serve the new Identity and Trust endpoints.
It also updates the client-side navigation and application routes to include links and pages for exploring DIDs and viewing credentials.
New icons for identification and shield check are also added to support these new features.
Updates the credentials page to dynamically filter by issuer DID and refactors the UI to support a more flexible layout, including a detailed view for individual credentials.

The backend logic for listing component DIDs is also updated to handle empty `agentDID` by fetching all components.
Adds support for filtering execution VCs by a specified time range (start_time and end_time) in the API.
This enhancement allows users to more effectively search and retrieve credentials created within a specific period.
The UI has been updated to include time range filtering options, and backend storage logic has been modified to handle these new query parameters.
Test coverage has also been improved to account for these changes.
This commit enhances the credential search functionality by introducing new filtering options and improving the display of credential information.

Key changes include:
- Adding filtering by agent node ID and workflow ID to the credential search API and UI.
- Implementing a server-side count for credentials to accurately display total results.
- Enhancing the UI to show agent and workflow names alongside their respective IDs.
- Refining the `VCSearchResult` struct to include `agent_node_id` and `workflow_name`.
- Updating the `VCFilters` type to support new filter parameters like `AgentNodeID` and `Search`.
- Improving the custom date range selection in the UI for more precise time-based filtering.
- Modifying the `ListExecutionVCs` and adding `CountExecutionVCs` in the storage layer to support new filters and joins with workflow executions.
- Adjusting the credential table display to better represent status, agent information, and make workflow links clearer.
- Enhancing the `credentialsPage` loading and empty state messages to be more informative based on applied filters.
Improves the UI for the credentials page with updated styling and component usages.

Replaces `SegmentedStatusFilter` and `TimeRangePills` with `Select` components from shadcn/ui for a more consistent look and feel. Also refactors the `CompactTable`'s hover and active states for better user feedback.

Adjusts the `GRID_TEMPLATE` for the `CompactTable` to accommodate a new column for status icons and improves the rendering of the execution ID and DID columns with better truncation and tooltip handling.

The credential detail view is also refined for clarity and usability.
Updates the `CompactTable` component to use CSS variables for row hover and active background colors.
This change introduces new CSS variables (`--row-hover-bg` and `--dark-row-hover-bg`) for customized hover effects, improving themeability and consistency.
The active state for clickable rows also now utilizes a new CSS variable.
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.

1 participant