canonical / canonical/multipass
[daemon] Standardize sending messages to the user CLI
- Dominant language
- C++
- Stars
- 9.2k
- Forks
- 828
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 44
Description
**What are you trying to do?**
Related to #2543 and #3229, we need a standardized way of sending messages to the user. This will help with any future UI/UX work. Currently, only some protobuf replies have fields for it, but the major difficulty is that said replies live in the call stack mostly on the daemon, and passing them on every function call require a major re-work. Different commands use their own methods to achieve this when necessary.
Contributor guide
Research direction
Start by reading related issues #2543 and #3229, then trace how daemon commands currently send messages to the user CLI. Compare the existing protobuf reply fields with command-specific messaging methods and follow the daemon call stack. Done means the project has an agreed standardized approach that addresses the stated message-passing problem.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100