aboutsummaryrefslogtreecommitdiffstats
path: root/prototypes/live-rules/runtime.mjs
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-26 11:28:13 +0100
committereunhhu <[email protected]>2026-09-26 11:28:13 +0100
commitee0791397be3dc6d5b56611b505a312f1d8350a0 (patch)
tree6fd4400c27731d053b096c527eda683cc93eb0e2 /prototypes/live-rules/runtime.mjs
parentcd3fcb9873e23c2d07bd4e9d02d2111c96959440 (diff)
downloadpure-ee0791397be3dc6d5b56611b505a312f1d8350a0.tar.gz
pure-ee0791397be3dc6d5b56611b505a312f1d8350a0.zip
Filter a table's rows
A table view can now carry a filter: its list goes in the byte after the view's type (list + 1) and its code range is a block run as a column of the list, leaving one number; the table has a row for each item the block keeps, in the list's order. Columns read the item (ROW is the item's position, not the row's). The filter runs once per item after a change of the app's states, counted by a new number that never goes back (events, points, a failed save's undo, a module replacement), and its rows serve every cell until the next change. pure_app_row_item and pure_app_item_row turn a table's rows into items and back, so a host shows a focus (an index names an item) on the row it is in and points at the item a clicked row shows. pure_app_rows now takes a mutable app. The checks cover rows, cells, the mapping both ways as items leave and come back, six refusals, and 20,000 damaged filter modules.
Diffstat (limited to 'prototypes/live-rules/runtime.mjs')
0 files changed, 0 insertions, 0 deletions