@things-factory/figure-ui 10.1.67 → 10.1.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/figure-ui",
3
- "version": "10.1.67",
3
+ "version": "10.1.68",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "@things-factory:registry": "https://registry.npmjs.org"
@@ -27,7 +27,7 @@
27
27
  "clean": "npm run clean:server && npm run clean:client"
28
28
  },
29
29
  "dependencies": {
30
- "@hatiolab/figure-model": "^0.1.78",
30
+ "@hatiolab/figure-model": "^0.1.80",
31
31
  "@hatiolab/things-scene": "^10.1.52",
32
32
  "@material/web": "^2.0.0",
33
33
  "@operato/data-grist": "^10.0.0",
@@ -40,8 +40,8 @@
40
40
  "@operato/styles": "^10.0.0",
41
41
  "@operato/utils": "^10.0.0",
42
42
  "@things-factory/ai-assistant": "^10.1.58",
43
- "@things-factory/figure-service": "^10.1.67",
43
+ "@things-factory/figure-service": "^10.1.68",
44
44
  "three": "^0.185.1"
45
45
  },
46
- "gitHead": "cd3f81fbf667f513dfcfb90906cb97ba935373f5"
46
+ "gitHead": "0afdbab94f3cc477d0db1807d810e9d01aeb67a1"
47
47
  }
@@ -335,14 +335,21 @@ describe('the fastening form belongs to the part it is for', () => {
335
335
  }, label)
336
336
 
337
337
  test('a choice made for one part is not carried to the next part picked (셔터 커튼, 2026-09-25)', async () => {
338
+ /* The placing across the target face is asked once there is a target: the form starts with none. */
338
339
  await click(await read(() => probe.row('forearm')))
340
+ const target = await alignSelect('figure.label.target-part')
341
+ assert.ok(await target.evaluate(s => !!s), 'the form asks what the forearm is fastened to')
342
+ await target.select('elbow')
339
343
  const select = await alignSelect('figure.label.align-x')
340
- assert.ok(await select.evaluate(s => !!s), 'the form offers left-right placing for the forearm')
344
+ assert.ok(await select.evaluate(s => !!s), 'with a target, the form offers left-right placing for the forearm')
341
345
  await select.select('max')
342
346
  assert.equal(await select.evaluate(s => s.value), 'max', 'chosen for the forearm')
347
+
343
348
  await click(await read(() => probe.row('elbow')))
349
+ const nextTarget = await alignSelect('figure.label.target-part')
350
+ assert.equal(await nextTarget.evaluate(s => s.value), '', 'the elbow starts with no target')
344
351
  const next = await alignSelect('figure.label.align-x')
345
- assert.equal(await next.evaluate(s => s.value), 'centre', 'the elbow starts from the default')
352
+ assert.ok(await next.evaluate(s => !s || s.value === 'centre'), 'nor with the forearm\'s edge placing')
346
353
  })
347
354
  })
348
355