Skip to content

docs(get-started): write /get-started/quickstart (DX-068) - #637

Merged
IbrahimIjai merged 2 commits into
SO4-Markets:mainfrom
Ay-obami:docs/get-started-quickstart-issue-580
Aug 30, 2026
Merged

docs(get-started): write /get-started/quickstart (DX-068)#637
IbrahimIjai merged 2 commits into
SO4-Markets:mainfrom
Ay-obami:docs/get-started-quickstart-issue-580

Conversation

@Ay-obami

Copy link
Copy Markdown
Contributor

Summary

Implements DX-068 (#580): the /get-started/quickstart page for docs.so4.market — the highest-traffic page on the site, covering wallet → testnet funds → first trade.

Clean-profile verification (acceptance criterion)

Every step was executed start to finish on a clean browser profile before the page was written:

  • Wallet: Freighter 5.46.0 (fresh install, fresh account)
  • Browser: fresh Chrome profile (Chromium, Linux)

Every UI string in the page was captured from that live run — no text was taken from memory or source.

What the page covers

A step-by-step procedure with numbered, TOC-linkable steps and <Steps> blocks:

  1. Install the Freighter wallet (described without a link — see dependency note)
  2. Connect the wallet — "Connect Wallet" → "Choose a supported Stellar wallet to continue." → Freighter "Detected" → "Connection Request"
  3. Switch Freighter to Testnet — fresh installs default to Mainnet
  4. Fund the account (friendbot) and claim test tokens
  5. Open a small position — 0.0005 TWBTC long → "Batch order submitted"
  6. Check the order — Orders tab row (Market / Type / Size / Trigger / Created)
  7. Cancel the order — "Order cancelled"

The two required failure callouts quote the real messages observed live:

  • Wrong network: Freighter shows "Freighter is set to Main Net / The transaction you're trying to sign is on Test Net. / Signing this transaction is not possible at the moment." with a Got it button.
  • No XLM for fees: the toast reads exactly "Transaction failed. Please try again." The fix (fund with friendbot first) is the page's step 4.

Honest notes about the current testnet deployment (reflected in the page)

  • The bulk Claim Test Tokens button fails on-chain on the current deployment (Error(Auth, ExistingValue)), surfacing the same "Transaction failed. Please try again." toast. The page directs readers to the per-token Claim buttons, which work (~8–12 s, toast "Test token claimed").
  • Orders are recorded on-chain but not executed into positions (the OrderVault client is pending integration, per the README status note), so the Positions tab shows "No open positions". Steps 6–7 therefore document the real observable flow (read the Orders row, then Cancel) instead of inventing a position row.
  • No screenshots: the content map discourages screenshots of things that change weekly (prices, fees), and every state was describable with exact text (DX-055 image conventions were not needed).
  • The closing section is titled "What happened" (the issue's "what just happened" contains the prose-lint-banned word "just"). It links to the pages that exist today: /concepts/liquidation, /concepts/funding-and-fees, /concepts/risk, and the glossary <Term>. /concepts/margin-and-leverage is not implemented yet, so no dead link is emitted.

Dependency — bundles DX-067 (#579)

This PR includes /get-started/introduction and its README status note from DX-067 (#579) because the quickstart links to the introduction and the two pages must land together for check:links to pass. If #579 lands separately first, this PR can be rebased to drop those files. (DX-067 is currently unmerged.)

DX-069 (#581, /get-started/wallets) is NOT a dependency and is not linked from this page (it does not exist yet). Once it lands, the "Install the Freighter wallet" step should be updated to link to /get-started/wallets.

Pre-existing main fixes required for check:content (included)

check:content was broken on main before this PR:

  • apps/docs/scripts/content.ts: headingEntries now returns the answer paragraph the glossary check requires (previously crashed on entry.answer.match).
  • apps/docs/scripts/check-content.ts and apps/docs/src/lib/content.ts: the /index home page is exempted from the sidebar orphan rule (it is intentionally not in the sidebar).

Verification

  • bun run --cwd apps/docs check:content — passes (29 pages, zero orphans, alphabetical glossary)
  • bun run --cwd apps/docs check:links — passes (29 pages, zero broken internal links)
  • Prose lint on the new page — 0 errors, 0 warnings (the overall lint:prose still reports pre-existing errors in main's developer pages, unrelated to this PR)
  • The page renders through the live static renderer: heading anchors, <Steps> lists, callout asides, and the glossary <Term> link all produce valid HTML

Closes #580

Walk through the first SO4 testnet trade with real observed UI text:
install Freighter, connect it, switch to Testnet, fund with friendbot,
claim a test token, submit a small order, and cancel it. Two failure
callouts quote the real messages: Freighter wrong-network rejection
("Freighter is set to Main Net / The transaction you are trying to sign
is on Test Net / Signing this transaction is not possible at the
moment.") and the no-XLM toast ("Transaction failed. Please try
again."). Document the current deployment honestly: orders are recorded
but not executed into positions, so the page points readers to the
Orders tab and the Cancel action.

Bundles DX-067 (/get-started/introduction) and its README status note
because the quickstart links to the introduction and the pages must land
together for check:links to pass. Fixes two pre-existing check:content
blockers on main: headingEntries returns the answer paragraph the
glossary check needs, and the /index home page is exempted from the
sidebar orphan rule.

Verified: check:content, check:links, and prose lint on the new page all
pass (lint:prose still reports pre-existing errors in main developer
pages, unrelated to this PR). Flow executed live on a clean profile:
Freighter 5.46.0 in a fresh Chrome profile.

Closes SO4-Markets#580
@vercel

vercel Bot commented Aug 30, 2026

Copy link
Copy Markdown

@Ay-obami is attempting to deploy a commit to the Ijai's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Aug 30, 2026

Copy link
Copy Markdown

@Ay-obami Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@IbrahimIjai
IbrahimIjai merged commit c547b5e into SO4-Markets:main Aug 30, 2026
1 of 4 checks passed
@grantfox-oss grantfox-oss Bot mentioned this pull request Aug 30, 2026
4 tasks
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.

DX-068: Write /get-started/quickstart

2 participants