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(backend): add recent searches #156

Closed Oran-Dan closed 3 months ago

Oran-Dan commented 3 months ago

Description of change

I have setup the backend to deliver "recent_searches" functionality. It is a simple Vec storing the recent search_terms. If the same search_term is entered again (case-insensitive) it will be removed from the list and added back on top.

Also i have changed the CoreState and core_state fields to CoreUtils and core_utils.

Links to any relevant issues

84

How the change has been tested

I have made extra integration tests in the unime/src-tauri/tests folder, including new .json fixtures

Definition of Done checklist

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

daniel-mader commented 3 months ago

Please run cargo test inside identity-wallet to update the bindings.