ccs-amsterdam / amcat4client

JS Client for AmCAT4
https://amcat4client.vercel.app
3 stars 2 forks source link

Make output / results display self contained #12

Closed vanatteveldt closed 2 years ago

vanatteveldt commented 5 years ago

Currently there are some interactions between the queryscript business logic and the display of results. I think it would be good if results are 'self contained' in that they contain the metadata needed to display them and interact with them, including table structure, clicking to document details (#5), and pagination.

So every result should be structured to have 'metadata' and 'results' keys, where the metadata contains all needed information on columns, pagination, possible actions, etc.

vanatteveldt commented 2 years ago

I think this is actually done (?)