Skip to content

Syncronize two-way updates between tops-storage and table.data #57

Description

@mharty3

Addresses #47 and #46.

The picks data in the table should be the same as the data in tops-storage and changes to one should update the other.

Currently, there is only one-way behavior: when picks are updated by clicking on the interactive plot, the changes are represented in the table. This is accomplished by the update_data_table() callback.

However, changes to the table (pick name, depth changes, pick deletions and additions) do not update tops-storage.

I tried solving this issue by adding table.data as an input to the update_pick_storage callback but this creates a "circular callback error" where changes to tops-storage trigger changes to table.data which triggers changes to tops-storage ... etc. I can't currently figure out how to get around that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CRITICALCRITICAL FIXbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions