Skip to content

Conversation

@Sotatek-DucPhung
Copy link
Collaborator

@Sotatek-DucPhung Sotatek-DucPhung commented Sep 30, 2025

  • Updated credential server to include new endpoints for verifying IPEX presentations and fetching presentation requests.
  • Enhanced the request presentation modal to manage presentation requests and their statuses.
  • Introduced a new PresentationStatus component for better UI representation of request statuses.
  • Added polling mechanism for verifying presentation status in the UI.
  • Updated package dependencies and configuration files accordingly.

Description

Please include a summary of the changes and a brief description about this PR.

Checklist before requesting a review

Issue ticket number and link

  • This PR has a valid ticket number or issue: VT20-2173

Testing & Validation

  • This PR has been tested/validated in iOS, Android and browser.
  • Added new unit tests, if relevant.

Design Review

  • In case this PR contains changes to the UI, add some screenshots and/or videos to show the changes on relevant devices.
Screen.Recording.2025-10-01.at.17.25.15.mov

- Updated credential server to include new endpoints for verifying IPEX presentations and fetching presentation requests.
- Enhanced the request presentation modal to manage presentation requests and their statuses.
- Introduced a new PresentationStatus component for better UI representation of request statuses.
- Added polling mechanism for verifying presentation status in the UI.
- Updated package dependencies and configuration files accordingly.
@sdisalvo-crd
Copy link
Contributor

Is this PR still a draft?

@iFergal iFergal removed the request for review from sdisalvo-crd September 30, 2025 14:03
@iFergal
Copy link
Collaborator

iFergal commented Sep 30, 2025

@sdisalvo-crd Apologies it's ready for me review, and it's not done yet - I told Duc I'd try to pick it up if I could today so we can get it deployed asap. Feel free to check out the UI elements if you'd like but it doesn't need a deep review - if I can get it done tonight I will deploy to demo for testing

): Promise<void> {
const client: SignifyClient = req.app.get("signifyClient");

const exchanges = await client.exchanges().list();
Copy link
Collaborator

Choose a reason for hiding this comment

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

exchanges().list() needs to be paginated if we aren't searching for a specific ID. Does the filter not work at all?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Hmm, paginating doesn't work well with .list() because as more exns come in, the order seems to change, not sure why.

If I add a sort: ['-dt'] (which needs ts-ignore) I get a stable list but /ipex/apply does not seem to be indexed in the DB, maybe because we sent it and didn't receive it. Possibly a bug in KERIA.

I'm going to leave this for now and see if I can fix it later, or if we'll just add a "reset" button to get a fresh client for the verifier

…ing mechanism

- Updated the credential API to correct the handling of `ipexApplySaid` and improve verification logic.
- Removed the `usePresentationVerification` hook and replaced it with a new `usePresentationPolling` hook for better management of presentation request statuses.
- Enhanced the RequestPresentationModal to utilize the new polling mechanism and simplified state management.
- Updated the connections slice to include new properties for presentation requests.
- Cleaned up unused code and improved overall structure for better maintainability.
);

dispatch(
savePresentationRequest({
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why did we change to fetching all again?

@iFergal iFergal merged commit 5f119cd into feat/birth-fishing-cred Oct 1, 2025
3 of 4 checks passed
@iFergal iFergal deleted the feature/VT20-2173-credential-verifier-improvement-partB branch October 1, 2025 15:45
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.

4 participants