Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Create a single-page UI in plain JS #39

Closed
alexanderdean opened this issue May 22, 2015 · 8 comments
Closed

Create a single-page UI in plain JS #39

alexanderdean opened this issue May 22, 2015 · 8 comments
Assignees
Milestone

Comments

@alexanderdean
Copy link
Contributor

Basically swapping the panes on http://jsonschemalint.com/draft4/ :-)

  1. Pane on the left to paste in the JSON instance
  2. Pane on the right to paste in the JSON Schema
@alexanderdean
Copy link
Contributor Author

Thought experiment: could we run this UI entirely browser-side by embedding the schema-guru logic via scala-js?

@chuwy
Copy link
Contributor

chuwy commented May 27, 2015

May be we could move it from far-out stuff to some near future? Because basic web UI will drastically increase it accessiblity and allow anyone to come up with new ideas and actually test it.

@chuwy
Copy link
Contributor

chuwy commented May 27, 2015

And furthermore, I think for main purpose of this application web UI is more appropriate than CLI since it allows user to check what he wants much more deliberately and precisely.

@alexanderdean
Copy link
Contributor Author

I think the UI is nice for quick experimentation, although the real value I think of schema-guru is when you can derive&merge from 100s of records. Still, agree, let's move it forwards...

@chuwy
Copy link
Contributor

chuwy commented May 27, 2015

What about upload an archive? Or even drag'n'drop a bunch of files?

@alexanderdean
Copy link
Contributor Author

Yes that could work...

@alexanderdean
Copy link
Contributor Author

I like the idea that you could keep dragging JSONs into the left pane, one by one, and the right pane (the schema) would keep refining through merging...

@chuwy
Copy link
Contributor

chuwy commented May 27, 2015

Actually it could be a very sophisticated app. User uploads a bunch of files, look at the schema and just presses buttons to adjust schema.

@alexanderdean alexanderdean changed the title Create a simple demo UI Create a simple demo UI in plain JS Jun 1, 2015
@alexanderdean alexanderdean changed the title Create a simple demo UI in plain JS Create a single-page UI in plain JS Jun 1, 2015
@chuwy chuwy closed this as completed in 08687d8 Jul 3, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants