PAIR-code / PAIR-code/deliberate-lab

Add full UI support for enums, arrays, and nested fields in structured output config

Open
#605 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

frontend runtime:experimenter-ux stale
Dominant language
TypeScript
Stars
96
Forks
40
Avg merge
2d 11h
Merged PRs (30d)
20

Description

At time of writing, the structured output UI supports:

  • String
  • Integer
  • Number
  • Boolean
  • Flat fields only

The backend also supports:

  • Enums
  • Arrays
  • Nested fields

I don't know what will happen if someone defines one of the extra features in a template and tries to open it in the UI.

The UI also doesn't support reordering fields, which would be nice to have.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the structured output UI and its template-loading path, then compare the supported scalar fields with the backend features named in the issue. The work is done when enums, arrays, nested fields, and field reordering work in the UI without breaking existing string, integer, number, or boolean fields.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.