Files
formbricks/apps/web/lib
Dhruwang aa040595c3 fix: address review feedback on response detail modal
- a11y: make OpenTextSummary rows keyboard-triggerable. Adds
  role="button", tabIndex={0}, aria-label, focus-visible ring, and an
  onKeyDown handler so Enter/Space open the modal — matching the
  pattern used in connectors-table-data-row.tsx.

- race: track the in-flight responseId in a ref inside
  ResponseSampleModal and bail out of .then/.catch/.finally branches
  when a newer responseId has been selected, preventing stale results
  from overwriting the current row's data.

- errors: surface action errors. Check getFormattedErrorMessage on
  both action results, toast.error and render the message inside the
  dialog instead of leaving the modal stuck on a loading spinner when
  the fetch fails or returns no data. Clear the error state on close.

- coverage: add unit tests for getResponseWithQuotas covering the
  happy path with/without screened-in quotas, the prisma select shape,
  input validation, the null-response path, and the database/generic
  error mappings.
2026-05-18 15:19:53 +05:30
..
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-01-09 12:31:29 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00
2026-05-15 16:43:27 +00:00