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

Schema tree view #3

Closed
6 tasks done
becomingbabyman opened this issue Mar 12, 2021 · 0 comments · Fixed by #1
Closed
6 tasks done

Schema tree view #3

becomingbabyman opened this issue Mar 12, 2021 · 0 comments · Fixed by #1
Assignees
Labels
enhancement New feature or request

Comments

@becomingbabyman
Copy link
Member

becomingbabyman commented Mar 12, 2021

  • if the db is schema on read (datascript) scan all the datoms and build a set of all Attributes
    • merge that set with what little schema there is to get extra info about refs and constriants
    • if a schema attr is inferred render an emoji next to that attr. Pick an emoji that represents "more info" or "inference".
      • add a title to that emoji span saying something like "This database attribute is inferred based on data in the DB. It is not hardcoded or enforced in any way."
  • render the schema to look like this

console-schema

  • sort each level alphabetically
@becomingbabyman becomingbabyman added the enhancement New feature or request label Mar 12, 2021
@becomingbabyman becomingbabyman linked a pull request Mar 12, 2021 that will close this issue
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants