In Mostro web, there's a settings tab where the Mostro Nostr public key and the user's secret key are displayed. This PR introduces the first steps toward that feature in mostrui. This is how it looks in mostro web:
What has been done
Added a new widget called SettingsWidget to display the Mostro Nostr public key and the user's secret key.
Here's how it looks in my terminal:
(I've added light gray blocks to the screenshot, these blocks are not present in the actual terminal output)
What to check
This is my first time working with Rust, so any feedback would be greatly appreciated, especially on:
Whether this implementation matches your expectations.
The general structure of placing widgets in their own folder (widgets).
Context
Issue: https://github.com/MostroP2P/mostrui/issues/1
In Mostro web, there's a settings tab where the Mostro Nostr public key and the user's secret key are displayed. This PR introduces the first steps toward that feature in mostrui. This is how it looks in mostro web:
What has been done
Added a new widget called SettingsWidget to display the Mostro Nostr public key and the user's secret key.
Here's how it looks in my terminal:
(I've added light gray blocks to the screenshot, these blocks are not present in the actual terminal output)
What to check
This is my first time working with Rust, so any feedback would be greatly appreciated, especially on: