Skip to content

Schema tool window #871

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

Merged
merged 13 commits into from
Jun 23, 2025
Merged

Conversation

alexjpwalker
Copy link
Member

@alexjpwalker alexjpwalker commented Jun 18, 2025

Release notes: product changes

The Query page now comes with a Schema tool window: a listing of all your schema types and their capabilities.

Motivation

While writing queries, you want a reference guide side-by-side with your query editor that shows you what queries you can write.

Now, we've got a reference panel that shows your current TypeQL schema and the capabilities of all its types. And one day, it could come with a TypeQL language guide.

Implementation

SchemaState now maintains a network-shaped Schema, an object consisting of entities, relations, and attributes, which may have supertype, subtypes, playedRoles, relatedRoles, and ownedAttributes.

The query tool state maps this Schema into a tree structure.

The query page renders this tree structure.

Copy link

netlify bot commented Jun 18, 2025

Deploy Preview for typedb-studio ready!

Name Link
🔨 Latest commit ecfa016
🔍 Latest deploy log https://app.netlify.com/projects/typedb-studio/deploys/68592e0d9752c50008198581
😎 Deploy Preview https://deploy-preview-871--typedb-studio.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@alexjpwalker alexjpwalker merged commit 5e40831 into typedb:development Jun 23, 2025
3 of 4 checks passed
@alexjpwalker alexjpwalker deleted the schema-tree branch June 23, 2025 10:36
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.

1 participant