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

Add config option for placeholder values #25

Open
domsson opened this issue Apr 28, 2020 · 1 comment
Open

Add config option for placeholder values #25

domsson opened this issue Apr 28, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@domsson
Copy link
Owner

domsson commented Apr 28, 2020

On startup, blocks are often not immediately displayed, because they are still going through their first invocation. Only once they have finished running, can we obtain their output and update the bar with it. This leads to a flash of blank blocks on startup. Additionally, it is possible that a block runs forever (hangs) and therefore never produces output, making for a permanently missing value in the bar.

Both of these issues could be prevented if there was a placeholder config option. The value given here would be immediately displayed where the block output would usually appear until the block has actually produced output itself.

@domsson domsson added the enhancement New feature or request label Apr 28, 2020
@domsson domsson self-assigned this Apr 28, 2020
@domsson
Copy link
Owner Author

domsson commented May 4, 2020

Actually, I'm not so sure this is really needed. I think the problem I saw was from timed blocks (those with a reload value other than 0) that would not be run immediately, but only after their reload time had passed. I believe that was an issue we fixed somewhere along the way. Let's verify all this after the refactoring is done.

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

No branches or pull requests

1 participant