Skip to content

[Feature] Tray menu server status#44

Open
elpiel wants to merge 27 commits into
masterfrom
feat/tray-menu-server-status
Open

[Feature] Tray menu server status#44
elpiel wants to merge 27 commits into
masterfrom
feat/tray-menu-server-status

Conversation

@elpiel

@elpiel elpiel commented Jun 23, 2023

Copy link
Copy Markdown
Member

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 added 7 commits May 26, 2023 19:11
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
@elpiel elpiel mentioned this pull request Jun 23, 2023
elpiel added 3 commits June 23, 2023 15:44
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
@elpiel elpiel force-pushed the feat/tray-menu-server-status branch from 889e543 to dd19a26 Compare June 23, 2023 13:27
elpiel added 5 commits June 23, 2023 16:34
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
@elpiel elpiel force-pushed the feat/tray-menu-server-status branch from 9d8c19c to bd2d29b Compare July 21, 2023 08:44
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
@elpiel elpiel requested review from TRtomasz, core1024 and tymmesyde and removed request for core1024 January 8, 2024 14:50
elpiel added 2 commits January 8, 2024 17:24
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
Comment thread src/server.rs
pub fn new(directory: PathBuf) -> Result<Self, Error> {
pub fn at_dir(directory: PathBuf, no_cors: bool) -> Result<Self, Error> {
if directory.is_dir() {
let node = directory.join(Self::node_bin(None)?);

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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 <lachezar@ambire.com>
@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

Development

Successfully merging this pull request may close these issues.

Server status in Tray menu Go to web app button should forwards current server ip address as a parameter server.js restart

2 participants