Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Nov 14, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

mathpirate and others added 4 commits November 14, 2025 09:35
* test: add fixture for Cell.get() in ifElse predicate bug

Reproduces issue where transformer generates derive without schema
for ifElse predicates, causing Cell parameters to be unwrapped when
they should remain as Cells (with asCell: true in schema).

Expected: derive with full schema preserving asCell: true
Actual: derive without schema, unwrapping all values

* change order of transformers
`pattern`, `recipe`, `lift` and `handler` now consistently produce factories that strip any Cell annotations, so that the type the developer declares matches the internal view while external callers can call with or without Cells.

---

Also fixed TypeScript types in patterns by:

1. Adding Cell<> wrappers to input schema properties where UI components expect CellLike<T> values:
   - recipes: bgCounter, email-summarizer, gcal, gmail-importer, input, research-report, rss
   - patterns: chatbot, ct-checkbox-*, ct-list, ct-select, fetch-data, note

2. Removing extraneous asCell: true from simpleValue.tsx that was causing .length property errors

3. Making recipe input properties optional where they have Default<> values and adding fallback handling in recipe implementations

4. Fixing Cell import from type-only to regular import in note.tsx
@pull pull bot locked and limited conversation to collaborators Nov 14, 2025
@pull pull bot added the ⤵️ pull label Nov 14, 2025
@pull pull bot merged commit fa83089 into ExaDev:main Nov 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants