Skip to content

docs(solidity): point isAllowed readers to JS SDK viewACL (NOXFB-71) - #90

Merged
raorla merged 2 commits into
mainfrom
docs/noxfb-71-isallowed-viewacl-discoverability
Jun 29, 2026
Merged

docs(solidity): point isAllowed readers to JS SDK viewACL (NOXFB-71)#90
raorla merged 2 commits into
mainfrom
docs/noxfb-71-isallowed-viewacl-discoverability

Conversation

@raorla

@raorla raorla commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Improves discoverability between the Solidity reference and the JS SDK. Builders find the on-chain ACL.isAllowed(handle, account) Solidity function and wrongly assume there is no JS equivalent — but handleClient.viewACL(handle) already covers it. This adds a cross-reference so JS SDK users don't reach for the contract call directly.

While in the file, two small UI/UX cleanups on the same page.

Changes

src/references/solidity-library/methods/core-primitives/access-control.md (single file):

  • Added a ::: tip callout after isAllowed pointing JS SDK users to viewACL.
  • Merged the two stacked ::: warning callouts under allow into a single warning with two bullets (pre-condition + permanence) — avoids two consecutive red blocks.
  • Fixed heading level: Usage was ### while every other section is ##, breaking the heading hierarchy (h1 → h3 → h2).

Notes

  • Verified locally: prettier --check passes and vitepress build completes successfully.
  • Closes NOXFB-71.

Copilot AI review requested due to automatic review settings June 25, 2026 08:06
@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
nox-documentation Ready Ready Preview, Comment Jun 25, 2026 8:08am

Request Review

Copilot AI 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.

Pull request overview

This PR improves cross-discoverability between the Solidity ACL docs and the JS SDK by adding a callout pointing readers of ACL.isAllowed(...) to the JS SDK’s viewACL method, while also cleaning up the page’s admonition layout and heading hierarchy.

Changes:

  • Fixed heading hierarchy by changing the Usage section from ### to ##.
  • Consolidated two consecutive ::: warning blocks under allow into a single warning with bullet points.
  • Added a ::: tip under isAllowed referencing the JS SDK handleClient.viewACL(handle) docs.

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

Comment thread src/references/solidity-library/methods/core-primitives/access-control.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI 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.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@64ix 64ix 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.

lgtm

@raorla
raorla merged commit a20e156 into main Jun 29, 2026
4 checks passed
@raorla
raorla deleted the docs/noxfb-71-isallowed-viewacl-discoverability branch June 29, 2026 06:53
64ix added a commit that referenced this pull request Jul 6, 2026
Follow-up merge: local clone's origin/main tracking ref was stale
and missed #90 (isAllowed → viewACL cross-reference), merged into
main after #88. No conflict — different file.
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