Add attach notes
command to allow adding of notes of a record
#249
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
When viewing
timetrace report
at the end of the month in preparation to bill clients, the current information displayed may not provide enough context to what actually happened during each time chunk. And because a full month may have occurred, the memory is no longer fresh to remember what you've did specifically.Solution
When adding a timetrace record, it would be good to be able to leave a note attached to the record to briefly describe what was being done for this time chunk so that it will be easier to give a breakdown to the clients if they require.
Description
Changes
This PR adds 2 new commands:
timetrace attach note
timetrace get record last
And also updates the
timetrace report
andtimetrace get record
to display the notes as a new column in the table.Details
This PR adds a new command called
attach
which the first subcommandattach note
. This also allows users to now pull the latest record without searching explicitly for the last and latest record viatimetrace get record last
timetrace attach note -m <message>
will allow users to be able to leave contemporary notes about the record that was just submitted.Example:
Attach a note
Get Last Record
Get Report
Test