)]}'
{
  "commit": "87eb6bfac2eb59ee288e1283fc2423b91ec97119",
  "tree": "04514e2c1bd3335ce6efa587dc3b3e424fa93dc8",
  "parents": [
    "9b437228054fb19ff27f62a175644bf431918b6f"
  ],
  "author": {
    "name": "philter",
    "email": "hello@rive.app",
    "time": "Fri Apr 04 17:00:29 2025 +0000"
  },
  "committer": {
    "name": "philter",
    "email": "hello@rive.app",
    "time": "Fri Apr 04 17:00:29 2025 +0000"
  },
  "message": "Component Lists (Dart)\n\n# Description\nThis is a first pass at the Dart implementation of Component Lists (dynamically generated lists). In this iteration, the Component List items can be built up using ViewModel list items together with Artboards.\n\nhttps://github.com/user-attachments/assets/3df40415-d1a5-43ef-a3e7-caf93516b064\n\n# Details\nArtboardComponentList is a new type of Drawable that builds up and renders MountedArtboards in a similar way to how NestedArtboards work. To use it with DataBinding, perform the following steps:\n1. Create a ViewModel to contain your list\n2. Create another ViewModel representing your List item. You can also add properties to this viewmodel that are bound to properties in an artboard to be used as a list item.\n3. In the ViewModel created in step 1, add a List property from the popout\n4. Select the List property and in the inspector, add List items. These items should be tied to instances of the ViewModel created in step 2 and the Artboard to be used as your list items.\n5. Bind the ViewModel from step 1 to the Artboard where you are adding the Component List (ie Main Artboard)\n6. On the main artboard, select either the Artboard itself or create a layout and select the layout. In the inspector, click **Add Artboard List**. The Component List will be added as a child of the selected Artboard/Layout.\n7. Select the Component List, then bind the ViewModel\u0027s list property to the Source field (either via pickwhip or right click)\n8. Play the state machine\n\nNotes:\n- (UPDATE: workarounds have been removed and it now works with design mode DB)There are a couple of workarounds to get this to work because the ViewModels don\u0027t get \"applied\" until the State machine starts playback (this will change soon with Design time DataBinding). Those are pointed out in the comments.\n- (UPDATE: crash has been resolved)There is also a temp workaround for a crash I was seeing. Need to investigate further.\n- Editor UX still needs work\n- CPP implementation to follow in a seperate PR\n\nDiffs\u003d\n55918df404 Component Lists (Dart) (#9278)\n\nCo-authored-by: Luigi Rosso \u003cluigi.rosso@gmail.com\u003e\nCo-authored-by: Philip Chung \u003cphilterdesign@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c30a7742f4eefe584f3528bed93aa90a900066e9",
      "old_mode": 33188,
      "old_path": ".rive_head",
      "new_id": "5739bfc369a916e5551746d1e30528aefa75325e",
      "new_mode": 33188,
      "new_path": ".rive_head"
    },
    {
      "type": "modify",
      "old_id": "390829a3c09f6c5f4d89cd97be4973caaf72a13c",
      "old_mode": 33188,
      "old_path": "src/data_bind/data_bind.cpp",
      "new_id": "0aeeaf682c6a376a783bde0136a655f091c8fe33",
      "new_mode": 33188,
      "new_path": "src/data_bind/data_bind.cpp"
    }
  ]
}
