Skip to content

Placeholders read JSON without empty allowedTypes/deniedTypes - #50

Closed
BuildCodelessly wants to merge 498 commits into
masterfrom
claude/relaxed-noether-3wtt92
Closed

BuildCodelessly wants to merge 498 commits into
masterfrom
claude/relaxed-noether-3wtt92

Conversation

@BuildCodelessly

Copy link
Copy Markdown
Contributor

Follow-up to #45.

Layouts published from that branch before it merged with master left empty allowedTypes/deniedTypes out of placeholder JSON. Master's reader requires both, so republishing such a project failed while reading its existing published layouts:

variance_node.g.dart: type 'Null' is not a subtype of type 'List<dynamic>'

This reads a missing list as empty (@JsonKey(readValue: readTypesOrEmpty)). Writing is unchanged, and so are per-node defaults: a list view still denies nested lists.

Checks

  • Generated code regenerated.
  • dart format: no changes.
  • dart analyze --fatal-infos: no issues.
  • dart test: all 379 pass, including the new test/placeholder_types_missing_test.dart.
  • Republishing Crate Digger in the editor with this fix succeeded (site.publish to https://site.codelessly.com/crate-digger).

Generated by Claude Code

SaadArdati and others added 30 commits December 11, 2023 12:33
* Fix SizeFit applicability checks were incorrect.
* Fix GridView LayoutModel not accounting for margin and padding.
- Implement filters and sort for load from cloud database action.
- Make document ID optional for load from cloud database action.
- Improve UI of list view settings panel.
- Dismiss filters dialog on save.
- Implement collection streaming for cloud database.
- Add limit option in list view settings panel.
- Add limit option for load from cloud database action.
- Fix list view and grid view data source fields not syncing to server.
- Fix json serializing issue with where filters.
- Codelessly Data support. Save and write data to Codelessly Cloud.
- New GridView widget.
- Codelessly Data Query Filters support. Sort and filter data.
- Variable improvements.
  - Include 'set' and 'replace' operations for list operations.
  - Add new ${value} predefined variable to expose internal node data. TextFields only for now.
  - Track internal value with new NodeProvider InheritedWidget per-widget.
- TextField improvements.
  - Add support for actions on prefix and suffix icons on text fields.
  - Fix set operation on map not showing input field.
  - Implement proper TextFieldModel minimum size computation.
  - Add support for TextInputType.numberWithOptions.
- JSON improvements.
  - Fix json variable controller highlighting.
  - Fix json syntax highlighting for storage operations.
  - Fix focus nodes for json variable input fields.
- List improvements.
  - Add insertAll option for list operations
  - Refactor insert list operation to use json input field.
- Add copy-paste and shortcuts support for actions.
- Add support for non-blocking actions.
- Implement option to enable/disable action.
- Add firebase queries support for grid view.
- Add support for number operations.
- Official v1 release!
- Update triggers types.
- Fix integer functions crashing with NaN and infinite values.
- New AutoComplete support for Variables.
- Fix disable automatic padding from Frames with strokes.
- Implement isTrue and isFalse operators for conditions.
- Refactor operator filtering to use index if available.
- Implement isTrue and isFalse operators for conditions.
- Refactor operator filtering to use index if available.
- Upgrade dependencies.
- Remove all usages of montserrat.
- Remove all usages of Inter.
- Remove Montserrat font.
claude and others added 27 commits October 23, 2026 23:26
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011fXBKiHRftTsgsVPHEZAWz
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011WedhUVWdWR5swqZYMuGfP
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UErtKMSFkZWHUh8DrQMcZW
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F3B1XCZZ7QGvZLUGgSG5H4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011WedhUVWdWR5swqZYMuGfP
…a values of any variable type

Row/column spacing and wrap; keep formula values of any variable type
…formulas with braces in variable syntax

- MotionModel.enterFrom and a bindable replayKey.
- SliderProperties.thumbShape (circle, roundedRect) with size and corners.
- variableSyntaxIdentifierPattern matches a ${= ...} formula whole, object
  literals included.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013oMokUGNW6txknJs7xxTik
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011WedhUVWdWR5swqZYMuGfP
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013oMokUGNW6txknJs7xxTik
Master's row/column spacing replaces itemSpacing (JSON itemSpacing is read
as spacing). Computed variables keep their ${= ...} formula in the value,
as master stores them; a separate formula field in JSON is read into it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013oMokUGNW6txknJs7xxTik
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011fXBKiHRftTsgsVPHEZAWz
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011fXBKiHRftTsgsVPHEZAWz
RowColumnNode.wrap lets a row or column flow its children onto a new run
when they don't fit, like Flutter's Wrap, with runSpacing between runs and
runAlignment placing them. All three default to today's behaviour and are
left out of the JSON.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F3B1XCZZ7QGvZLUGgSG5H4
CI's generated-code check builds it with reactions first; master's copy
was stale.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011fXBKiHRftTsgsVPHEZAWz
codelessly_api 6.2.0: repeating gradients, arc progress bars, dialog presentation, delay formulas
Where master released the same feature, master's API stays and this
branch's duplicate goes: repeating gradients use gradientRepeatEvery
(tileMode/gradientExtent dropped), wrap uses RowColumnNode wrap, spacing
and runSpacing (wrapSpacing/wrapRunSpacing dropped), and dialogs use
master's DialogPresentation (dialog, bottomSheet, adaptive) and
alignment, with this branch's sideSheet, sheetWidth, maxHeightFactor and
showDragHandle added on top.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011WedhUVWdWR5swqZYMuGfP
Saved bottom sheets (released in 6.2.0) don't change when this branch adds
the options: showDragHandle defaults to false and maxHeightFactor to 1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011WedhUVWdWR5swqZYMuGfP
RigCheck: signature node, loop animations, sheet dialogs, wrap, scaled frames and more
…s alongside

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F3B1XCZZ7QGvZLUGgSG5H4
codelessly_api 6.2.0: line chart node, API call handlers, runtime UI styling, URL paths
…elog

- Hover enter/exit become master's cursorEnter/cursorExit; trigger JSON
  naming hoverEnter or hoverExit reads as them (TriggerType.aliases).
- Placeholder type lists take master's per-node defaults (a list denies
  nested lists) instead of an empty default.
- This branch's changes go under master's Unreleased changelog section,
  for one release with master's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013oMokUGNW6txknJs7xxTik
codelessly_api 6.2.0: motion, new triggers, gaps and wrapping lists, computed variables
Layouts published before the merge with master left empty type lists out
of placeholder JSON; master's reader required them, so republishing a
project failed reading its published layouts (variance_node.g.dart:
type 'Null' is not a subtype of type 'List<dynamic>'). Read a missing
list as empty; writing and per-node defaults are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013oMokUGNW6txknJs7xxTik
@rayliverified
rayliverified deleted the claude/relaxed-noether-3wtt92 branch November 16, 2026 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants