githubnext/chopinPublic

Let's compose rich plans together

Trial bounded OpenUI composition in documents #409

ClosedMaggieAppletonclosed 3 commits intomainfromrefs/pull/409/head
  1. MA

    ## Trial

    Renders one pandas design-options section in a Chopin document with a gallery, comparison table, expandable detail, and a private reader filter. Two seven-line OpenUI sources rearrange the same option records; an ordinary document provides the comparison. The source is [pandas issue 54154](https://github.com/pandas-dev/pandas/issues/54154) at frozen checkpoint `c1`. The screenshot is source evidence; the three small spreadsheet specimens are labeled illustrations.

    ## Visual preview

    ![Gallery-first document with three illustrative options, comparison table, and expandable detail](https://github.com/user-attachments/assets/2bef96fb-a3dc-4773-8701-5bed303dc289)

    ![Narrow comparison-first document with a scrollable table and gallery rail](https://github.com/user-attachments/assets/277a608b-37b2-4469-b992-4f79133ee0de)

    ## Verification

    - 17 focused unit and dialect tests; 3 Playwright tests against isolated PostgreSQL. - Type checks, repository CI, production build, and wide/narrow preview checks pass. - Initial JavaScript remains 249,951 B raw. Total emitted JavaScript grows 49,533 B gzip against `f1e81673`; the OpenUI lazy chunk itself is 47,165 B gzip.

    ## Recommendation

    Adapt this for bounded document components and keep OpenUI experimental. Its native package entry is private, and the Copilot CLI captured invalid source after one attempt and one repair. The evidence does not establish whether the model or CLI formatting inserted the line breaks. The manual examples are the rendered trial. The [trial report](experiments/openui-composition-trial/README.md) preserves source, model output, and measurements.

  2. MaggieAppletonconvert-to-draftlast month on GitHub

  3. MaggieAppletonclosedlast month on GitHub