workflowproducts / envelope

Publish web apps based on your PostgreSQL database fast!
https://workflowproducts.com/envelope.html
Apache License 2.0
53 stars 2 forks source link

GS-TABLE Issues #163

Open crosstocci opened 1 year ago

crosstocci commented 1 year ago

Need to animate scroll, (need to give an accurate impression of distance moved) (but, always end at a record). This also needs to take into account how many records are showing, as certain gs-combos are skipping partial records in each scroll event.

Currently the GS-TABLE allows multiple updates in the air at the same time for the same cell, causing update conflicts with self (slow network).

Refreshing a gs-table that is loading data should interrupt the current refresh.

crosstocci commented 1 year ago

Multiple updates: As mentioned in #140 I have added an update queue. Multiple updates to the same cell will pass along the lock column to prevent errors.

Double refreshing: As mentioned in #140 I have added a warning to help the developer prevent this problem. I have also made it so that refreshing will cancel if the select has not begun returning data.

This leaves scrolling, which I'm assigning to @michaeltocci.