Skip to content

Optimise hosted instances page#2199

Merged
tk-o merged 6 commits into
mainfrom
docs/optimise-hosted-instances-page
May 26, 2026
Merged

Optimise hosted instances page#2199
tk-o merged 6 commits into
mainfrom
docs/optimise-hosted-instances-page

Conversation

@tk-o
Copy link
Copy Markdown
Member

@tk-o tk-o commented May 26, 2026

This PR addresses the "Quick Feedback" (point 1. to 5.) section the doc discussed in this thread.

Copilot AI review requested due to automatic review settings May 26, 2026 09:22
@tk-o tk-o requested a review from a team as a code owner May 26, 2026 09:22
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 26, 2026

⚠️ No Changeset found

Latest commit: dbdd05a

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 May 26, 2026

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 May 26, 2026 1:49pm
ensnode.io Ready Ready Preview, Comment May 26, 2026 1:49pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
admin.ensnode.io Skipped Skipped May 26, 2026 1:49pm
ensrainbow.io Skipped Skipped May 26, 2026 1:49pm

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 26, 2026

Review Change Stack

Warning

Review limit reached

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

More reviews will be available in 55 minutes and 7 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: 3372e5b4-e112-46d6-8c91-f30694c3988a

📥 Commits

Reviewing files that changed from the base of the PR and between 9a30bf9 and dbdd05a.

📒 Files selected for processing (3)
  • docs/ensnode.io/src/components/molecules/EnsSubgraphCorrectnessPostEnsV2Launch.astro
  • docs/ensnode.io/src/components/molecules/omnigraph-static-example/StaticExampleCard.astro
  • docs/ensnode.io/src/content/docs/docs/hosted-instances.mdx
📝 Walkthrough

Walkthrough

Adds an ENSv2 transition callout component and updates HostedEnsNodeInstance to show service icons; wires the new callout and icon fragments across hosted-instances.mdx and removes inline ENSv2 NOTE text from shared compatibility strings.

Changes

ENSv2 Transition Messaging and Documentation

Layer / File(s) Summary
New ENSv2 transition callout component
docs/ensnode.io/src/components/molecules/EnsSubgraphCorrectnessPostEnsV2Launch.astro
Adds EnsSubgraphCorrectnessPostEnsV2Launch, imports Aside, reads isEnsV2Launched prop, computes a conditional message, and renders a danger-styled Aside titled “ENS Subgraph correctness after ENSv2 launch”.
Service display component icon support
docs/ensnode.io/src/components/molecules/HostedEnsNodeInstance.astro
Renames the services row to "ENSApi Services" and adds icon slots next to each service title for Omnigraph API, Protocol Acceleration, and Subgraph API.
Instance documentation wiring and messaging
docs/ensnode.io/src/content/docs/docs/hosted-instances.mdx
Imports and embeds the new callout alongside compatibility text for multiple hosted instances, removes the inline ENSv2 launch NOTE from exported subgraphCompatibility* strings, restructures the ens-test-env note, and replaces direct subgraph slot HTML with span+callout and explicit icon fragments across affected instance cards.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • namehash/ensnode#2196: Modifies hosted-instances compatibility strings and ENSv2 messaging formatting.
  • namehash/ensnode#2173: Changes to HostedEnsNodeInstance and hosted-instances fragment wiring that overlap with these UI/doc updates.

Suggested labels

docs

Poem

🐰 A rabbit peeks at docs tonight,
Tucks callouts cozy, icons bright,
Hops through cards to stitch the view,
ENSv2 whispers, "All's in queue,"
✨📚

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is incomplete, missing required sections like Summary, Why, Testing, and Pre-Review Checklist from the template. Complete the description by adding all required sections: provide a concise summary of changes (1-3 bullets), explain the rationale, describe how changes were tested, and mark the pre-review checklist items.
Title check ❓ Inconclusive The title 'Optimise hosted instances page' is vague and generic, lacking specific detail about what optimization was performed. Clarify the title to indicate specific changes, such as 'Add ENSv2 correctness indicator and refactor ENSApi services display' to better communicate the primary changes.
✅ Passed checks (3 passed)
Check name Status Explanation
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 docs/optimise-hosted-instances-page

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 May 26, 2026

Greptile Summary

This PR optimises the hosted instances documentation page by introducing a new EnsSubgraphCorrectnessPostEnsV2Launch component that renders a tense-aware danger callout (future or past, driven by an isEnsV2Launched prop), adding per-service status icon slots to HostedEnsNodeInstance, and restructuring the namespace list into nested bullets with a dedicated :::note block for ens-test-env.

  • EnsSubgraphCorrectnessPostEnsV2Launch.astro is wired correctly at all five call sites with explicit namespace and isEnsV2Launched props, resolving the previously reported "undefined namespace" and tense issues for sepolia-v2.
  • HostedEnsNodeInstance.astro gains three new named slots (*-icon) so emoji status indicators can be injected per instance without changing the component layout.
  • The omnigraphForEnsV1AndEnsV2 description (used only on the sepolia-v2 row) still reads "When ENSv2 launches in Summer 2026…" in future tense, while the new callout immediately below it correctly states that ENSv2 has already launched on that namespace, creating a visible inconsistency for readers.

Confidence Score: 5/5

Safe to merge; all changes are documentation and static UI components with no runtime logic.

The new component is correctly wired at every call site — namespace and isEnsV2Launched are explicitly supplied wherever the component is used. Icon slots are additive and don't alter any existing rendering path. The one content inconsistency (future-tense omnigraph copy shown next to a past-tense callout on the sepolia-v2 row) is a readability concern, not a broken page.

The omnigraphForEnsV1AndEnsV2 constant in hosted-instances.mdx deserves a second look for tense consistency with the new sepolia-v2 callout.

Important Files Changed

Filename Overview
docs/ensnode.io/src/components/molecules/EnsSubgraphCorrectnessPostEnsV2Launch.astro New component that conditionally renders a danger callout based on whether ENSv2 has launched; accepts namespace and isEnsV2Launched props, both correctly wired at all call sites.
docs/ensnode.io/src/components/molecules/HostedEnsNodeInstance.astro Adds icon slots (ens-omnigraph-api-icon, ens-protocol-acceleration-icon, ens-subgraph-api-icon) to each service row and renames "ENS APIs" to "ENSApi Services"; straightforward slot additions.
docs/ensnode.io/src/components/molecules/omnigraph-static-example/StaticExampleCard.astro Whitespace-only reformatting of a single-line variable assignment; no functional change.
docs/ensnode.io/src/content/docs/docs/hosted-instances.mdx Adds namespace-aware correctness callouts, icon fragments, and restructures the namespace list; omnigraphForEnsV1AndEnsV2 retains future-tense copy that contradicts the new isEnsV2Launched={true} callout shown on the sepolia-v2 instance.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    MDX["hosted-instances.mdx"]
    HEI["HostedEnsNodeInstance.astro\n(table layout + icon slots)"]
    ESC["EnsSubgraphCorrectnessPostEnsV2Launch.astro\n(danger callout)"]

    MDX -->|"instanceURL, namespace, plugins props\n+ icon/content slots"| HEI
    MDX -->|"namespace + isEnsV2Launched props"| ESC

    ESC -->|"isEnsV2Launched = true"| LAUNCHED["ENSv2 launched message\n(sepolia-v2)"]
    ESC -->|"isEnsV2Launched = false"| NOTYET["ENSv2 coming soon message\n(mainnet, sepolia)"]

    HEI --> SLOTS["Rendered slot rows:\n• ENS Omnigraph API  [icon]\n• ENS Protocol Acceleration  [icon]\n• ENS Subgraph API  [icon + callout]"]
Loading

Reviews (5): Last reviewed commit: "Apply AI PR feedback" | Re-trigger Greptile

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR refines the “Hosted ENSNode Instances” documentation page by improving the presentation of service availability and extracting the ENS Subgraph post-ENSv2 warning into a reusable component.

Changes:

  • Adds explicit ✅/❌ indicators for Omnigraph / Subgraph / Protocol Acceleration per hosted instance.
  • Extracts the “ENS Subgraph correctness after ENSv2 launch” warning into a dedicated Astro molecule for reuse/consistency.
  • Improves the ens-test-env namespace bullet by moving long details into a :::note block.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
docs/ensnode.io/src/content/docs/docs/hosted-instances.mdx Updates hosted instances content, adds service icons, and inserts the extracted warning component.
docs/ensnode.io/src/components/molecules/HostedEnsNodeInstance.astro Adds new icon slots and renames the “ENS APIs” table label to “ENSApi Services”.
docs/ensnode.io/src/components/molecules/EnsSubgraphCorrectnessPostEnsV2Launch.astro Introduces a reusable Starlight Aside warning about Subgraph correctness post-ENSv2.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/ensnode.io/src/content/docs/docs/hosted-instances.mdx Outdated
Comment thread docs/ensnode.io/src/content/docs/docs/hosted-instances.mdx Outdated
Comment thread docs/ensnode.io/src/content/docs/docs/hosted-instances.mdx Outdated
@tk-o
Copy link
Copy Markdown
Member Author

tk-o commented May 26, 2026

@greptile review

Copy link
Copy Markdown
Member

@lightwalker-eth lightwalker-eth left a comment

Choose a reason for hiding this comment

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

@tk-o Thanks for updates. Reviewed and shared feedback. Please take the lead to merge when ready 👍

Comment thread docs/ensnode.io/src/content/docs/docs/hosted-instances.mdx Outdated
Comment thread docs/ensnode.io/src/content/docs/docs/hosted-instances.mdx Outdated
Comment thread docs/ensnode.io/src/content/docs/docs/hosted-instances.mdx Outdated
Comment thread docs/ensnode.io/src/content/docs/docs/hosted-instances.mdx Outdated
Comment thread docs/ensnode.io/src/content/docs/docs/hosted-instances.mdx Outdated
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.

♻️ Duplicate comments (1)
docs/ensnode.io/src/content/docs/docs/hosted-instances.mdx (1)

77-81: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Pass namespace into every ENSv2 callout usage.

EnsSubgraphCorrectnessPostEnsV2Launch now interpolates namespace, but these callsites omit it, so the rendered warning text will include undefined ENS namespace.

💡 Proposed fix
-  <EnsSubgraphCorrectnessPostEnsV2Launch isEnsV2Launched={true} />
+  <EnsSubgraphCorrectnessPostEnsV2Launch isEnsV2Launched={true} namespace="sepolia-v2" />
@@
-  <EnsSubgraphCorrectnessPostEnsV2Launch />
+  <EnsSubgraphCorrectnessPostEnsV2Launch namespace="mainnet" />
@@
-  <EnsSubgraphCorrectnessPostEnsV2Launch />
+  <EnsSubgraphCorrectnessPostEnsV2Launch namespace="sepolia" />
@@
-  <EnsSubgraphCorrectnessPostEnsV2Launch />
+  <EnsSubgraphCorrectnessPostEnsV2Launch namespace="mainnet" />
@@
-  <EnsSubgraphCorrectnessPostEnsV2Launch />
+  <EnsSubgraphCorrectnessPostEnsV2Launch namespace="sepolia" />

Also applies to: 107-111, 129-133, 155-159, 177-181

🤖 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/content/docs/docs/hosted-instances.mdx` around lines 77 -
81, Pass the missing namespace prop into every usage of the
EnsSubgraphCorrectnessPostEnsV2Launch component (e.g., the call currently
written as <EnsSubgraphCorrectnessPostEnsV2Launch isEnsV2Launched={true} />) so
it receives a valid namespace string (for example:
<EnsSubgraphCorrectnessPostEnsV2Launch isEnsV2Launched={true}
namespace={subgraphNamespace} />); update each callsite noted (around the other
Fragment blocks) to supply the same namespace variable or prop that the
surrounding component/page uses so the component no longer renders "undefined
ENS namespace".
🤖 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.

Duplicate comments:
In `@docs/ensnode.io/src/content/docs/docs/hosted-instances.mdx`:
- Around line 77-81: Pass the missing namespace prop into every usage of the
EnsSubgraphCorrectnessPostEnsV2Launch component (e.g., the call currently
written as <EnsSubgraphCorrectnessPostEnsV2Launch isEnsV2Launched={true} />) so
it receives a valid namespace string (for example:
<EnsSubgraphCorrectnessPostEnsV2Launch isEnsV2Launched={true}
namespace={subgraphNamespace} />); update each callsite noted (around the other
Fragment blocks) to supply the same namespace variable or prop that the
surrounding component/page uses so the component no longer renders "undefined
ENS namespace".

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 627f0fb5-c22b-4d16-b92b-c3566056a96d

📥 Commits

Reviewing files that changed from the base of the PR and between 754ae4d and 9a30bf9.

📒 Files selected for processing (2)
  • docs/ensnode.io/src/components/molecules/EnsSubgraphCorrectnessPostEnsV2Launch.astro
  • docs/ensnode.io/src/content/docs/docs/hosted-instances.mdx

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.

Comment on lines +8 to +9
? "ENSv2 launch completed. Subgraph API now unreliable."
: "ENSv2 launches soon. Subgraph API soon unreliable.";
Comment thread docs/ensnode.io/src/content/docs/docs/hosted-instances.mdx
Comment thread docs/ensnode.io/src/content/docs/docs/hosted-instances.mdx
Comment thread docs/ensnode.io/src/content/docs/docs/hosted-instances.mdx
Comment thread docs/ensnode.io/src/content/docs/docs/hosted-instances.mdx
Comment thread docs/ensnode.io/src/content/docs/docs/hosted-instances.mdx
@tk-o tk-o merged commit 8ce8cfe into main May 26, 2026
20 checks passed
@tk-o tk-o deleted the docs/optimise-hosted-instances-page branch May 26, 2026 13:53
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