Feedback #9

Open
opened 2026-10-23 03:36:53 -07:00 by westfarn · 0 comments
Owner

Part of #1.

Web route: /feedback/ (protected).
Source: llm-fe/src/llm-fe/pages/FeedbackPage2/FeedbackPage2.tsx.

Screenshot

Not attached. Route redirects to Sign in without a session. Capture after sign-in: submit card and history table.

Behavior

Same header as Dashboard. Two cards:

  1. Submit feedback. Title (required), category (required), text (required, at least one character). Submit clears the form and prepends the new row locally.
  2. Feedback history. Table columns: Title, Category, Text, Status. Loaded on mount.

Categories shown to the user, and the values the API expects:

Label Value sent
Bug BUG
Enhancement ENCHANCEMENT
Other OTHER

ENCHANCEMENT is the spelling the web client and backend already use. Keep it.

Empty history is an empty table. Load and submit failures are only logged; the web page does not show an error string. iOS should still surface a failure.

API

Call Purpose
GET /feedbacks/ List { id, title, text, status, category } for the current user.
POST /feedbacks/ Body { title, text, category }.

iOS

New screen on the header nav.

Part of #1. Web route: `/feedback/` (protected). Source: `llm-fe/src/llm-fe/pages/FeedbackPage2/FeedbackPage2.tsx`. ## Screenshot Not attached. Route redirects to Sign in without a session. Capture after sign-in: submit card and history table. ## Behavior Same header as Dashboard. Two cards: 1. **Submit feedback.** Title (required), category (required), text (required, at least one character). Submit clears the form and prepends the new row locally. 2. **Feedback history.** Table columns: Title, Category, Text, Status. Loaded on mount. Categories shown to the user, and the values the API expects: | Label | Value sent | | --- | --- | | Bug | `BUG` | | Enhancement | `ENCHANCEMENT` | | Other | `OTHER` | `ENCHANCEMENT` is the spelling the web client and backend already use. Keep it. Empty history is an empty table. Load and submit failures are only logged; the web page does not show an error string. iOS should still surface a failure. ## API | Call | Purpose | | --- | --- | | `GET /feedbacks/` | List `{ id, title, text, status, category }` for the current user. | | `POST /feedbacks/` | Body `{ title, text, category }`. | ## iOS New screen on the header nav.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/chat_ios#9