Simple Table: update the interface to avoid re-parsing
TCL735 opened this issue · 0 comments
Simple Table's interface should just take the table
from the result
similar to other visualizations such as the line graph. This allows Simple Table to avoid re-parsing the data in cases where the application already has the result
. Let's make table
the primary data source for Simple Table. It will be an optional property to avoid breaking third party apps who use Giraffe without the ui
. But ui
will consume Simple Table through this new property.
The reason is because the two implementations of Simple Table have drifted apart before we could finalize the design of Simple Table. The original work to port Simple Table to Giraffe was too rigid in implementing the interface. Let's correct this by allowing the interface to be more flexible.