Skip to content

use TaskChampion Task when creating/setting setting status - #4157

Open
carmiac wants to merge 1 commit into
GothenburgBitFactory:developfrom
carmiac:tdb2_wiring
Open

use TaskChampion Task when creating/setting setting status#4157
carmiac wants to merge 1 commit into
GothenburgBitFactory:developfrom
carmiac:tdb2_wiring

Conversation

@carmiac

@carmiac carmiac commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

This is part 3 of the split of #4113

@djmitche djmitche left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good - just some minor suggestions. And as always I'm sorry for getting to it so late.

Comment thread src/TDB2.cpp
const std::unordered_map<std::string, size_t>&);

////////////////////////////////////////////////////////////////////////////////
// Map the C++ on-disk status string to the typed `tc::Status` enum used by the

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Map the C++ on-disk status string to the typed `tc::Status` enum used by the
// Map the C++ representation of status to the typed `tc::Status` enum used by the

Comment thread src/TDB2.cpp
Comment on lines +156 to +157
std::string deferred_status;
bool deferred_status_changed = false;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could use std::optional<std::string> here instead of two variables

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

Successfully merging this pull request may close these issues.

2 participants