feat: allow editing of preferences survey responses #80

Merged
amzoeee merged 0 commits from refs/pull/80/head into main 2026-08-04 01:06:23 +00:00
amzoeee commented 2026-08-03 23:47:04 +00:00 (Migrated from codeberg.org)

closes #77

this PR is a little bigger than the issue in scope:

  • added generation of openapi.d.ts from openapi.json (now included in the openapi deno task so frontend doesn't have to worry about it)
    • TODO(backend): edit the CI check to also check openapi.d.ts
  • created a client for fetching from the backend (requested by anish's comments on #73)
  • survey is now pre-populated if there are preexisting responses
    • tested w/ no previous preferences data
  • changed the PUT request at the end of the survey to use the client
closes #77 this PR is a little bigger than the issue in scope: - added generation of `openapi.d.ts` from `openapi.json` (now included in the openapi deno task so frontend doesn't have to worry about it) - TODO(backend): edit the CI check to also check `openapi.d.ts` - created a client for fetching from the backend (requested by anish's comments on #73) - survey is now pre-populated if there are preexisting responses - tested w/ no previous preferences data - changed the PUT request at the end of the survey to use the client
scottylabs-bot commented 2026-08-03 23:48:14 +00:00 (Migrated from codeberg.org)

Kennel Deployments

Torn down at 2026-08-04 01:06:24 UTC.

<!-- kennel-deployment --> ### Kennel Deployments Torn down at 2026-08-04 01:06:24 UTC.
Sign in to join this conversation.
No description provided.