@yuneta/gobj-ui 7.27.24 → 7.27.26
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/README.md +10 -2
- package/dist/gobj-ui.cjs.js +34665 -34515
- package/dist/gobj-ui.es.js +34538 -34388
- package/package.json +4 -4
- package/src/c_g6_nodes_tree.js +36 -96
- package/src/c_yui_gobj_tree_js.js +95 -1
- package/src/gobj_tree_camera.wiring.test.js +50 -4
- package/src/gobj_tree_model.js +42 -7
- package/src/gobj_tree_model.test.js +34 -0
- package/src/yui_graph_minimap.js +128 -0
package/README.md
CHANGED
|
@@ -3292,7 +3292,7 @@ because opening a popover per node to learn it is not reading a tree:
|
|
|
3292
3292
|
| On the card | Says |
|
|
3293
3293
|
|---|---|
|
|
3294
3294
|
| Colour (border + left bar) | the ROLE: sky = the yuno, emerald = a service, amber = a pure child, pink = a volatil one, violet = a plain child |
|
|
3295
|
-
| Status pill | a SYMBOL and, where there is room, the word: `▶` playing, `‖` running but not playing (PAUSED, which is what the popover calls it in full), `■` stopped, `⊘` disabled. The symbol and not only a colour, because a dot has one shape and stopped is the state that has to be seen |
|
|
3295
|
+
| Status pill | a SYMBOL and, where there is room, the word: `▶` playing, `‖` running but not playing (PAUSED, which is what the popover calls it in full), `●` running in green for a gobj whose gclass has neither `mt_play` nor `mt_pause` (nothing to play, so not paused: the descriptor's `play_methods`, which a backend answers from the SDK after 7.27.1 and which reads as unknown, so paused, before it), `■` stopped, `⊘` disabled. The symbol and not only a colour, because a dot has one shape and stopped is the state that has to be seen |
|
|
3296
3296
|
| Badges | `service`, `pure child`, `volatil child`, `disabled`, `bottom` (it has a bottom gobj), `commands` (its gclass exposes commands) |
|
|
3297
3297
|
| Its own line | the FSM state |
|
|
3298
3298
|
| Dashed border, dimmed | disabled — that branch is out of the game |
|
|
@@ -3354,7 +3354,15 @@ and it declares the four output events in its FSM:
|
|
|
3354
3354
|
| in | `EV_GCLASS_DESCRIPTION` | `{gclass, description}` | — opens the gclass viewer on that description |
|
|
3355
3355
|
|
|
3356
3356
|
The host loads the **first** tree itself (it opened the view); after that the
|
|
3357
|
-
view asks only on Refresh.
|
|
3357
|
+
view asks only on Refresh. Ask `view-gobj-tree` for the fields the view reads,
|
|
3358
|
+
by name (`options=[...]`): its default leaves out `gclass` and `fullname`, and
|
|
3359
|
+
`play_methods` is what keeps a gobj with nothing to play from reading paused.
|
|
3360
|
+
|
|
3361
|
+
**A minimap** appears from `minimap_min_nodes` cards on (default `20`, `0`
|
|
3362
|
+
never), in either source. The tree opens at actual size rather than fitted, so
|
|
3363
|
+
a reader is past its edge sooner than in the treedb graph (`30`). Its frame and
|
|
3364
|
+
anchor are the treedb graph's, shared in `yui_graph_minimap.js`; its blocks
|
|
3365
|
+
wear their card's role colour. A local tree publishes none of these, so the
|
|
3358
3366
|
Frontend view and every existing host declare nothing new.
|
|
3359
3367
|
|
|
3360
3368
|
`open_gobj_tree_view()` (`yui_gobj_tree_view.js`) opens such a tree in a window
|