impierce / identity-wallet

A Tauri-based Identity Wallet for people to manage Decentralized Identities and Verifiable Credentials.
https://www.impierce.com
Apache License 2.0
17 stars 4 forks source link

feat: add recent searches #172

Closed Oran-Dan closed 3 months ago

Oran-Dan commented 3 months ago

Description of change

We've added the recent searches functionality to the search bar. A recent search will only be added as an actual credential that was clicked after entering a search term. This includes being able to delete a recent search. Clicking on a recent search will move it back to the top of the list.

In the frontend we now use .map instead of .filter to display credentials/connections. This makes sure the actual order as conveyed by the backend is displayed.

Links to any relevant issues

84

How the change has been tested

Extensive integration tests located in the unime/src-tauri/tests folder.

Definition of Done checklist

Add an x to the boxes that are relevant to your changes.