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

Good user interface to explore available libraries #58

Open
teodorlu opened this issue Jul 31, 2022 · 4 comments
Open

Good user interface to explore available libraries #58

teodorlu opened this issue Jul 31, 2022 · 4 comments

Comments

@teodorlu
Copy link
Contributor

teodorlu commented Jul 31, 2022

We currently generate libs.md from data (#57). The motivation for generating libs.md from data is to enable better user interfaces for exploring that data. This issue collects ideas & experiments.

To get started with the data in a REPL:

(require '[clojure.edn :as edn])

(-> "https://scicloj.github.io/docs/resources/model.edn"
    slurp
    edn/read-string)

Feel free to post more links + screenshots here! Help & ideas very much welcome.

@teodorlu
Copy link
Contributor Author

Plain HTML table with scittle: https://play.teod.eu/scicloj-libraries/ (source)

image

@daslu
Copy link
Member

daslu commented Aug 4, 2022

@teodorlu this is fantastic.

Would you find it useful to wrap this with DataTables UI?
I got that working with Scittle in the Clay project.

Would you find it helpful if I write a draft demonstrating that with your table?

@teodorlu
Copy link
Contributor Author

teodorlu commented Aug 4, 2022

Would you find it useful to wrap this with DataTables UI?

Yup!

I tried a bit, but got stuck on the combination of reagent generating the DOM and DataTables also wanting to control the dom. Plain javascript might be easier than Scittle / Clojurescript.

Perhaps we can use react-data-table-component.

@daslu
Copy link
Member

daslu commented Aug 4, 2022

Cool, I'll try in the coming days following the experience with Scittle in Clay.

react-data-table-component

Interesting! Didn't know about that.

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