Skip to content

docs(review): apply Tristan's two must-fix items from the final review#97

Open
rodrigopavezi wants to merge 1 commit into
docs/revamp-greptile-fixesfrom
docs/revamp-final-fixes
Open

docs(review): apply Tristan's two must-fix items from the final review#97
rodrigopavezi wants to merge 1 commit into
docs/revamp-greptile-fixesfrom
docs/revamp-final-fixes

Conversation

@rodrigopavezi
Copy link
Copy Markdown
Member

(1) api-reference/wallet-authentication.mdx — SIWE message example now
matches the actual server output from request-auth-api/auth.service.ts:

  • "Sign in to Request Network" → "Sign in to Request Network." (period
    per the source string)
  • Dropped the "Chain ID: 1" line (the server does not emit it)
  • Added "Expiration Time: " line (the server emits it after Issued
    At; used the same value the docs already show for expiresAt)

(2) api-setup/getting-started.mdx — Client ID Generation steps

  • Added a prerequisite step pointing users to create a payment
    destination first, because the Client IDs section is only visible
    once a destination exists.
  • Empty-state button labelled "Generate your first Client ID" (the
    actual dashboard label for the first-Client-ID case, per
    ManageDestination/blocks/ClientIdsSection.tsx). "Generate New Client
    ID" is still mentioned as the post-first-creation label.

(1) api-reference/wallet-authentication.mdx — SIWE message example now
matches the actual server output from request-auth-api/auth.service.ts:
- "Sign in to Request Network" → "Sign in to Request Network." (period
  per the source string)
- Dropped the "Chain ID: 1" line (the server does not emit it)
- Added "Expiration Time: <iso>" line (the server emits it after Issued
  At; used the same value the docs already show for `expiresAt`)

(2) api-setup/getting-started.mdx — Client ID Generation steps
- Added a prerequisite step pointing users to create a payment
  destination first, because the Client IDs section is only visible
  once a destination exists.
- Empty-state button labelled "Generate your first Client ID" (the
  actual dashboard label for the first-Client-ID case, per
  ManageDestination/blocks/ClientIdsSection.tsx). "Generate New Client
  ID" is still mentioned as the post-first-creation label.
@rodrigopavezi rodrigopavezi marked this pull request as ready for review May 12, 2026 01:56
This was referenced May 12, 2026
Copy link
Copy Markdown
Member Author

rodrigopavezi commented May 12, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented May 12, 2026

Greptile Summary

This PR applies two targeted documentation corrections based on a final review: the SIWE challenge message example is updated to match the actual server output, and the Client ID generation steps now include the missing payment-destination prerequisite.

  • api-reference/wallet-authentication.mdx: The message field in the challenge response example now matches the server's real output — period added to the statement, Chain ID line removed, and Expiration Time field added with the same timestamp already shown in expiresAt.
  • api-setup/getting-started.mdx: A new step explains that a payment destination must exist before the Client IDs section appears, and the empty-state button label (Generate your first Client ID) is distinguished from the post-creation label (Generate New Client ID).

Confidence Score: 4/5

Safe to merge; both changes are straightforward accuracy fixes with no functional risk.

The changes are accurate and well-scoped. The only loose end is that the high-level Quick Setup steps at the top of getting-started.mdx still don't mention the payment-destination prerequisite, leaving a small gap between the overview and the detailed steps a user will eventually read.

The Quick Setup Steps block in api-setup/getting-started.mdx (lines 12-25) warrants a quick check to decide whether to echo the prerequisite there.

Important Files Changed

Filename Overview
api-reference/wallet-authentication.mdx SIWE message example corrected: period added to statement, Chain ID line removed, and Expiration Time field added — all to match actual server output
api-setup/getting-started.mdx Client ID Generation steps updated with payment-destination prerequisite and correct empty-state button label; top-level Quick Setup steps do not reflect the new prerequisite

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A([Log in to Dashboard]) --> B{Payment destination\nexists?}
    B -- No --> C[Click 'Set up payment destination'\non Home page]
    C --> D[Choose chain + token]
    D --> E[Destination created]
    E --> F[Open Manage Destination]
    B -- Yes --> F
    F --> G{First Client ID?}
    G -- Yes --> H[Click 'Generate your first Client ID']
    G -- No --> I[Click 'Generate New Client ID']
    H --> J[Copy & securely store Client ID]
    I --> J
Loading

Comments Outside Diff (1)

  1. api-setup/getting-started.mdx, line 16-18 (link)

    P2 Quick Setup steps omit the new payment-destination prerequisite

    The high-level <Steps> block at the top of the page still shows "Generate your Client ID from the Dashboard" without any hint that a payment destination must exist first. A user following only the Quick Setup steps will land on the dashboard and find no Client IDs section, then have to search for why. Even a parenthetical like "(requires a payment destination)" on that step would keep the two sections consistent and prevent confusion before they reach the detailed instructions below.

Reviews (1): Last reviewed commit: "docs(review): apply Tristan's two must-f..." | Re-trigger Greptile

Copy link
Copy Markdown
Member

@MantisClone MantisClone left a comment

Choose a reason for hiding this comment

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

LGTM. SIWE fix matches the server template exactly (period present, no Chain ID line, Expiration Time set 5 min after Issued At = matches existing expiresAt two lines below). getting-started Client ID Generation flow now reflects the actual Dashboard UI: destination-creation prerequisite + both button labels with their conditions. Verified against request-auth-api/src/auth/auth.service.ts:187-196 and request-dashboard/src/pages/ManageDestination/blocks/ClientIdsSection.tsx:107-129. Ready to ship.

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