Skip to content

Improve status page, add "Open Client Status" to tray - #62

Open
yac wants to merge 2 commits into
mainfrom
better_status_in_tray
Open

yac wants to merge 2 commits into
mainfrom
better_status_in_tray

Conversation

@yac

@yac yac commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

The tray's new "Open Client Status" item opens the Client's index page, now a human-readable view of the Client info and the connected software from /addons/list. It helps to find out which software keeps the Client running.

The page refreshes the software list every second while its tab is visible and reloads itself when the Client comes back after being unreachable, so the Client info matches the running Client.

Disconnect and Quit Client buttons call the existing /addons/unsubscribe and /shutdown endpoints. The page is embedded without html/template to keep the binary small.

The status page was intentionally kept tiny, it adds ~13 kB to the binary.

@yac yac self-assigned this Sep 25, 2026
The tray's new "Open Client Status" item opens the Client's index page,
now a human-readable view of the Client info and the connected software
from /addons/list. It helps to find out which software keeps the Client
running.

The page refreshes the software list every second while its tab is
visible and reloads itself when the Client comes back after being
unreachable, so the Client info matches the running Client. The tray
icon is reused as the favicon.

Disconnect and Quit Client buttons call the existing
/addons/unsubscribe and /shutdown endpoints. The page is embedded
without html/template to keep the binary small.

The status page was intentionally kept tiny, it adds ~13 kB to the
binary.
@yac
yac force-pushed the better_status_in_tray branch from 265013b to a52471c Compare September 25, 2026 13:05
@yac

yac commented Sep 25, 2026

Copy link
Copy Markdown
Contributor Author

I made / useful and friendly looking and also made it easily reachable from tray.

Different connected softwares are shown and you can disconnect from each - this should make debugging multiple software connections and other weird client behavior easier without passing BLENDKIT_DEBUG everywhere.

The cost of this improvement is ~13 kB on binary size, I tried to keep it tiny. I think that's fine but I can slash it down further if you want.

image

@yac
yac requested review from Tweekazoid and agajdosi and removed request for Tweekazoid September 25, 2026 13:09

This branch has not been deployed

No deployments
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.

1 participant