-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
demo: monaco type links for hover #3387
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 8719cd9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 11 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
if (options.typeLinks && options.useMarkdown) { | ||
text( | ||
into, | ||
`\n\`\`\`](command:DYNAMIC_1?${encodeURIComponent( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jonathanawesome where the magic happens 😆
✅ Deploy Preview for graphiql-test ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3387 +/- ##
==========================================
+ Coverage 55.76% 55.77% +0.01%
==========================================
Files 110 110
Lines 5242 5266 +24
Branches 1425 1437 +12
==========================================
+ Hits 2923 2937 +14
- Misses 1896 1902 +6
- Partials 423 427 +4
|
The latest changes of this PR are not available as canary, since there are no linked |
this is an example of how to pass type information when clicking a type in a hover
currently we cannot figure out how to get it to work without causing a regression in the hover, where the code block styling is reverted to a simple non-tokenized code block, in order to get the
<a href="command
to workthe only mystery is how to get this working and preserve syntax highlighting for hover types!
TODO:
monaco-graphql
so we can pass the command ID to thegraphql-language-service
dynamically