Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a more generic viewer #6

Open
bnjbvr opened this issue Apr 8, 2018 · 1 comment
Open

Make a more generic viewer #6

bnjbvr opened this issue Apr 8, 2018 · 1 comment

Comments

@bnjbvr
Copy link

bnjbvr commented Apr 8, 2018

It seems the viewer currently needs a new file describing the view for each type of "EmailToken". How about doing a very similar viewer, that first goes through the entire list of entries for a given type, then identifies what the fields are, and accordingly creates columns for each field? (format would be inferred from the content, like "numbers only" => "number formatting", etc.)

@Phyks
Copy link
Owner

Phyks commented Apr 9, 2018

Indeed, it currently needs a definition of the way to render stuff. This lets us render different items in many different ways (tabular data vs calendar vs map etc).

Auto-render of unknown schemas looks not so easy to do in a reasonable way. In particular, it looks like a huge amount of work while there should not be many different schemas involved in a typical instance I guess (Reservation, Invoice, Events, …).

There might be some things from OpenDataSoft that we could borrow here, https://github.com/opendatasoft/ods-widgets for instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants