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

[Feature] Tray menu server status #44

Open
wants to merge 27 commits into
base: master
Choose a base branch
from

Conversation

elpiel
Copy link
Member

@elpiel elpiel commented Jun 23, 2023

TODOs:

  • Known issue: calling /settings doesn't call the server url fetched from the server logs
  • improvement: while Restarting we should block/disable the tray menu button

How test:

  1. Check both environments:
  • Release: cargo run --release
  • Development: cargo run

Open the Tray icon menu.

Release

Screenshot from 2023-06-23 15-35-40

Development

Screenshot from 2023-06-23 15-30-48

@elpiel elpiel mentioned this pull request Jun 23, 2023
@elpiel elpiel force-pushed the feat/tray-menu-server-status branch from 889e543 to dd19a26 Compare June 23, 2023 13:27
@elpiel elpiel force-pushed the feat/tray-menu-server-status branch from 9d8c19c to bd2d29b Compare July 21, 2023 08:44
@elpiel elpiel requested review from core1024, tymmesyde and TRtomasz and removed request for core1024 January 8, 2024 14:50
Signed-off-by: Lachezar Lechev <[email protected]>
Signed-off-by: Lachezar Lechev <[email protected]>
if directory.is_dir() {
let node = directory.join(Self::node_bin(None)?);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This implementation seems convoluted compared to the one already present

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sure to list all the missing binaries instead only the first one.
If a user complains about the Service not being able to run, this would help us with Support.

@tymmesyde
Copy link
Member

Install with RPM package is broken, returning missing binary error

@elpiel elpiel force-pushed the feat/tray-menu-server-status branch from f84f84b to 921c293 Compare March 12, 2024 11:45
@elpiel elpiel requested a review from tymmesyde March 12, 2024 11:47
Signed-off-by: Lachezar Lechev <[email protected]>
@elpiel elpiel force-pushed the feat/tray-menu-server-status branch from 2e698aa to 1d59059 Compare March 12, 2024 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants