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

Display current route in dev mode #192

Open maiertech opened 2 months ago

maiertech commented 2 months ago

Description

When in dev mode, the frontend should optionally display the current route.

Motivation

Since dev happens in a desktop web view, the current route is not visible anywhere. This feature would improve the DX and make it easier to find a file in SvelteKit's routes folder corresponding to the view you are looking at.

Requirements

  1. Access the page store in the root layout to access the path.
  2. Display the path in the UI, e.g. with a dialog that disappears after a short period of time.
  3. This feature is opt-in, i.e. it is not on by default when in dev mode.

Open Questions

No response

Are you planning to contribute this in a PR?

Yes