-
Notifications
You must be signed in to change notification settings - Fork 76
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
timetrace report
displays deleted records
#161
Comments
delete project
to also delete records timetrace report
displays deleted records
Actually, this should already be the case... 🤔 @KonstantinGasser Do you know something about this? |
@dominikbraun the |
Ok, so what about @jwnpoh implementing suggestion 1(*) and @KonstantinGasser implementing suggestion 2? (*) In my opinion, deleting all records of a project when deleting the project should be opt-in, because this is a pretty dangerous operation. Maybe we could add a |
@dominikbraun yes we can split that into two PRs, sounds good. Regarding your second point - I agree that blindly deleting all records is not a good UX, a user should explicitly tell that all records should be deleted. |
Should the user input be in the form of a flag or a confirmation/option prompt? Or maybe both. Printing a prompt if there is no `--delete-records' flag would take care of the possible user who may not be aware that records are not deleted by default, or that records are decoupled from projects. What do you think? |
I'd say both. |
Should this issue be closed now, @dominikbraun? |
@jwnpoh Yes, thanks for noticing. |
Hello! I have observed that
timetrace report
currently lists records that have been deleted. Is this the intended behaviour? If it is not, then I would like to propose two fixes:delete project
should also delete records with the associated project key.timetrace report
should ignore record files that have the.bak
suffix.The text was updated successfully, but these errors were encountered: