Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate if the macOS toggle is possible in system tray app build with Tauri #5364

Closed
mrinalwadhwa opened this issue Jul 16, 2023 · 3 comments

Comments

@mrinalwadhwa
Copy link
Member

We're building a Desktop System Tray app for Ockam, see #5228

Here are two ways we could design the UI for an Ockam node running in the background.

  1. With a toggle, this is the more modern macOS approach:
Screenshot 2023-07-16 at 8 24 12 AM
  1. A status menu item (like Docker is running) combined with menu items to start and stop.
Screenshot 2023-07-16 at 8 24 26 AM

We should investigate if the toggle is possible with Tauri/Tao/Muda
https://github.com/tauri-apps/tauri
https://github.com/tauri-apps/tao/tree/muda
https://github.com/tauri-apps/muda

I imagine that the rendering is delegated to macOS so makes sense for it to be possible somehow.

Run

You can run the current version of the app as follows:

cd implementations/typescript
pnpm install
pnpm build

cd ../../implementations/rust/ockam/ockam_app
cargo tauri dev

Source Code

The code for this is here:


We love helping new contributors!
If you have questions or need help as you work on your first Ockam contribution, please leave a comment on this discussion or join us on discord. If you're looking for other issues to contribute to, checkout labels - good first issue or help wanted

@davide-baldo
Copy link
Member

@tusharxoxoxo Thanks! please let us know if you have any question!

@etorreborre
Copy link
Member

@nazmulidris should we still keep this issue open as such or is it included in another piece of work?

@mrinalwadhwa
Copy link
Member Author

I think we can close it, it's included in @davide-baldo's work with #5774

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants