[CORAL] Adjust feedback log wording
For the current feedback UI, it is more natural to directly display the json in the grouping log section. Bug: b:387932120 Test: CQ Change-Id: I4469e3ecbc50a5c4881c4a7ea13bb5fa5eaa817d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6248616 Reviewed-by: Xiaodan Zhu <zxdan@chromium.org> Commit-Queue: Xiaodan Zhu <zxdan@chromium.org> Cr-Commit-Position: refs/heads/main@{#1418708}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
88d9b003e6
commit
18ece4e66a
ash/wm/overview/birch
@ -253,11 +253,8 @@ void BirchBarController::ProvideFeedbackForCoral() {
|
||||
}
|
||||
Shell::Get()->coral_controller()->OpenFeedbackDialog(
|
||||
/*group_description=*/
|
||||
base::StrCat({kUserFeedbackPrompt, kMarkdownBackticks, "json\n",
|
||||
base::WriteJsonWithOptions(
|
||||
root, base::JSONWriter::OPTIONS_PRETTY_PRINT)
|
||||
.value_or(std::string()),
|
||||
"\n", kMarkdownBackticks}));
|
||||
base::WriteJsonWithOptions(root, base::JSONWriter::OPTIONS_PRETTY_PRINT)
|
||||
.value_or(std::string()));
|
||||
}
|
||||
|
||||
void BirchBarController::ExecuteMenuCommand(int command_id, bool from_chip) {
|
||||
|
@ -23,11 +23,6 @@ class PrefRegistrySimple;
|
||||
|
||||
namespace ash {
|
||||
|
||||
inline constexpr char kUserFeedbackPrompt[] =
|
||||
"Auto-generated logs:\n";
|
||||
|
||||
inline constexpr char kMarkdownBackticks[] = "```";
|
||||
|
||||
class BirchBarMenuModelAdapter;
|
||||
class BirchBarView;
|
||||
class BirchChipButton;
|
||||
|
Reference in New Issue
Block a user