Files
feuerwerk/todo-notes/done/reseed-because-of-list.md
T
rootandClaude Fable 5.1 8a7185948d Make texture and colour full kinds and drop the load-time migrations
- `Texture` and `Color` can be picked as a variable kind, a struct field
  kind and a declared port kind; a new `Texture` node hands a picture id
  into the graph. Declared, a texture is its bare id – the `$texture` tag
  stays a list-only thing.
- The `String` node is labelled "Text" like its kind; the type id stays.
- Whole-number inputs (`Item at`, `Set item`, `Sub list`, `Fill`,
  `Repeat`, `Substring`, `To text`) show no decimals (`int()` in shared.ts).
- All server projects are reseeded, so `legacyNodes.ts`,
  `migrateDeclaredLists` and the `ownerId` fallback go, with their tests.
- Note `reseed-because-of-list` moved to done/; new note `refactor-types`.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-12 14:06:14 +02:00

1.1 KiB

  1. es gibt das Node "String", der typ heißt aber "Text", das ist inkonsistent
  2. "Item at" oder "Set item" node: index hat ".000" nachkommastellen im inspector, ist aber ein integer
  3. neuer typ "Texture" momentan nur in einer liste hinzufügbar => es gibt kein "Texture" node, man kann den typ auch nicht bei variablen aussuchen
  4. alle project seeds überarbeiten, sodass keine migration mehr notwendig ist und reseeden.
  5. checken ob es projects gibt (ohne seed) die auch noch eine migration erfordern.
  6. migration code entfernen
  7. unnötige comments auch wieder entfernen

Umgesetzt. Entscheidungen dabei:

  • Nur das Label des String-Nodes heisst "Text", Typ-Id und Porttyp bleiben.
  • Texture (und Color) sind Variablen-Arten, Struct-Feld-Arten und Port-Arten; deklariert ist eine Textur die blanke Id, der $texture-Tag gilt nur in Listen. Neuer Node Texture mit Picker.
  • Jump-Run und Tetris wurden mit den aktuellen Seedern ueberschrieben; nur die fuenf Projekte auf dem Server zaehlen. Danach sind legacyNodes.ts, migrateDeclaredLists und der ownerId-Fallback samt Tests geloescht.