Skip to content

Support cross-client replace() and clear() on Table - #3274

Merged
texodus merged 3 commits into
masterfrom
loosen-layout-validation
Nov 5, 2026
Merged

texodus merged 3 commits into
masterfrom
loosen-layout-validation

Conversation

@texodus

@texodus texodus commented Nov 5, 2026

Copy link
Copy Markdown
Member

This PR adds support for reset notifications to the Client's public event API, which closes a configuration gap - specifically, a Table instantiated from a View in a different Client (e.g., a local Table made from a virtual python View), without an index column, had no mechanism to receive reset notifications that precede a replace() or clear().

Breaking

Python "row"-mode on_update callbacks now receive (port_id, delta, reset), so all Python callbacks will need to be updated.

def cb1(port_id, delta, reset):
    pass
   
view.on_update(cb1, mode="row")   

@texodus texodus added enhancement Feature requests or improvements breaking labels Nov 5, 2026
@texodus
texodus force-pushed the loosen-layout-validation branch from 6b936ed to afed7b6 Compare November 5, 2026 08:56
Signed-off-by: Andrew Stein <steinlink@gmail.com>
Signed-off-by: Andrew Stein <steinlink@gmail.com>
Signed-off-by: Andrew Stein <steinlink@gmail.com>
@texodus
texodus force-pushed the loosen-layout-validation branch from 43bfbba to d99be52 Compare November 5, 2026 11:08
@texodus
texodus merged commit fea59cb into master Nov 5, 2026
2 checks passed
@texodus
texodus deleted the loosen-layout-validation branch November 5, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking enhancement Feature requests or improvements

Development

Successfully merging this pull request may close these issues.

1 participant