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

Extensible viewers with lazy loading #1

Merged
merged 111 commits into from
Oct 4, 2021
Merged

Extensible viewers with lazy loading #1

merged 111 commits into from
Oct 4, 2021

Conversation

mk
Copy link
Member

@mk mk commented Sep 28, 2021

This adds the viewers to Clerk itself, instead of just using the nextjournal viewers. These viewers come with recursive lazy loading for Clojure collections and strings.

Compared the Nextjournal data viewers, which were inspired by the ones found in the browser devtools, these new viewers show more data of nested data structures without the need for expansion and should feel much more familiar to Clojurians.

The viewer system is open and allows users to override them on three levels:

  1. root
  2. per-namespace
  3. per-form

CleanShot 2021-09-28 at 17 32 18@2x

mk and others added 27 commits September 22, 2021 21:25
Still need to look into map rendering
It would use the vector viewer otherwise.
Instead of using metadata to convey blob-id.
@mk mk merged commit e21f4e0 into main Oct 4, 2021
@mk mk deleted the viewer branch October 4, 2021 13:12
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

Successfully merging this pull request may close these issues.

3 participants