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

Adding activity via hamster isn't immediately reflected in the UI #4

Open
matclab opened this issue Oct 9, 2019 · 3 comments
Open

Comments

@matclab
Copy link
Owner

matclab commented Oct 9, 2019

For now we have to wait that argos refreshes the plugin (at most 1m) for the activity status to be reflected in the UI.

This is probably not a great problem, but it would be nice to be able to correct the problem.

One way to prevent this, would be to make hamster add command blocking. We could then do a touch ~/.config/argos/hamster.1m+.py plugin to force the refresh. But I don't know how to do it without modifying hamster.

Any other idea ?

@GeraldJansen
Copy link
Contributor

GeraldJansen commented Oct 9, 2019

A partial work-around would be renaming to hamster.5s+.py or hamster.2s.py to greatly reduce the delay. On my system updating every 1s increased cpu usage slightly, but 2s or more is barely noticeable. However, this is not really a satisfactory solution.
[ed.] Forget this, it annoyingly refreshes while you have the menu open.

@matclab
Copy link
Owner Author

matclab commented Oct 14, 2019

Closed with merge of #6 : 04811dd

@matclab matclab closed this as completed Oct 14, 2019
@matclab
Copy link
Owner Author

matclab commented Oct 14, 2019

Re-openning as adding an activity via the "show overview" doesn't lead to the UI being updated.

@matclab matclab reopened this Oct 14, 2019
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

No branches or pull requests

2 participants