Skip to content

Conversation

@MantisClone
Copy link
Member

@MantisClone MantisClone commented Nov 21, 2025

Problem

The Invoicing use case page contained AI-generated warnings, marketing fluff, incorrect URLs, placeholder links, emoji titles, and suboptimal layout that undermined credibility and user experience.

Proposed Solution

Complete cleanup and restructuring of the page:

  • Removed AI warning and marketing language
  • Updated to benefits-focused, factual copy inspired by marketing page
  • Fixed EasyInvoice URL and removed incorrect claims
  • Converted Integration Approaches from tabs to card layout for better visibility
  • Added Info callout linking to integration comparison resource
  • Reordered and expanded Key API Features (8 features with proper links)
  • Replaced emoji in title with proper icon
  • Fixed quickstart step about payment processing
  • Removed em-dashes throughout
  • Updated all other use case pages to use icons instead of emojis

Considerations

  • Page serves as "bridge" between marketing and technical content
  • Text-first approach maintained (videos/demos added later)
  • Integration Approaches now use 2-column + full-width card layout
  • Some links are placeholders (#) until future pages created
  • Updated chain count from 10 to 9 (Fantom deprecated)
  • Template for cleaning up remaining 5 use case pages

Summary by CodeRabbit

  • Documentation
    • Removed the Create Requests & Query Status documentation page.
    • Reworked Invoicing into an API-centric guide: updated quickstart, demo cards, integration approaches, and feature descriptions (batch payments, conversion/price conversion, cross‑chain payment detection, webhooks/recurring flows, query/status guidance).
    • Normalized use-case pages: removed emoji prefixes and added icon metadata for Checkout, Invoicing, Payment Detection, Payouts, Payroll, and Subscriptions.

✏️ Tip: You can customize this high-level summary in your review settings.

✏️ Tip: You can customize this high-level summary in your review settings.

- Remove AI-generated warning
- Improve overview with benefits-focused copy
- Fix quickstart steps (payment processing clarity)
- Update demo section with correct EasyInvoice URL
- Convert integration approaches from tabs to card layout
- Add Info callout linking to integration comparison
- Update Key API Features (8 features, proper links, reordered)
- Improve What's Next section (3 focused cards)
- Replace emojis with proper icons in title
- Fix all em-dashes to normal dashes
- Add missing features: Query Requests, Payment Types Overview
- Update all other use case pages to use icons instead of emojis
Copilot AI review requested due to automatic review settings November 21, 2025 21:12
@coderabbitai
Copy link

coderabbitai bot commented Nov 21, 2025

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

Walkthrough

Removed a documentation page and standardized frontmatter across several use-case docs; the Invoicing page was substantially reworked to emphasize API-driven invoicing, update quickstart and demos, rename feature cards, and adjust links and descriptions.

Changes

Cohort / File(s) Summary
File Removal
api-features/create-requests-query-status.mdx
Removed the Create Requests & Query Status documentation page.
Frontmatter standardization
use-cases/checkout.mdx, use-cases/payment-detection.mdx, use-cases/payouts.mdx, use-cases/payroll.mdx, use-cases/subscriptions.mdx
Removed emoji from titles and added an icon field (e.g., "🛒 Checkout""Checkout" + icon: "cart-shopping"). No body content changes.
Invoicing content restructure
use-cases/invoicing.mdx
Normalized frontmatter (title/icon/description), rewrote overview and quickstart toward an API-centric flow, reworked demo cards and CardGroup, renamed key feature cards and sections, and updated links and wording throughout.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

  • Inspect use-cases/invoicing.mdx for link correctness, API references, and renamed card targets.
  • Verify no internal links point to the removed api-features/create-requests-query-status.mdx.
  • Confirm consistent icon names and frontmatter formatting across modified use-case files.

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Cleanup and improve Invoicing use case page' directly reflects the main change: the Invoicing use case page has been cleaned up and improved with better copy, layout, links, and formatting.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch docs/cleanup-invoicing-use-case

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4d6af66 and 557868d.

📒 Files selected for processing (1)
  • use-cases/invoicing.mdx (1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-10-30T20:43:28.152Z
Learnt from: MantisClone
Repo: RequestNetwork/mintlify-docs PR: 2
File: docs.json:114-114
Timestamp: 2025-10-30T20:43:28.152Z
Learning: The Request Network production OpenAPI specification is located at https://api.request.network/open-api/openapi.json (with hyphen in "open-api"), not at /openapi.json.

Applied to files:

  • use-cases/invoicing.mdx
🪛 GitHub Check: Mintlify Validation (requestnetwork) - vale-spellcheck
use-cases/invoicing.mdx

[warning] 4-4: use-cases/invoicing.mdx#L4
Did you really mean 'crypto'?


[warning] 9-9: use-cases/invoicing.mdx#L9
Did you really mean 'crypto'?


[warning] 13-13: use-cases/invoicing.mdx#L13
Did you really mean 'crypto'?


[warning] 41-41: use-cases/invoicing.mdx#L41
Did you really mean 'crypto'?

🔇 Additional comments (7)
use-cases/invoicing.mdx (7)

1-16: Well-structured frontmatter and overview.

The emoji-to-icon conversion, benefits-focused copy, and helpful tooltips set a good foundation. The mention of 9 EVM chains correctly reflects the Fantom deprecation.


18-30: Verify webhook endpoint link format.

Line 28 references /api-features/webhooks-events. Please confirm this is the correct path in your API documentation structure, as variations like /api-features/webhooks may also exist.


32-52: Clear demo section with good UX signposting.

The "What you'll see" checklist and bridging message set expectations well before integration options.


54-58: Verify integration-approaches resource page exists.

A past review flagged /resources/integration-approaches as non-existent and suggested using # as a placeholder. The current code still links to this path. Please confirm:

  1. If this documentation page was created (not mentioned in PR objectives)
  2. If this should be reverted to # as a temporary placeholder

If the page doesn't exist yet, update the link to # to match the placeholder pattern used elsewhere in the file (e.g., lines 80, 90, 176).


111-161: Verify all feature documentation links exist.

The Key API Features section links to several /api-features/ paths. Please confirm these documentation pages exist and the feature names match your API documentation:

  • /api-features/create-requests
  • /api-features/conversion-payments
  • /api-features/batch-payments
  • /api-features/recurring-payments
  • /api-features/payment-detection
  • /api-features/query-requests

If any of these pages don't exist, update the href to # as a placeholder (consistent with lines 80, 90, 176).


163-189: Verify final section links.

Please confirm these documentation pages exist:

  • /api-setup/getting-started (appears to be core setup page, likely exists)
  • /resources/supported-chains-and-currencies (important reference page)

If either doesn't exist, update to # as a placeholder. The "View Invoicing Examples" placeholder on line 176 is appropriate per PR objectives.


4-4: Static analysis warnings for "crypto" are false positives.

Vale's spell-check flagged "crypto" as potentially misspelled, but this is standard terminology in cryptocurrency/blockchain documentation. No action needed.

Also applies to: 9-9, 13-13, 41-41


Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

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

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)
use-cases/subscriptions.mdx (1)

149-149: Remove the broken card at lines 147-153.

The file api-features/create-requests-query-status.mdx was confirmed deleted in commit 19d9cbf. The card at lines 147-153 in subscriptions.mdx references this deleted file and must be removed before merge. No directly matching alternative exists in the available api-features files.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2efb991 and 19d9cbf.

📒 Files selected for processing (7)
  • api-features/create-requests-query-status.mdx (0 hunks)
  • use-cases/checkout.mdx (1 hunks)
  • use-cases/invoicing.mdx (1 hunks)
  • use-cases/payment-detection.mdx (1 hunks)
  • use-cases/payouts.mdx (1 hunks)
  • use-cases/payroll.mdx (1 hunks)
  • use-cases/subscriptions.mdx (1 hunks)
💤 Files with no reviewable changes (1)
  • api-features/create-requests-query-status.mdx
🧰 Additional context used
🪛 GitHub Check: Mintlify Validation (requestnetwork) - vale-spellcheck
use-cases/invoicing.mdx

[warning] 4-4: use-cases/invoicing.mdx#L4
Did you really mean 'crypto'?


[warning] 9-9: use-cases/invoicing.mdx#L9
Did you really mean 'crypto'?


[warning] 13-13: use-cases/invoicing.mdx#L13
Did you really mean 'crypto'?


[warning] 41-41: use-cases/invoicing.mdx#L41
Did you really mean 'crypto'?

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: Agent
🔇 Additional comments (12)
use-cases/payouts.mdx (1)

2-3: Metadata update is consistent with broader icon standardization.

The frontmatter changes (emoji removal and icon addition) align with the PR objective to standardize use-case page metadata. No issues detected.

use-cases/checkout.mdx (1)

2-3: Metadata standardization applied correctly.

Icon and title changes follow the same pattern as other use-case pages. No issues detected.

use-cases/payment-detection.mdx (1)

2-3: Metadata update follows standardization pattern.

Icon and title changes are consistent with other use-case page updates. No issues detected.

use-cases/payroll.mdx (1)

2-3: Metadata standardization applied consistently.

Icon and title changes match the broader use-case page update pattern. No issues detected.

use-cases/subscriptions.mdx (1)

2-3: Metadata update follows standardization pattern.

Icon and title changes are consistent with other use-case pages. No issues with these changes.

use-cases/invoicing.mdx (7)

2-5: Metadata update and description are appropriate.

Title emoji removal and icon addition align with standardization across use-case pages. Description update emphasizing API-driven workflow is clear and accurate.


7-16: Overview rewrite is well-focused and benefits-driven.

The new overview effectively communicates value propositions (permanent records, multi-currency flexibility, instant reconciliation, cross-chain support, webhook automation) with specific, quantifiable claims ("9 EVM chains and 150+ currencies"). Removal of AI-generated warning is appropriate.


18-30: Quickstart restructuring improves clarity with API-centric steps.

The streamlined three-step flow (Create Invoice → Process Payment → Track Payment) with direct links to API endpoints is more actionable than before. Links to /api-reference/request/create-request and /api-features/webhooks-events should be verified for validity.


52-105: Integration Approaches restructuring improves UX with card layout and comparison link.

The layout change from tabs to a 2-column card grid + full-width card (lines 56–105) enhances discoverability. The new Info callout (lines 52–54) directing users to a detailed integration comparison is helpful. Links to /api-features/create-requests and placeholder links (#) are intentional per PR objectives.


177-201: What's Next section appropriately reorganized with updated links.

Cards now point to:

  • /api-setup/getting-started (line 180)
  • Placeholder link # for code examples (line 188, intentional per PR objectives)
  • /resources/supported-chains-and-currencies (line 196)

All non-placeholder links should be verified. The placeholder at line 188 is intentional per PR objectives ("Left some links as placeholders (#) until future pages are created").


4-4: Static analysis spell-check warnings on "crypto" are false positives.

The Mintlify validation tool flags "crypto" as potentially misspelled on lines 4, 9, 13, and 41. However, "crypto" is correct and standard terminology in the context of cryptocurrency/blockchain documentation. These warnings can be safely ignored or the spell-checker configuration can be updated to allow this term.

Also applies to: 9-9, 13-13, 41-41


32-48: Inconsistent demo URLs verified across use-case pages.

The URL discrepancy identified in the review comment is confirmed:

  • invoicing.mdx (lines 38, 60, 70): https://easyinvoice.request.network
  • checkout.mdx (line 52): https://easy-invoice-demo.vercel.app/pay
  • payouts.mdx (line 60): https://easy-invoice-demo.vercel.app/payouts
  • payroll.mdx (line 53): https://easy-invoice-demo.vercel.app/payouts/batch
  • subscriptions.mdx (line 52): https://easy-invoice-demo.vercel.app/dashboard/subscriptions

Verify which URL is the canonical endpoint for your use case (easyinvoice.request.network vs. easy-invoice-demo.vercel.app), then update all pages consistently per the PR's "Fixed EasyInvoice URL" objective.

Copy link
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 modernizes the Invoicing use case documentation page by removing AI-generated warnings, marketing language, and placeholder content while establishing a consistent documentation pattern across all use case pages. The main changes replace emoji titles with proper icon properties, restructure the Integration Approaches section into a clearer card-based layout, expand the Key API Features section from 4 to 8 features with proper navigation links, and clean up the quickstart flow.

Key changes:

  • Replaced emoji-based titles with Font Awesome icons across 6 use case pages (invoicing, subscriptions, payroll, payouts, payment-detection, checkout)
  • Restructured invoicing.mdx with benefits-focused copy, expanded API features coverage, and improved integration approach presentation
  • Removed deprecated api-features/create-requests-query-status.mdx file

Reviewed changes

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

Show a summary per file
File Description
use-cases/invoicing.mdx Complete rewrite removing AI warnings and marketing fluff; restructured with 3-tier integration approach, 8 API features, and updated to reference 9 EVM chains
use-cases/subscriptions.mdx Removed emoji from title, added icon property to frontmatter
use-cases/payroll.mdx Removed emoji from title, added icon property to frontmatter
use-cases/payouts.mdx Removed emoji from title, added icon property to frontmatter
use-cases/payment-detection.mdx Removed emoji from title, added icon property to frontmatter
use-cases/checkout.mdx Removed emoji from title, added icon property to frontmatter
api-features/create-requests-query-status.mdx Deleted deprecated file (content split into separate focused pages)

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

@MantisClone MantisClone changed the title Docs - Cleanup and improve Invoicing use case page feat: Cleanup and improve Invoicing use case page Nov 21, 2025
Copy link

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

Actionable comments posted: 1

♻️ Duplicate comments (2)
use-cases/invoicing.mdx (2)

18-30: Resolve unresolved past review issue: incorrect API reference link.

Line 22 still references /api-reference/request/create-request, which was flagged in a past review as incorrect. This link path is inconsistent with the API feature structure elsewhere in the file (see line 112).

Apply this diff to correct the API reference link:

  <Step title="Create Invoice">
-   Call the [Create Request endpoint](/api-reference/request/create-request) with invoice details
+   Call the [Create Request endpoint](/api-features/create-requests) with invoice details
  </Step>

50-88: Change the integration approaches link to a placeholder until the page is created.

Line 53 references /resources/integration-approaches, which does not exist in the resources/ directory. Align with the pattern used elsewhere in this file by changing the link to #.

- [See our detailed comparison of integration approaches →](/resources/integration-approaches)
+ [See our detailed comparison of integration approaches →](#)
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 19d9cbf and cccee43.

📒 Files selected for processing (1)
  • use-cases/invoicing.mdx (1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-10-30T20:43:28.152Z
Learnt from: MantisClone
Repo: RequestNetwork/mintlify-docs PR: 2
File: docs.json:114-114
Timestamp: 2025-10-30T20:43:28.152Z
Learning: The Request Network production OpenAPI specification is located at https://api.request.network/open-api/openapi.json (with hyphen in "open-api"), not at /openapi.json.

Applied to files:

  • use-cases/invoicing.mdx
🪛 GitHub Check: Mintlify Validation (requestnetwork) - vale-spellcheck
use-cases/invoicing.mdx

[warning] 4-4: use-cases/invoicing.mdx#L4
Did you really mean 'crypto'?


[warning] 9-9: use-cases/invoicing.mdx#L9
Did you really mean 'crypto'?


[warning] 13-13: use-cases/invoicing.mdx#L13
Did you really mean 'crypto'?


[warning] 41-41: use-cases/invoicing.mdx#L41
Did you really mean 'crypto'?

🔇 Additional comments (3)
use-cases/invoicing.mdx (3)

1-16: Frontmatter and overview section looks good.

Icon properly replaces emoji, chain count correctly updated to 9 (Fantom deprecation), and content reframed to emphasize benefits. Note: the static analysis warnings about "crypto" are false positives—this is the correct technical terminology.


32-48: Demo section well-structured.

The EasyInvoice URL is correctly updated, and the "What you'll see" list sets clear expectations for users. Good practice.


159-185: Placeholder links are consistent with PR intent.

Lines 172 ("View Invoicing Examples" → #) uses a placeholder link in alignment with the PR's deferred-content strategy. Other links in this section correctly reference valid resources.

Copy link
Member Author

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

All issues addressed:

  • Fixed indentation on Build with API card
  • Fixed Create Request endpoint link path
  • Updated Recurring Invoices link to existing page
  • Kept Integration Approaches link as intentional placeholder (Issue #27 created)

Copy link

Copilot AI commented Nov 21, 2025

@MantisClone I've opened a new pull request, #30, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link

Copilot AI commented Nov 21, 2025

@MantisClone I've opened a new pull request, #31, to work on those changes. Once the pull request is ready, I'll request review from you.

MantisClone added a commit that referenced this pull request Nov 22, 2025
- Remove AI-generated content warning
- Update chain count from '10+ EVM chains' to accurate '9 EVM chains'
- Update currency count to '150+ currencies' for consistency
- Rewrite Overview to lead with problem/solution (crypto payments lack context)
- Add tooltips for technical terms (transaction hash, blockchain, webhook, confirmations)
- Update 'When to Use' cards with accurate counts and clearer copy
- Refine 'Common Scenarios' with minor improvements and tooltip
- Add Info callout linking to technical details (replaces deleted section)
- Update 'How Payment Detection Works' steps with tooltips
- Add Info callout explaining Payment Detection powers all use cases
- Remove 'Detection Features' section (technical details belong in API feature page)
- Remove 'Detection-Only vs Full Workflows' Tabs (confusing framing)
- Remove 'Implementation Example' code section (belongs in API Reference)
- Remove 'Supported Networks & Currencies' section (have dedicated page)
- Rename 'API Integration' to 'Key API Features for Payment Detection'
- Reorder and update API feature cards for clarity
- Update 'Next Steps' to 'What's Next?' with 3 focused cards
- Link to welcome page demo showing payment collision prevention
- Reduce page from ~310 lines to ~180 lines (42% reduction)

Follows template from Invoicing page cleanup (PR #26)
References Issue #29 and parent Issue #18
@MantisClone MantisClone merged commit df371b8 into main Nov 24, 2025
4 checks passed
@MantisClone MantisClone deleted the docs/cleanup-invoicing-use-case branch November 24, 2025 14:07
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.

Docs - Clean up Invoicing use case page

3 participants