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

How to hide the record on the bar graph #85

Open
InfinityShu opened this issue Dec 7, 2021 · 8 comments
Open

How to hide the record on the bar graph #85

InfinityShu opened this issue Dec 7, 2021 · 8 comments

Comments

@InfinityShu
Copy link

image
I used ctrl+H to hide the away time and it was hidden on the tree view.
image
However, the bar graph still presents the away time. Is there a way to hide it on the bar graph?

@aardappel
Copy link
Owner

Sorry, I forgot to add this piece of documentation:
CTRL+C opens a manual editing mode to add minutes to the selected leaf node to make corrections.
in your case, you want maybe first unhide the node (CTRL+U), then enter a negative amount (e.g. -4200 for 70hrs less).

@InfinityShu
Copy link
Author

image
I followed the steps, whereas both the tree view and the bar graph remained the same.
image
I'm not sure why there are no changes.

@aardappel
Copy link
Owner

You need to do it with a leaf node selected (one that has no children).. I presume that is the one called Other in your case.

@InfinityShu
Copy link
Author

This time I make sure that I selected the correct node.
1
2
I recorded the two attempts I had made.

@aardappel
Copy link
Owner

It looks like you're doing it correctly.. when I am doing it similarly, it work.. no idea why it doesn't work for you.

I suggest starting over with a file.. or if you really want this fixed, you can email me the file at aardappel at gmail dot com and I'll see what is going on :)

@InfinityShu
Copy link
Author

Sure. I sent you an email with the file.

@aardappel
Copy link
Owner

Thanks! Your persistence made me finally figure out what the problem is, and I fixed it here: de30262

Not only does it now work, I changed the CTRL+C dialog to take a percentage instead of an absolute minutes delta, which should be easier to use. i.e. in your case you may want to try 20 or whatever you think is most correct.

It doesn't know which day you want to correct, so it scales all days that accumulated that node down to 20% or whatever.

A build that has the feature in it is be here: https://github.com/aardappel/procrastitracker/actions/runs/1565027116

@InfinityShu
Copy link
Author

Thank you for your effort to improve the procrastitracker!

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