Skip to content

docs: more improvements for omnigraph examples#2260

Open
sevenzing wants to merge 5 commits into
mainfrom
ll/docs-examples-improve-04
Open

docs: more improvements for omnigraph examples#2260
sevenzing wants to merge 5 commits into
mainfrom
ll/docs-examples-improve-04

Conversation

@sevenzing
Copy link
Copy Markdown
Member

@sevenzing sevenzing commented Jun 5, 2026

Summary

  • Update code examples, adding resolve.profile objects
  • update input variables for mainnet
  • update namegraph query to be consistent with other namegraph query in doc
  • update domain-resolver query to fit into 5 seconds per request
  • add accelerate-resolve example query only for "accelerate" page
  • Refactor examples logic, define which examples are sidebar visible and which examples are only inlined in doc
  • Each static example now can choose which namespace to show. By default namespace is mainnet and alpha instance, some ENSv2 examples are now connected to sepolia-v2
  • Update cURL example, now dont include EOF if it's possible (always possible for current examples)

Why

Make docs even better


Testing

  • How this was tested.
  • If you didn't test it, say why.

Notes for Reviewer (Optional)

  • Anything non-obvious or worth a heads-up.

Pre-Review Checklist (Blocking)

  • This PR does not introduce significant changes and is low-risk to review quickly.
  • Relevant changesets are included (or are not required)

@sevenzing sevenzing requested a review from a team as a code owner June 5, 2026 11:06
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 5, 2026

⚠️ No Changeset found

Latest commit: 37952a8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Jun 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
admin.ensnode.io Ready Ready Preview, Comment Jun 5, 2026 2:16pm
enskit-react-example.ensnode.io Ready Ready Preview, Comment Jun 5, 2026 2:16pm
ensnode.io Ready Ready Preview, Comment Jun 5, 2026 2:16pm
ensrainbow.io Ready Ready Preview, Comment Jun 5, 2026 2:16pm

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 5, 2026

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 170ce931-be6d-4090-ba0c-a1118847867f

📥 Commits

Reviewing files that changed from the base of the PR and between 77f4555 and 37952a8.

📒 Files selected for processing (9)
  • docs/ensnode.io/src/components/molecules/omnigraph-static-example/StaticExampleOutputSection.astro
  • docs/ensnode.io/src/components/molecules/omnigraph-static-example/StaticExamplePlaygroundHint.astro
  • docs/ensnode.io/src/components/organisms/OmnigraphStaticExampleSet.astro
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/index.mdx
  • docs/ensnode.io/src/data/omnigraph-examples/config.ts
  • docs/ensnode.io/src/data/omnigraph-examples/examples.json
  • docs/ensnode.io/src/data/omnigraph-examples/responses.json
  • docs/ensnode.io/src/data/omnigraph-examples/snapshot.json
  • packages/ensnode-sdk/src/omnigraph-api/example-queries.ts

📝 Walkthrough

Walkthrough

Converts Omnigraph examples to a config-driven, namespace-aware system; extends the GraphQL schema for protocol acceleration and profile resolution; updates SDK example queries and vendored snapshots; migrates Astro components from namespace IDs to human-readable labels and doc URLs; refreshes scripts, example generation, and docs pages.

Changes

Omnigraph Examples & Documentation Modernization

Layer / File(s) Summary
GraphQL schema contracts for acceleration and resolution
docs/ensnode.io/src/data/omnigraph-examples/schema.graphql
Adds acceleration/resolve containers, profile and resolved-record types, new scalars and ChainName enum, and related field/documentation updates.
SDK example queries and SKILL sync
packages/ensnode-sdk/src/omnigraph-api/example-queries.ts, packages/ensskills/skills/omnigraph/SKILL.md
Updates/rewrites many example queries and defaults (e.g., hello-world, domain-by-name, domain-profile, accelerate-resolve, account primary name), adds interpreted-name constants.
Configuration System & Example Metadata
docs/ensnode.io/src/data/omnigraph-examples/config.ts, docs/ensnode.io/src/data/omnigraph-examples/config.test.ts
Introduces OmnigraphExampleConfig, OMNIGRAPH_EXAMPLES_CONFIG, id→config lookup, href helper, and OMNIGRAPH_EXAMPLES_SIDEBAR_ITEMS; tests validate namespaces, uniqueness, and sidebar structure.
Example Data & Assembly
docs/ensnode.io/src/data/omnigraph-examples/examples.json, docs/ensnode.io/src/data/omnigraph-examples/examples.ts, docs/ensnode.io/src/data/omnigraph-examples/snapshot.json
Rewires examples to be driven by config, updates examples.json queries, validates snapshots/responses, exports visibleOmnigraphExamples, and removes endpoint from snapshot metadata.
Per-Namespace Documentation Configuration
docs/ensnode.io/src/lib/examples/omnigraph/constants.ts, docs/ensnode.io/src/lib/examples/omnigraph/build-integration-snippets.ts, docs/ensnode.io/src/lib/examples/stackblitz/static/buildProject.ts
Replaces single constants with typed DOCS_OMNIGRAPH_NAMESPACE_CONFIG, getDocsOmnigraphNamespaceConfig, and DEFAULT_ENSNODE_URL; tooling uses default URL fallbacks.
Scripts: snapshot & response fetching
docs/ensnode.io/scripts/snapshot-omnigraph-version.mts, docs/ensnode.io/scripts/fetch-omnigraph-example-responses.mts
Snapshot script builds examples from SDK map + config and fails fast on missing ids; fetch script sources ids from config, computes per-namespace endpoints, applies request timeout and warning thresholds, and logs durations.
Component Props & Data Structure Updates
docs/ensnode.io/src/lib/examples/omnigraph/example-query.ts, docs/ensnode.io/src/lib/examples/omnigraph/resolve-static-example.ts, docs/ensnode.io/src/components/molecules/omnigraph-static-example/*, docs/ensnode.io/src/components/organisms/OmnigraphStaticExampleSet.astro
Replaces hostedInstanceNamespace with hostedInstanceLabel/responseSourceLabel and responseSourceDocUrl; updates schema (name→title, namespace enum, optional href); adds staticExampleHostedInstanceLinkClass; propagates props through components.
Curl Example Generation Safety
docs/ensnode.io/src/lib/examples/omnigraph/docs-utils.ts
New helpers build GraphQL request body safely and choose single-quoted vs heredoc curl payloads accordingly.
Docs pages & sidebar organization
docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/*, docs/ensnode.io/config/integrations/starlight/sidebar-topics/integrate.ts
Adds new MDX example pages, reorders many sidebar items, switches example index to visibleOmnigraphExamples, embeds accelerate-resolve in protocol-acceleration, and wires OMNIGRAPH_EXAMPLES_SIDEBAR_ITEMS into the integrate sidebar.
Integration snippet tests & generation
docs/ensnode.io/src/lib/examples/omnigraph/build-integration-snippets.test.ts, docs/ensnode.io/src/lib/examples/omnigraph/build-integration-snippets.ts
Refocuses typecheck tests with explicit timeout; generated snippet templates use DEFAULT_ENSNODE_URL fallback.
Misc: constants, types, snapshot updates
docs/ensnode.io/src/data/omnigraph-examples/types.ts, docs/ensnode.io/src/data/omnigraph-examples/meta.ts
Updates top-of-file comment for namespace resolution; removes legacy OMNIGRAPH_EXAMPLES_META in favor of config-driven data.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Possibly related PRs

  • namehash/ensnode#2182: Overlaps with static example component framing and playground/snippet infrastructure updates.
  • namehash/ensnode#2103: Related sidebar/integrate topic edits touching the same Starlight configuration areas.
  • namehash/ensnode#2177: Prior changes to fetch-omnigraph-example-responses.mts; this PR continues refactoring that script toward namespace-driven endpoints.

Suggested labels

docs

Poem

🐰 Config seeds sprout across the site,
Labels replace IDs in gentle light,
Acceleration wakes the query stream,
Examples sing in namespace dream,
A tiny hop — docs aligned and bright.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 47.62% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The PR title 'docs: more improvements for omnigraph examples' is vague and uses non-descriptive language that doesn't clearly convey the main changes. Consider a more specific title such as 'docs: refactor omnigraph examples with namespace-aware configuration and enhanced query examples' to better communicate the scope.
✅ Passed checks (3 passed)
Check name Status Explanation
Description check ✅ Passed The PR description covers key changes but has incomplete sections: testing details are missing (placeholder text remains), and the pre-review checklist items are unchecked without explanation.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ll/docs-examples-improve-04

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Jun 5, 2026

Greptile Summary

This PR overhauls the Omnigraph documentation examples: example metadata is consolidated into a single config.ts (replacing meta.ts), each example now carries its own target namespace (mainnet or sepolia-v2), the curl snippet builder avoids heredocs when safe, and several new examples (domain-profile, account-primary-name, accelerate-resolve, etc.) are added with updated queries and responses.

  • config.ts introduces OmnigraphExampleConfig with namespace and hostSeparatePage flags; examples.ts changes from silently-skip to hard-fail when a config entry is absent from the snapshot, and visibleOmnigraphExamples filters to only page-hosted entries.
  • The curl builder now prefers a single-quoted -d payload and falls back to a heredoc only when the body contains a single quote; however, GraphQL line comments (#) in the hello-world query are not stripped before whitespace-collapse, so the generated curl command for that example is non-functional.
  • Sidebar items are now generated dynamically from OMNIGRAPH_EXAMPLES_SIDEBAR_ITEMS (derived from config order), replacing 53 lines of hardcoded Starlight config.

Confidence Score: 4/5

Safe to merge after fixing the curl comment-stripping issue; all other changes are additive documentation improvements.

The curl example builder for hello-world collapses newlines without stripping # line comments first, so the compacted query has a # that comments out the rest of the single-line string. Any user who copies the curl tab on the main Omnigraph page and runs it will get a GraphQL syntax error. The fix is a one-line regex change before the whitespace collapse.

docs/ensnode.io/src/lib/examples/omnigraph/docs-utils.ts — the buildOmnigraphCurlRequestBody helper needs to strip #[^ ]* before calling replace(/\s+/g, " ").

Important Files Changed

Filename Overview
docs/ensnode.io/src/lib/examples/omnigraph/docs-utils.ts Refactors curl example builder to prefer single-quoted body over heredoc; introduces a bug where inline GraphQL # comments in the compacted query are not stripped, breaking the generated curl command for the hello-world example.
docs/ensnode.io/src/data/omnigraph-examples/config.ts New file centralising example metadata (title, description, namespace, sidebar visibility) with helpers for sidebar items and page hrefs; replaces meta.ts cleanly.
docs/ensnode.io/src/data/omnigraph-examples/examples.ts Changed from silent-skip to hard-fail when a config entry is missing from snapshot or responses; exports omnigraphExamples and visibleOmnigraphExamples keyed on href presence.
packages/ensnode-sdk/src/omnigraph-api/example-queries.ts Updates query bodies and variables: adds domain-profile, account-primary-name, accelerate-resolve, simplifies domain-resolver, and renames domain-by-name-type-condition out to a separate entry.
docs/ensnode.io/src/lib/examples/omnigraph/constants.ts Replaces single DOCS_OMNIGRAPH_NAMESPACE + ENSNODE_URL with a per-namespace config map and a getDocsOmnigraphNamespaceConfig() helper.
docs/ensnode.io/scripts/snapshot-omnigraph-version.mts Snapshot script now iterates OMNIGRAPH_EXAMPLES_CONFIG (not the full SDK query list) and resolves per-example namespace; removes endpoint from snapshot.json.
docs/ensnode.io/config/integrations/starlight/sidebar-topics/integrate.ts Sidebar items are now generated dynamically from OMNIGRAPH_EXAMPLES_SIDEBAR_ITEMS instead of a hardcoded array, removing 53 lines of repetitive config.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[OMNIGRAPH_EXAMPLES_CONFIG\nconfig.ts] -->|"id + namespace + hostSeparatePage"| B[examples.ts]
    B -->|"lookup id"| C[examples.json\nsnapshot]
    B -->|"lookup id"| D[responses.json]
    B -->|"getDocsOmnigraphNamespaceConfig(namespace)"| E[constants.ts\nNamespace Config]
    E -->|"ensnodeUrl"| B
    B -->|"omnigraphExamples[]"| F[visibleOmnigraphExamples\nhref !== undefined]
    B -->|"getOmnigraphExampleById(id)"| G[resolveOmnigraphStaticExample]
    G -->|"buildOmnigraphCurlExample"| H[docs-utils.ts\nCurl Builder]
    H -->|"isSafeForSingleQuotes?"| I{Single-quote safe?}
    I -->|"yes"| J["-d '...' format"]
    I -->|"no (has apostrophe)"| K["heredoc format"]
    G -->|"OmnigraphStaticExampleData"| L[OmnigraphStaticExampleSet.astro]
    A -->|"OMNIGRAPH_EXAMPLES_SIDEBAR_ITEMS"| M[integrate.ts\nSidebar Config]
    F -->|"cards"| N[examples/index.mdx]
Loading

Reviews (4): Last reviewed commit: "apply fixes for lightwalker's review" | Re-trigger Greptile

Comment thread docs/ensnode.io/src/data/omnigraph-examples/config.ts
Comment thread docs/ensnode.io/src/data/omnigraph-examples/config.ts
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
packages/ensnode-sdk/src/omnigraph-api/example-queries.ts (1)

650-669: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Regenerate SKILL examples to avoid source drift.

GRAPHQL_API_EXAMPLE_QUERIES now updates namegraph and adds accelerate-resolve, but packages/ensskills/skills/omnigraph/SKILL.md still reflects the older namegraph example and does not include accelerate-resolve. Please re-sync the AUTOGEN examples block from this source file.

Also applies to: 704-723

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/ensnode-sdk/src/omnigraph-api/example-queries.ts` around lines 650 -
669, The SKILL.md examples block is out of sync with the canonical
GRAPHQL_API_EXAMPLE_QUERIES in
packages/ensnode-sdk/src/omnigraph-api/example-queries.ts: update the AUTOGEN
examples in packages/ensskills/skills/omnigraph/SKILL.md to match the current
entries (replace the old "namegraph" example and add the new
"accelerate-resolve" example) by copying the examples (including queries, ids,
and variables) from GRAPHQL_API_EXAMPLE_QUERIES (look for the namegraph entry
around id: "namegraph" and the new accelerate-resolve entry) so the
documentation and source remain aligned.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/ensnode.io/scripts/snapshot-omnigraph-version.mts`:
- Around line 49-56: The code currently silently skips missing SDK examples in
the OMNIGRAPH_EXAMPLES_CONFIG mapping; change the behavior in the
OMNIGRAPH_EXAMPLES_CONFIG.flatMap callback (where sdkExampleById.get(config.id)
is used to build examples) to throw an error instead of console.warn/return [],
e.g. throw a descriptive Error including the missing config.id so the build
fails fast and preserves the config↔snapshot contract; ensure the thrown message
clearly references the config id and the surrounding context (example id missing
from sdkExampleById) so the failure is actionable.

In `@docs/ensnode.io/src/lib/examples/omnigraph/example-query.ts`:
- Line 13: The schema uses namespace: z.custom<DocsOmnigraphExampleNamespace>()
which provides no runtime checks; change it to a runtime-validated schema such
as namespace: z.enum([...]) or namespace: z.union([z.literal('ns1'),
z.literal('ns2')]) or, if dynamic, namespace:
z.custom<DocsOmnigraphExampleNamespace>((v) => /* predicate returning boolean
*/) so that .parse(...) will fail for invalid namespaces; update the schema
where the namespace field is defined (replace the z.custom call referencing
DocsOmnigraphExampleNamespace).

---

Outside diff comments:
In `@packages/ensnode-sdk/src/omnigraph-api/example-queries.ts`:
- Around line 650-669: The SKILL.md examples block is out of sync with the
canonical GRAPHQL_API_EXAMPLE_QUERIES in
packages/ensnode-sdk/src/omnigraph-api/example-queries.ts: update the AUTOGEN
examples in packages/ensskills/skills/omnigraph/SKILL.md to match the current
entries (replace the old "namegraph" example and add the new
"accelerate-resolve" example) by copying the examples (including queries, ids,
and variables) from GRAPHQL_API_EXAMPLE_QUERIES (look for the namegraph entry
around id: "namegraph" and the new accelerate-resolve entry) so the
documentation and source remain aligned.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 53687c37-27d8-4675-b8e4-08a841299416

📥 Commits

Reviewing files that changed from the base of the PR and between 6542aa4 and 076c7b7.

📒 Files selected for processing (49)
  • docs/ensnode.io/config/integrations/starlight/sidebar-topics/integrate.ts
  • docs/ensnode.io/scripts/fetch-omnigraph-example-responses.mts
  • docs/ensnode.io/scripts/snapshot-omnigraph-version.mts
  • docs/ensnode.io/src/components/molecules/omnigraph-static-example/CurlStaticCodeExample.astro
  • docs/ensnode.io/src/components/molecules/omnigraph-static-example/GraphqlStaticQueryExample.astro
  • docs/ensnode.io/src/components/molecules/omnigraph-static-example/SdkStaticCodeExample.astro
  • docs/ensnode.io/src/components/molecules/omnigraph-static-example/StaticExampleActionBar.astro
  • docs/ensnode.io/src/components/molecules/omnigraph-static-example/StaticExampleOutputSection.astro
  • docs/ensnode.io/src/components/molecules/omnigraph-static-example/StaticExamplePlaygroundHint.astro
  • docs/ensnode.io/src/components/molecules/omnigraph-static-example/constants.ts
  • docs/ensnode.io/src/components/organisms/OmnigraphStaticExampleSet.astro
  • docs/ensnode.io/src/content/docs/docs/integrate/index.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/account-events.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/account-migrated-names.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/account-primary-name.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/account-resolver-permissions.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/domain-events.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/domain-profile.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/domain-records.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/domain-resolver.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/domain-subdomains.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/domains-by-address.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/eth-by-version.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/find-domains.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/index.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/namegraph.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/permissions-by-contract.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/permissions-by-user.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/registry-domains.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/protocol-acceleration.mdx
  • docs/ensnode.io/src/data/omnigraph-examples/config.test.ts
  • docs/ensnode.io/src/data/omnigraph-examples/config.ts
  • docs/ensnode.io/src/data/omnigraph-examples/examples.json
  • docs/ensnode.io/src/data/omnigraph-examples/examples.ts
  • docs/ensnode.io/src/data/omnigraph-examples/meta.ts
  • docs/ensnode.io/src/data/omnigraph-examples/responses.json
  • docs/ensnode.io/src/data/omnigraph-examples/schema.graphql
  • docs/ensnode.io/src/data/omnigraph-examples/snapshot.json
  • docs/ensnode.io/src/data/omnigraph-examples/types.ts
  • docs/ensnode.io/src/lib/examples/omnigraph/build-integration-snippets.test.ts
  • docs/ensnode.io/src/lib/examples/omnigraph/build-integration-snippets.ts
  • docs/ensnode.io/src/lib/examples/omnigraph/constants.ts
  • docs/ensnode.io/src/lib/examples/omnigraph/docs-utils.ts
  • docs/ensnode.io/src/lib/examples/omnigraph/example-query.ts
  • docs/ensnode.io/src/lib/examples/omnigraph/resolve-static-example.ts
  • docs/ensnode.io/src/lib/examples/stackblitz/static/buildProject.ts
  • docs/ensnode.io/src/lib/examples/stackblitz/static/resolveProject.ts
  • packages/ensnode-sdk/src/omnigraph-api/example-queries.ts
  • packages/ensskills/skills/omnigraph/SKILL.md
💤 Files with no reviewable changes (1)
  • docs/ensnode.io/src/data/omnigraph-examples/meta.ts

Comment thread docs/ensnode.io/scripts/snapshot-omnigraph-version.mts
Comment thread docs/ensnode.io/src/lib/examples/omnigraph/example-query.ts Outdated
@sevenzing
Copy link
Copy Markdown
Member Author

@greptile review

@@ -1,3 +1,5 @@
import { OMNIGRAPH_EXAMPLES_SIDEBAR_ITEMS } from "../../../../src/data/omnigraph-examples/config.ts";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this work?

Suggested change
import { OMNIGRAPH_EXAMPLES_SIDEBAR_ITEMS } from "../../../../src/data/omnigraph-examples/config.ts";
import { OMNIGRAPH_EXAMPLES_SIDEBAR_ITEMS } from "@data/omnigraph-examples/config.ts";

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it didnt work :(

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont know why, if you know how to resolve it, feel free to push that commit :)

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.

2 participants