Skip to content

Commit db67ec2

Browse files
Update frontend_ux_study.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 8b08a88 commit db67ec2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend_ux_study.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ The frontend is built with React/Vite (as seen in `src/frontend`). The following
5252
* **Status/Progress Indicators:** Crucial for long-running workflows. Must handle states: `PLANNING`, `RESEARCHING`, `REVIEW_REQUIRED`, `COMPLETED`, `ERROR`.
5353
* **Data Grids/Tables:** For listing repositories, workflow runs, and aggregated agent research results.
5454
* **Code/Diff Viewer:** Essential for previewing file upserts or workflow retrofits before execution.
55-
* **Toast Notifications/Error Handling:** Must follow the mandated Global Error Handling protocol. Errors caught by the frontend must be passed to `handleGlobalError` service, rendering a Sonner toast with the literal backend message and a "Copy to Clipboard" button.
55+
* **Toast Notifications/Error Handling:** Must follow the mandated Global Error Handling protocol. Errors caught by the frontend must be passed to handleGlobalError service, rendering a Sonner toast with the literal backend message and a "Copy for AI" button.
5656

5757
## 6. Error Handling Protocol (Critical Design Constraint)
5858
The UI *must* implement the strict global error handling protocol defined in the backend architecture:

0 commit comments

Comments
 (0)