Add data-use disclosures to the user report dialog (#42798)

## What changed

- Show audience-specific data-use disclosure copy and links before report submission.
- Keep the note editor and submit/cancel controls visible in short panes while allowing the disclosure to scroll with `PageUp` and `PageDown`.
- Clarify the employee completion message with its report ID and link.

## Testing

- Add snapshot coverage for both audiences, narrow widths, short panes, and four-row panes.
- Cover submit and cancel behavior in the report note view.

GitOrigin-RevId: c025bcfbbd39e462685b211ef9392664e7de4f71
This commit is contained in:
Eric Traut authored and copyberry committed 2026-09-04 16:39:46 +00:00
1 parent 47b0f7d540
commit 80ab0ffafe
16 files changed
+482 -50

No files matched your search

+2 -8
View File
@@ -997,20 +997,14 @@ impl ChatWidget {
&mut self,
category: crate::app_event::FeedbackCategory,
include_logs: bool,
) {
self.show_feedback_note(category, include_logs);
}
fn show_feedback_note(
&mut self,
category: crate::app_event::FeedbackCategory,
include_logs: bool,
feedback_audience: crate::bottom_pane::FeedbackAudience,
) {
let view = crate::bottom_pane::FeedbackNoteView::new(
category,
self.turn_lifecycle.last_turn_id.clone(),
self.app_event_tx.clone(),
include_logs,
feedback_audience,
);
self.bottom_pane.show_view(Box::new(view));
self.request_redraw();