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

Todo grid performance #3

Open
awb99 opened this issue Sep 17, 2024 · 11 comments
Open

Todo grid performance #3

awb99 opened this issue Sep 17, 2024 · 11 comments

Comments

@awb99
Copy link
Collaborator

awb99 commented Sep 17, 2024

:fetch-fn (fn [_ x] x)
:render-fn (fn [opts data)
Data

@awb99
Copy link
Collaborator Author

awb99 commented Sep 17, 2024

Potemkin.

Reval.plot
Add lots of ui libs (via ext manager)
And snippets.

@awb99
Copy link
Collaborator Author

awb99 commented Sep 17, 2024

@awb99
Copy link
Collaborator Author

awb99 commented Sep 17, 2024

:transform-fn

@awb99
Copy link
Collaborator Author

awb99 commented Sep 17, 2024

(def shapes-viewer
{:pred #(instance? Shape %)
:transform-fn (clerk/update-val #(clerk/html (to-hiccup %)))}

@awb99
Copy link
Collaborator Author

awb99 commented Sep 17, 2024

clerk/add-viewers [(assoc v/image-viewer :render-fn '(fn [blob] [:img {:width "30px" :height "30px" :src (nextjournal.clerk.viewer/url-for blob)

@awb99
Copy link
Collaborator Author

awb99 commented Sep 17, 2024

@awb99
Copy link
Collaborator Author

awb99 commented Sep 17, 2024

@awb99
Copy link
Collaborator Author

awb99 commented Sep 17, 2024

@awb99
Copy link
Collaborator Author

awb99 commented Sep 17, 2024

@awb99
Copy link
Collaborator Author

awb99 commented Sep 17, 2024

@awb99
Copy link
Collaborator Author

awb99 commented Sep 18, 2024

Clj service.

(Plot/rtable ds cols)

(let [id (store-ds ds)]
{:render-fn 'render.rtable/rtable
:load-fn 'clojure-quant.tml/load-ds}
:save-fn clojure-quant.tml/ds->nb-file}
{:id id
:path "/api/tmlds/"})

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

1 participant