Skip to content

docs: ENS Resolutions page#2273

Open
sevenzing wants to merge 8 commits into
mainfrom
ll/docs-ens-resolutions
Open

docs: ENS Resolutions page#2273
sevenzing wants to merge 8 commits into
mainfrom
ll/docs-ens-resolutions

Conversation

@sevenzing

@sevenzing sevenzing commented Jun 8, 2026

Copy link
Copy Markdown
Member

Lite PR

Tip: Review docs on the ENSNode PR process

Summary

  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/ens-resolution.mdx -- main file to review

Why

  • Why this change exists. Link to related GitHub issues where relevant.

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)

@changeset-bot

changeset-bot Bot commented Jun 8, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a562608

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

vercel Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
enskit-react-example.ensnode.io Ready Ready Preview, Comment Jun 9, 2026 12:01pm
ensnode.io Ready Ready Preview, Comment Jun 9, 2026 12:01pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
admin.ensnode.io Skipped Skipped Jun 9, 2026 12:01pm
ensrainbow.io Skipped Skipped Jun 9, 2026 12:01pm

@coderabbitai

coderabbitai Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@sevenzing, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 32 minutes and 8 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 1d6a3109-f007-4232-b32a-6ffae1c6092a

📥 Commits

Reviewing files that changed from the base of the PR and between 0e844fb and a562608.

📒 Files selected for processing (7)
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/ens-resolution.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
  • docs/ensnode.io/src/lib/examples/stackblitz/static/resolveProject.test.ts
  • packages/ensnode-sdk/src/omnigraph-api/example-queries.ts
📝 Walkthrough

Walkthrough

This PR adds a new "ENS Resolution" documentation page that explains Omnigraph's forward, reverse, and complete resolution workflows. It introduces two new combined examples (domain profile+records, account primary name+records), extends the GraphQL schema with UnindexedDomain type and resolver fields, updates component rendering for example descriptions, synchronizes example fixtures and SDK queries, and consolidates sidebar ordering by removing frontmatter metadata from individual example pages.

Changes

ENS Resolution Documentation & Examples

Layer / File(s) Summary
ENS Resolution documentation page
docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/ens-resolution.mdx
New "ENS Resolution" MDX page documenting forward resolution (name→display profile), reverse resolution (address→primary name), and complete resolution workflows, with embedded example sets and AI/agent integration notes emphasizing stable structured fields and null handling for missing data.
OmnigraphStaticExampleSet rendering improvement
docs/ensnode.io/src/components/organisms/OmnigraphStaticExampleSet.astro
Example descriptions now render inside a Starlight markdown container with HTML injection via set:html, enabling rich formatting in example metadata.
Sidebar navigation and frontmatter cleanup
docs/ensnode.io/config/integrations/starlight/sidebar-topics/integrate.ts, docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/*.mdx, docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/account-primary-name-records.mdx
Adds "ENS Resolution" to integrate sidebar under "ENS Omnigraph API", removes sidebar.order frontmatter from example pages to centralize ordering, and updates account-primary-name-records example id reference.
GraphQL schema additions
docs/ensnode.io/src/data/omnigraph-examples/schema.graphql
Introduces UnindexedDomain type implementing full Domain interface for wildcard-resolvable domains, adds DomainResolver.effective: Resolver field for ENSIP-10 effective resolver, adds Resolver.extended: Boolean! field for wildcard resolution support, and clarifies parent/registry behavior across Domain types.
Examples config text updates
docs/ensnode.io/src/data/omnigraph-examples/config.ts
Rewords OMNIGRAPH_EXAMPLES_CONFIG descriptions to standardized multi-line "This query below…" phrasing with inline code markers for API fields like avatar, socials, addresses, and typename filters.
New example entries
docs/ensnode.io/src/data/omnigraph-examples/examples.json
Adds domain-profile-and-records combining forward resolution for profile (avatar, addresses, socials, website) and records (coin-type addresses, text keys), and account-primary-name-records resolving primary name + resolved profile subset from an account address.
Example responses fixtures
docs/ensnode.io/src/data/omnigraph-examples/responses.json
Updates protocol-tracing span ids/timestamps/durations across resolution traces, reorganizes domain/namegraph structure blocks, and adds response data for account-primary-names and domain-profile-and-records examples.
Snapshot metadata update
docs/ensnode.io/src/data/omnigraph-examples/snapshot.json
Updates snapshot commit hash and timestamp to reflect newer example data revision.
SDK example queries additions/changes
packages/ensnode-sdk/src/omnigraph-api/example-queries.ts
Introduces GREG_ADDRESS constant, adds domain-profile-and-records example combining profile and records queries, and replaces single-chain account-primary-name with multi-chain account-primary-names querying [ETHEREUM, BASE].
Omnigraph skill docs updates
packages/ensskills/skills/omnigraph/SKILL.md
Documents domain-profile-and-records example selecting both profile and records fields, and replaces single-chain account-primary-name example with multi-chain account-primary-names example with updated variable blocks.

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly Related PRs

  • namehash/ensnode#2209: Extends the same integrateSidebarTopic sidebar configuration under "ENS Omnigraph API" with a different child page ("Protocol Acceleration" vs. "ENS Resolution").
  • namehash/ensnode#2260: Modifies the same OmnigraphStaticExampleSet.astro component for how example descriptions are rendered when not hidden.
  • namehash/ensnode#2182: Adds/rewires the static example tab/snippet system around the same OmnigraphStaticExampleSet component used throughout this PR.

🐰 A new realm of names unfolds,
Forward, backward, complete flows told,
Schema blooms with unindexed grace,
Profile meets records in one embrace,
Resolution's dance, both swift and bold!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Description check ❓ Inconclusive The PR description uses the required template structure with all main sections present (Summary, Why, Testing, Notes, Checklist), but the Why, Testing, and Notes sections lack substantive content—only prompts remain. Fill in the Why section with rationale/related issues, provide Testing details or explain why testing wasn't performed, and add any relevant reviewer notes.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The PR title 'docs: ENS Resolutions page' clearly and concisely summarizes the main change—adding documentation for ENS resolution workflows.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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 unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ll/docs-ens-resolutions

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.

{
!hideDescription && (
<div class="sl-markdown-content">
<p set:html={description} />

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.

to render segments of Example's description

title: Account Events
description: Indexed events involving an address across ENS contracts.
sidebar:
order: 11

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.

looks like it's redundant since we define order in sidebar config already

title: "Hello World",
description:
"From a wallet address: Ethereum primary name and interpreted profile, plus ENSv1 and ENSv2 ownership counts.",
"This query below loads, from a wallet address, the Ethereum primary name and interpreted profile, plus ENSv1 and ENSv2 ownership counts.",

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.

for description to better fit into page content

@greptile-apps

greptile-apps Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds a new ENS Resolution documentation page explaining forward, reverse, and complete resolution patterns, and refactors the supporting example infrastructure to split the old account-primary-name example into account-primary-names (showing multi-chain primary name lookup) and account-primary-name-records (showing the full reverse+forward round trip).

  • New ens-resolution.mdx page covering all three resolution patterns with live embedded examples; sidebar entry added.
  • account-primary-name example renamed/split into two entries; descriptions across all examples updated from plain text to HTML to support inline <code> elements; OmnigraphStaticExampleSet.astro updated to render via set:html.
  • SKILL.md, examples.json, example-queries.ts, and responses.json updated with the new domain-profile-and-records and account-primary-names/account-primary-name-records examples.

Confidence Score: 4/5

Safe to merge after fixing the SKILL.md account-primary-names query, which mismatches the canonical query used everywhere else.

The docs page and config changes are well-structured and internally consistent. The one concrete defect is in SKILL.md: the account-primary-names section still carries the old singular operation name and a simplified query body that omits the primaryName alias present in example-queries.ts and examples.json. AI agents consuming this skill would execute a different query and receive a structurally different response than the snapshotted data.

packages/ensskills/skills/omnigraph/SKILL.md — the account-primary-names query needs to match the canonical form in example-queries.ts.

Important Files Changed

Filename Overview
packages/ensskills/skills/omnigraph/SKILL.md Added domain-profile-and-records and account-primary-names/account-primary-name-records examples, but the account-primary-names query has the wrong operation name and a simplified body that diverges from examples.json and example-queries.ts.
docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/ens-resolution.mdx New ENS Resolution docs page covering forward, reverse, and complete resolution patterns using correct example IDs (domain-profile, domain-records, account-primary-names, account-primary-name-records).
docs/ensnode.io/src/data/omnigraph-examples/config.ts Renames account-primary-nameaccount-primary-names (hostSeparatePage: false) and adds account-primary-name-records (hostSeparatePage: true) and domain-profile-and-records; all description strings updated to HTML.
packages/ensnode-sdk/src/omnigraph-api/example-queries.ts Adds domain-profile-and-records, account-primary-names, and renames account-primary-name to account-primary-name-records; queries are consistent with examples.json and responses.json.
docs/ensnode.io/src/components/organisms/OmnigraphStaticExampleSet.astro Switches description rendering from plain text to set:html inside a sl-markdown-content wrapper to support HTML tags in descriptions.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[ens-resolution.mdx] --> B[OmnigraphStaticExampleSet]
    B --> C[getOmnigraphExampleById]
    C --> D[config.ts]
    D --> E1[domain-profile\nhostSeparatePage: true]
    D --> E2[domain-records\nhostSeparatePage: true]
    D --> E3[account-primary-names\nhostSeparatePage: false]
    D --> E4[account-primary-name-records\nhostSeparatePage: true]
    B --> F[resolveOmnigraphStaticExample]
    F --> G[responses.json]
    F --> H[examples.json]
    E4 --> I[account-primary-name-records.mdx]
    E3 -->|no page| J[embedded only]
Loading

Reviews (7): Last reviewed commit: "fix tests" | Re-trigger Greptile

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 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/src/components/organisms/OmnigraphStaticExampleSet.astro`:
- Around line 42-44: The template in OmnigraphStaticExampleSet uses a <p
set:html={description}/> which can produce invalid HTML when description
contains block-level elements; replace the <p> wrapper with a block-level
container (e.g., a plain <div> or another suitable block element) and apply
set:html to that element so injected HTML is not nested inside a
paragraph—update the element around the description variable accordingly.

In `@docs/ensnode.io/src/data/omnigraph-examples/schema.graphql`:
- Around line 610-613: The current description for DomainResolver.effective
conflates behavior for UnindexedDomain and indexed domains; update the comment
to state that effective: Resolver is null when no active Resolver exists, and
add a clarifying clause that the "Domain is not in the Canonical Nametree"
condition specifically applies to lookup via getDomainEffectiveResolver (used
for indexed domains that may lack canonicalName), while noting UnindexedDomain
resolves resolver.effective directly from domain.effectiveResolverId and can
return the wildcard ancestor’s resolver even when resolver.assigned is null (see
UnindexedDomain, domain.effectiveResolverId, resolver.assigned, and
getDomainEffectiveResolver).
🪄 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: 73d593cf-cfe5-4329-8f5a-87182963124b

📥 Commits

Reviewing files that changed from the base of the PR and between 83ed372 and 1aa7883.

📒 Files selected for processing (29)
  • docs/ensnode.io/config/integrations/starlight/sidebar-topics/integrate.ts
  • docs/ensnode.io/src/components/organisms/OmnigraphStaticExampleSet.astro
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/ens-resolution.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-by-name.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-recently-registered.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/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/schema.graphql
  • docs/ensnode.io/src/data/omnigraph-examples/snapshot.json
  • packages/ensnode-sdk/src/omnigraph-api/example-queries.ts
  • packages/ensskills/skills/omnigraph/SKILL.md
💤 Files with no reviewable changes (19)
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/domain-records.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/registry-domains.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/domain-by-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/permissions-by-user.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-resolver.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/domain-subdomains-recently-registered.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/domain-subdomains.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/namegraph.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/account-events.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/domain-events.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/domains-by-address.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/index.mdx

Comment thread docs/ensnode.io/src/data/omnigraph-examples/schema.graphql
Comment thread docs/ensnode.io/src/data/omnigraph-examples/config.ts Outdated

@shrugs shrugs left a comment

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.

unindexed domain seems to have snuck in

@shrugs

shrugs commented Jun 8, 2026

Copy link
Copy Markdown
Member

main has my version; if you can have claude remove your unindexed domain changes and merge mine you shouldn't have any issues

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 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 `@packages/ensnode-sdk/src/omnigraph-api/example-queries.ts`:
- Line 518: The GraphQL operation name `AccountPrimaryName` should be renamed to
the plural form `AccountPrimaryNames` to match the example ID
`account-primary-names` and the `primaryNames` field that returns an array;
update the operation declaration (change `query AccountPrimaryName(...)` to
`query AccountPrimaryNames(...)`) and update any references or example metadata
that reference the operation name so they remain consistent with
`account-primary-names` and the `primaryNames` field.

In `@packages/ensskills/skills/omnigraph/SKILL.md`:
- Line 724: The GraphQL operation name AccountPrimaryName should be renamed to
the plural form (e.g., AccountPrimaryNames) to match the section ID
account-primary-names and the returned field primaryNames; update the operation
declaration in the SKILL.md query and any corresponding usages in
example-queries.ts to use the new operation name so names are consistent across
docs and examples.
🪄 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: fb460eb6-21a6-4b0f-b67b-c16d38d4927a

📥 Commits

Reviewing files that changed from the base of the PR and between 1aa7883 and 3164af3.

📒 Files selected for processing (8)
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/ens-resolution.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/account-primary-name.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
  • packages/ensskills/skills/omnigraph/SKILL.md

Comment thread packages/ensnode-sdk/src/omnigraph-api/example-queries.ts Outdated
Comment thread packages/ensskills/skills/omnigraph/SKILL.md
Comment thread docs/ensnode.io/src/data/omnigraph-examples/config.ts Outdated
Comment thread docs/ensnode.io/src/data/omnigraph-examples/config.ts
Comment thread docs/ensnode.io/src/data/omnigraph-examples/config.ts
Comment thread docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/ens-resolution.mdx Outdated

@vercel vercel Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Additional Suggestion:

The ens-resolution.mdx file references a non-existent Omnigraph example ID "account-primary-name" which causes build failure with error "Unknown Omnigraph example id: account-primary-name"

Fix on Vercel

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Caution

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

⚠️ Outside diff range comments (1)
docs/ensnode.io/src/data/omnigraph-examples/config.ts (1)

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

Complete the description standardization.

Most example descriptions in this PR were updated to the standardized "This query below..." phrasing (lines 19, 28, 37, etc.), but these two entries still use "This query loads..." without "below". This breaks the consistency of the formatting standardization.

📝 Proposed fix
     description: "This query loads the primary names for an account on Ethereum and Base.",
+    description: "This query below loads the primary names for an account on Ethereum and Base.",
     description:
-      "This query loads the primary name for an account on Ethereum and forward-resolves its profile in the same request.",
+      "This query below loads the primary name for an account on Ethereum and forward-resolves its profile in the same request.",

Also applies to: 116-116

🤖 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 `@docs/ensnode.io/src/data/omnigraph-examples/config.ts` at line 107, Update
the two description fields that currently read "This query loads the primary
names for an account on Ethereum and Base." to the standardized phrasing "This
query below loads the primary names for an account on Ethereum and Base." —
modify the description properties in the relevant config object entries (the
description keys in config.ts for the example entries around the two reported
occurrences) so they match the other examples' "This query below..." wording.
🤖 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/src/content/docs/docs/integrate/omnigraph/ens-resolution.mdx`:
- Line 50: The example ID referenced in the OmnigraphStaticExampleSet component
is wrong — replace the incorrect id "account-primary-name" in the
OmnigraphStaticExampleSet usage with the correct ID defined in config.ts
("account-primary-names") so the component can locate the example; locate the
OmnigraphStaticExampleSet line and update its id to "account-primary-names"
(config.ts also contains "account-primary-name-records" if that variant was
intended).

---

Outside diff comments:
In `@docs/ensnode.io/src/data/omnigraph-examples/config.ts`:
- Line 107: Update the two description fields that currently read "This query
loads the primary names for an account on Ethereum and Base." to the
standardized phrasing "This query below loads the primary names for an account
on Ethereum and Base." — modify the description properties in the relevant
config object entries (the description keys in config.ts for the example entries
around the two reported occurrences) so they match the other examples' "This
query below..." wording.
🪄 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: 32800875-0870-4f40-8fa9-005e2faa122a

📥 Commits

Reviewing files that changed from the base of the PR and between 3164af3 and 0e844fb.

📒 Files selected for processing (3)
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/ens-resolution.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/account-primary-name-records.mdx
  • docs/ensnode.io/src/data/omnigraph-examples/config.ts
💤 Files with no reviewable changes (1)
  • docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/examples/account-primary-name-records.mdx

Comment thread docs/ensnode.io/src/content/docs/docs/integrate/omnigraph/ens-resolution.mdx Outdated
@sevenzing

Copy link
Copy Markdown
Member Author

@shrugs changes are related to schema in docs, so the main is already merged, no conflicts or updates

@tk-o tk-o left a comment

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.

LGTM

- **Forward resolution** — given a name (`vitalik.eth`), resolve its records: avatar, bio, links, multichain addresses, and more.
- **Reverse resolution** — given an address, resolve its **primary name** on a chain ([ENSIP-19](https://docs.ens.domains/ensip/19)).

One of the most common patterns when building on ENS is to combine both: given an address, first perform **reverse resolution** to get the primary name, then perform **forward resolution** on that name to fetch its avatar, social handles, and other display details. Because this pattern is so common, the Omnigraph provides support for it as **complete resolution** — reverse and forward in a single query with no extra round trip.

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.

It'd be cool to highlight the complete resolution form here. For example, we could add a heading before we share detailed description of what the complete resolution is. Just to make it really clear that the complete resolution is a major thing to know of.

title: "Recently Registered Subdomains",
description: "List a parent domain's subdomains ordered by most recent registration first.",
description:
"This query below lists a parent domain's subdomains ordered by most recent registration first.",

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.

i would drop "below" from these descriptions to make them more generally applicable

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