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

Upgrade /programs, add desksaver #171

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Upgrade /programs, add desksaver #171

wants to merge 6 commits into from

Conversation

cwervo
Copy link
Collaborator

@cwervo cwervo commented Aug 15, 2024

Note

WIP — need to actually add desksaver.folk to trigger when rp list is 0

The goal of this PR is two fold:

  • Upgrade the folkName.local/programs output to be more readable
  • Add a virtual-programs/desksaver.folk that displays RAM usage, basic metrics, and maybe a little animation to tell that the system is not completely frozen when there are no programs out on the table

This will address #130.

@cwervo cwervo added the enhancement New feature or request label Aug 15, 2024
@cwervo cwervo self-assigned this Aug 15, 2024
@osnr
Copy link
Collaborator

osnr commented Aug 15, 2024

We can probably factor this out of web.tcl and into a separate program (web/programs.folk) while we're at it right?

</nav>
<h1>Resource Usage</h1>
<div>
<!-- TODO: how to subs the real values into the html proc? -->
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hmmm, I'm missing something @osnr ... when I use subst here instead of html the page doesn't render at all, html doesn't fill in the $.*Usage variables though.

Screenshot 2024-08-15 at 11 52 25 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants