Solution Exploration: Broadcast messages & Git responses in CLI
Summary
Issue to discuss a solution for Broadcast Messages in CLI.
Problem
For most cases in which we leverage broadcast messages, it's not appropriate and can be distracting to display the message in the CLI.
Questions
- Should it display?
- If not all the time, how do we control when something displays in the CLI or not?
- If a broadcast message is displayed in the CLI, how should we display it? What's displayed on web does not display optimally in CLI (or on mobile in some cases). Specifically formatted links look incorrect.
Current State
- Negative feedback - the Code Suggestions broadcast message is not appropriate to be displayed in the CLI
- Broadcast messages displayed in CLI cannot be dismissed. This is a poor experience.
- Feedback on Hacker News https://news.ycombinator.com/item?id=35985449
- Raised by @aqualls in gitlab-com/Product#5596 (comment 1377141634), when live, broadcast messages are shown in Git responses in the CLI. When the broadcast message contains HTML formatting and links they are not rendering properly in the CLI.
Enumerating objects: 11, done.
Counting objects: 100% (11/11), done.
Delta compression using up to 10 threads
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 1.75 KiB | 1.75 MiB/s, done.
Total 6 (delta 5), reused 0 (delta 0), pack-reused 0
remote:
remote: ========================================================================
remote:
remote: The 16.0 major release is coming on May 22, 2023! This version
remote: brings many exciting improvements to GitLab, but also removes some
remote: deprecated features. These changes are going live on GitLab.com
remote: now, continuing up to May 22, 2023, when GitLab 16.0 is released.
remote: Visit the <b><a
remote: href="https://docs.gitlab.com/ee/update/deprecations?removal_milestone=16.0&breaking_only=false">deprecations
remote: page</a></b> to see what is scheduled for removal.
remote:
remote: ========================================================================
Proposed Solution
Edited by Paige Cordero (on Parental Leave)
