Skip to content

[Docs] Enhance b2c use cases and solution patterns#3024

Merged
ThaminduDilshan merged 1 commit into
thunder-id:mainfrom
ThaminduDilshan:thamindu-docs
May 27, 2026
Merged

[Docs] Enhance b2c use cases and solution patterns#3024
ThaminduDilshan merged 1 commit into
thunder-id:mainfrom
ThaminduDilshan:thamindu-docs

Conversation

@ThaminduDilshan
Copy link
Copy Markdown
Member

@ThaminduDilshan ThaminduDilshan commented May 26, 2026

Purpose

This pull request makes improvements to the B2C use cases documentation adding new use cases/ solution patterns and restructuring to improve clarity, organization, and coverage of solution patterns.

Approach

  • Added 3 new primary use cases and 1 more cross cutting capability:
    • Handle Account Closure
    • Defend Against Abuse and Risk
    • Gain Identity Insights
    • Localization (cross cutting capability)
  • Restructured the solution patterns documentation.
  • Introduced 4 more supporting patterns;
    • Session and Token Strategy
    • Run, Observe, and Integrate
      • Identity-as-Code
      • Resilience and Multi-Region Deployment
      • Activity Monitoring and Audit

Related Issues

Related PRs

  • N/A

Checklist

  • Followed the contribution guidelines.
  • Manual test round performed and verified.
  • Documentation provided. (Add links if there are any)
    • Ran Vale and fixed all errors and warnings
  • Tests provided. (Add links if there are any)
    • Unit Tests
    • Integration Tests
  • Breaking changes. (Fill if applicable)
    • Breaking changes section filled.
    • breaking change label added.

Security checks

  • Followed secure coding standards in WSO2 Secure Coding Guidelines
  • Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets.

Summary by CodeRabbit

  • Documentation

    • Expanded B2C guidance with new sections: account closure, abuse defense, identity insights, localization, and richer privacy details.
    • Reorganized solution patterns and roadmap content; streamlined "Where to Start" flow and expanded sessions/tokens/API and observability guidance.
    • Clarified and relabeled pattern variants across walkthroughs as “(verbose flow)” vs “(non-verbose flow)”; refined introductory wording and step formatting.
    • Added an Integration Approaches roadmap view.
  • Style

    • Updated editorial vocabulary/term list for consistency.

Review Change Stack

@ThaminduDilshan ThaminduDilshan added documentation Improvements or additions to documentation Type/Improvement Type/Docs skip-changelog Skip generating changelog for a particular PR labels May 26, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 26, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

This PR updates B2C customer identity and solution patterns documentation with expanded use-case coverage, restructured architectural guidance, standardized flow terminology across walkthrough pages, and extended roadmap navigation components to align with the documented use-case landscape.

Changes

B2C Use-Case Documentation Refresh

Layer / File(s) Summary
Customer Identity Use-Case Expansion and New Sections
docs/content/use-cases/b2c/customer-identity.mdx
Rewrites introductory B2C identity narrative and rephrases core use-case guidance for self sign-up, profile management, account recovery, and internal onboarding. Adds three new major use-case sections: Handle Account Closure, Defend Against Abuse and Risk, and Gain Identity Insights, each with capability bullet lists. Introduces Localization section and expands Privacy with broader rights, self-service request options, and preference-center coverage.
Solution Patterns and Architectural Guidance
docs/content/use-cases/b2c/solution-patterns.mdx
Restructures documentation with new "Where to Start" decision flow and roadmap import. Renames App-native flow variants to distinguish verbose and non-verbose flows. Reorganizes sections into Identity Sources and Data, Tokens, Sessions, and APIs (session/token strategy and API protection), and Run, Observe, and Integrate (Identity-as-Code, resilience/multi-region, activity monitoring). Adds Data residency to cross-cutting choices.
App-Native Flow Terminology Standardization
docs/content/use-cases/b2c/try-it-out/*.mdx
Applies consistent "(verbose flow)" and "(non-verbose flow)" labels across try-it-out pages (account-recovery, add-login, profile-section, self-sign-up, onboard-internal-users) and adjusts redirect-based step wording/endpoint formatting.
Roadmap Navigation Component Extension
docs/src/components/B2CIdentityJourney.tsx
Extends roadmapNodes with Close Accounts, Defend Against Abuse, Identity Insights. Expands solutionPatternNodes with Integration Approaches, Identity Sources, Tokens & APIs, Run & Observe, Cross-Cutting. Moves Redirect/App-Native/Direct API into a new integrationApproachNodes array and exports B2CIntegrationApproachesRoadmap.
Supporting Documentation Updates
docs/content/use-cases/b2c/configure-it-yourself.mdx, docs/content/use-cases/b2c/identity-concepts.mdx, .vale/styles/config/vocabularies/vocab/accept.txt
Reformats configure-it-yourself intro into a bulleted anchor list, tweaks identity-concepts frontmatter description wording, and adds Vale accepted vocabulary entries for [Ss]harding and Failover.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • thunder-id/thunderid#2989 — Shares updates to B2CIdentityJourney.tsx roadmap data and B2C identity content; related component/data overlap.
  • thunder-id/thunderid#2828 — Prior changes to B2CIdentityJourney.tsx that introduced roadmap components/datasets; closely related to the roadmap restructuring here.
  • thunder-id/thunderid#1703 — Earlier PR that added B2C customer-identity content this PR updates and expands.

Suggested reviewers

  • DonOmalVindula
  • brionmario
  • himeshsiriwardana
  • darshanasbg
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: enhancing B2C use cases and solution patterns documentation. It directly aligns with the primary objective of the PR.
Description check ✅ Passed The description is mostly complete with clear Purpose and Approach sections detailing new use cases, cross-cutting capabilities, and supporting patterns. However, the Checklist items remain unchecked and security checks are not confirmed, which are required template elements.
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

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

docs/content/use-cases/b2c/configure-it-yourself.mdx

ESLint skipped: missing config or dependency (missing-dependency). The ESLint configuration references a package that is not available in the sandbox.

docs/content/use-cases/b2c/customer-identity.mdx

ESLint skipped: the ESLint configuration for this file references a package that is not available in the sandbox.

docs/content/use-cases/b2c/identity-concepts.mdx

ESLint skipped: the ESLint configuration for this file references a package that is not available in the sandbox.

  • 7 others

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.

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.

Actionable comments posted: 1

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

Inline comments:
In `@docs/content/use-cases/b2c/customer-identity.mdx`:
- Line 118: Replace the unhyphenated compound modifier "consumer self sign-up"
with the hyphenated form "consumer self-sign-up" in the sentence that begins
"Behind every consumer product..." so the phrase reads "consumer self-sign-up"
for grammatical consistency; update that occurrence and any other identical
instances in the same document to use the hyphenated compound modifier.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: a839bceb-ed27-47d4-a8c3-78c85f6e4da6

📥 Commits

Reviewing files that changed from the base of the PR and between 24d4d00 and ef02721.

📒 Files selected for processing (10)
  • docs/content/use-cases/b2c/configure-it-yourself.mdx
  • docs/content/use-cases/b2c/customer-identity.mdx
  • docs/content/use-cases/b2c/identity-concepts.mdx
  • docs/content/use-cases/b2c/solution-patterns.mdx
  • docs/content/use-cases/b2c/try-it-out/account-recovery.mdx
  • docs/content/use-cases/b2c/try-it-out/add-login.mdx
  • docs/content/use-cases/b2c/try-it-out/onboard-internal-users.mdx
  • docs/content/use-cases/b2c/try-it-out/profile-section.mdx
  • docs/content/use-cases/b2c/try-it-out/self-sign-up.mdx
  • docs/src/components/B2CIdentityJourney.tsx

Comment thread docs/content/use-cases/b2c/customer-identity.mdx
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.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docs/src/components/B2CIdentityJourney.tsx (1)

186-198: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Align integration approach labels with documented naming convention.

Line 186 and Line 197 use Redirect-Based / App-Native, but the docs convention uses Redirect-based / App-native for consistency across pages and roadmaps.

Suggested fix
   {
     href: '`#redirect-based`',
-    label: 'Redirect-Based',
+    label: 'Redirect-based',
     icon: (
       <svg viewBox="0 0 24 24">
@@
   {
     href: '`#app-native`',
-    label: 'App-Native',
+    label: 'App-native',
     icon: (
       <svg viewBox="0 0 24 24">

As per coding guidelines, keep the three approach names consistent across docs: “Redirect-based”, “App-native”, and “Direct API”.

🤖 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/src/components/B2CIdentityJourney.tsx` around lines 186 - 198, Update
the approach labels to match docs convention by changing the label values used
in the B2CIdentityJourney component: replace "Redirect-Based" with
"Redirect-based" and "App-Native" with "App-native" (and verify the third
approach is "Direct API" elsewhere if present) so the label strings in the
icon/label objects align with the documented naming convention.
🧹 Nitpick comments (1)
docs/src/components/B2CIdentityJourney.tsx (1)

220-263: ⚡ Quick win

Extract shared roadmap nav rendering to avoid triplicated JSX.

B2CIdentityJourneyRoadmap, B2CSolutionPatternsRoadmap, and B2CIntegrationApproachesRoadmap all duplicate the same render structure. A tiny shared renderer improves maintainability and reduces drift risk.

Suggested refactor
+function B2CRoadmapNav({ nodes, ariaLabel }: { nodes: RoadmapNode[]; ariaLabel: string }) {
+  return (
+    <nav className="uc-b2c-roadmap" aria-label={ariaLabel}>
+      {nodes.map((node) => (
+        <a key={node.href} href={node.href} className="uc-b2c-roadmap__node">
+          <span className="uc-b2c-roadmap__icon" aria-hidden>
+            {node.icon}
+          </span>
+          <span className="uc-b2c-roadmap__label">{node.label}</span>
+        </a>
+      ))}
+    </nav>
+  );
+}
+
 export function B2CIdentityJourneyRoadmap() {
-  return (
-    <nav className="uc-b2c-roadmap" aria-label="B2C identity use case roadmap">
-      {roadmapNodes.map((node) => (
-        <a key={node.href} href={node.href} className="uc-b2c-roadmap__node">
-          <span className="uc-b2c-roadmap__icon" aria-hidden>
-            {node.icon}
-          </span>
-          <span className="uc-b2c-roadmap__label">{node.label}</span>
-        </a>
-      ))}
-    </nav>
-  );
+  return <B2CRoadmapNav nodes={roadmapNodes} ariaLabel="B2C identity use case roadmap" />;
 }
@@
 export function B2CSolutionPatternsRoadmap() {
-  return (
-    <nav className="uc-b2c-roadmap" aria-label="B2C solution pattern roadmap">
-      {solutionPatternNodes.map((node) => (
-        <a key={node.href} href={node.href} className="uc-b2c-roadmap__node">
-          <span className="uc-b2c-roadmap__icon" aria-hidden>
-            {node.icon}
-          </span>
-          <span className="uc-b2c-roadmap__label">{node.label}</span>
-        </a>
-      ))}
-    </nav>
-  );
+  return <B2CRoadmapNav nodes={solutionPatternNodes} ariaLabel="B2C solution pattern roadmap" />;
 }
@@
 export function B2CIntegrationApproachesRoadmap() {
-  return (
-    <nav className="uc-b2c-roadmap" aria-label="B2C integration approaches roadmap">
-      {integrationApproachNodes.map((node) => (
-        <a key={node.href} href={node.href} className="uc-b2c-roadmap__node">
-          <span className="uc-b2c-roadmap__icon" aria-hidden>
-            {node.icon}
-          </span>
-          <span className="uc-b2c-roadmap__label">{node.label}</span>
-        </a>
-      ))}
-    </nav>
-  );
+  return <B2CRoadmapNav nodes={integrationApproachNodes} ariaLabel="B2C integration approaches roadmap" />;
 }
🤖 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/src/components/B2CIdentityJourney.tsx` around lines 220 - 263, Create a
single reusable Roadmap component and have B2CIdentityJourneyRoadmap,
B2CSolutionPatternsRoadmap, and B2CIntegrationApproachesRoadmap delegate to it:
implement a Roadmap({nodes, ariaLabel}) renderer that returns the shared <nav
className="uc-b2c-roadmap" aria-label={ariaLabel}> and maps nodes to anchors
using node.href as key and rendering node.icon and node.label inside the
existing span structure, then update B2CIdentityJourneyRoadmap to call <Roadmap
nodes={roadmapNodes} ariaLabel="B2C identity use case roadmap" />,
B2CSolutionPatternsRoadmap to call <Roadmap nodes={solutionPatternNodes}
ariaLabel="B2C solution pattern roadmap" />, and B2CIntegrationApproachesRoadmap
to call <Roadmap nodes={integrationApproachNodes} ariaLabel="B2C integration
approaches roadmap" /> so the classNames, keys, and inner markup remain
identical.
🤖 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.

Outside diff comments:
In `@docs/src/components/B2CIdentityJourney.tsx`:
- Around line 186-198: Update the approach labels to match docs convention by
changing the label values used in the B2CIdentityJourney component: replace
"Redirect-Based" with "Redirect-based" and "App-Native" with "App-native" (and
verify the third approach is "Direct API" elsewhere if present) so the label
strings in the icon/label objects align with the documented naming convention.

---

Nitpick comments:
In `@docs/src/components/B2CIdentityJourney.tsx`:
- Around line 220-263: Create a single reusable Roadmap component and have
B2CIdentityJourneyRoadmap, B2CSolutionPatternsRoadmap, and
B2CIntegrationApproachesRoadmap delegate to it: implement a Roadmap({nodes,
ariaLabel}) renderer that returns the shared <nav className="uc-b2c-roadmap"
aria-label={ariaLabel}> and maps nodes to anchors using node.href as key and
rendering node.icon and node.label inside the existing span structure, then
update B2CIdentityJourneyRoadmap to call <Roadmap nodes={roadmapNodes}
ariaLabel="B2C identity use case roadmap" />, B2CSolutionPatternsRoadmap to call
<Roadmap nodes={solutionPatternNodes} ariaLabel="B2C solution pattern roadmap"
/>, and B2CIntegrationApproachesRoadmap to call <Roadmap
nodes={integrationApproachNodes} ariaLabel="B2C integration approaches roadmap"
/> so the classNames, keys, and inner markup remain identical.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: ccea7091-331f-4b92-be0c-98c5ba8d4597

📥 Commits

Reviewing files that changed from the base of the PR and between ef02721 and 3c86a1a.

📒 Files selected for processing (11)
  • .vale/styles/config/vocabularies/vocab/accept.txt
  • docs/content/use-cases/b2c/configure-it-yourself.mdx
  • docs/content/use-cases/b2c/customer-identity.mdx
  • docs/content/use-cases/b2c/identity-concepts.mdx
  • docs/content/use-cases/b2c/solution-patterns.mdx
  • docs/content/use-cases/b2c/try-it-out/account-recovery.mdx
  • docs/content/use-cases/b2c/try-it-out/add-login.mdx
  • docs/content/use-cases/b2c/try-it-out/onboard-internal-users.mdx
  • docs/content/use-cases/b2c/try-it-out/profile-section.mdx
  • docs/content/use-cases/b2c/try-it-out/self-sign-up.mdx
  • docs/src/components/B2CIdentityJourney.tsx
✅ Files skipped from review due to trivial changes (8)
  • docs/content/use-cases/b2c/try-it-out/onboard-internal-users.mdx
  • .vale/styles/config/vocabularies/vocab/accept.txt
  • docs/content/use-cases/b2c/identity-concepts.mdx
  • docs/content/use-cases/b2c/try-it-out/add-login.mdx
  • docs/content/use-cases/b2c/configure-it-yourself.mdx
  • docs/content/use-cases/b2c/try-it-out/self-sign-up.mdx
  • docs/content/use-cases/b2c/try-it-out/profile-section.mdx
  • docs/content/use-cases/b2c/try-it-out/account-recovery.mdx

@codecov
Copy link
Copy Markdown

codecov Bot commented May 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Comment thread docs/content/use-cases/b2c/customer-identity.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.

Actionable comments posted: 1

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

Inline comments:
In `@docs/content/use-cases/b2c/customer-identity.mdx`:
- Around line 137-190: The introductory cross-cutting paragraph still says “five
core use cases” but three new primary use-case sections were added; update that
phrasing to the correct count (“eight core use cases”) or change to a
non-numeric phrase (e.g., “several core use cases”) in the page intro (the
cross-cutting intro that currently contains “five core use cases”) so the intro
matches the new sections and maintains existing doc style and tone.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 77405ac7-19e0-4e91-b35f-121a12d62894

📥 Commits

Reviewing files that changed from the base of the PR and between 3c86a1a and b0c2cec.

📒 Files selected for processing (11)
  • .vale/styles/config/vocabularies/vocab/accept.txt
  • docs/content/use-cases/b2c/configure-it-yourself.mdx
  • docs/content/use-cases/b2c/customer-identity.mdx
  • docs/content/use-cases/b2c/identity-concepts.mdx
  • docs/content/use-cases/b2c/solution-patterns.mdx
  • docs/content/use-cases/b2c/try-it-out/account-recovery.mdx
  • docs/content/use-cases/b2c/try-it-out/add-login.mdx
  • docs/content/use-cases/b2c/try-it-out/onboard-internal-users.mdx
  • docs/content/use-cases/b2c/try-it-out/profile-section.mdx
  • docs/content/use-cases/b2c/try-it-out/self-sign-up.mdx
  • docs/src/components/B2CIdentityJourney.tsx
✅ Files skipped from review due to trivial changes (6)
  • docs/content/use-cases/b2c/identity-concepts.mdx
  • docs/content/use-cases/b2c/configure-it-yourself.mdx
  • .vale/styles/config/vocabularies/vocab/accept.txt
  • docs/content/use-cases/b2c/try-it-out/account-recovery.mdx
  • docs/content/use-cases/b2c/try-it-out/self-sign-up.mdx
  • docs/content/use-cases/b2c/try-it-out/profile-section.mdx
🚧 Files skipped from review as they are similar to previous changes (4)
  • docs/content/use-cases/b2c/try-it-out/onboard-internal-users.mdx
  • docs/content/use-cases/b2c/try-it-out/add-login.mdx
  • docs/src/components/B2CIdentityJourney.tsx
  • docs/content/use-cases/b2c/solution-patterns.mdx

Comment thread docs/content/use-cases/b2c/customer-identity.mdx
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.

Actionable comments posted: 1

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

Inline comments:
In `@docs/content/use-cases/b2c/customer-identity.mdx`:
- Line 141: Update the paragraph that begins "A clean closure flow gives the
user a self-service path..." to separate suspension/deactivation outcomes from
deletion/expiration outcomes: state that suspension/deactivation (including
admin-initiated suspension) blocks sign-in and records a reason but does not
immediately remove user data, while deletion/expiration flows remove account
data in accordance with the configured retention policy and prior notice; ensure
the wording references the existing phrases "self-service path",
"admin-initiated suspension", and "retention policy" so reviewers can find and
replace the original combined sentence with two clear outcome statements.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: e0048fbd-5bfa-4674-bdbe-ee2480008640

📥 Commits

Reviewing files that changed from the base of the PR and between b0c2cec and 1e2b2da.

📒 Files selected for processing (11)
  • .vale/styles/config/vocabularies/vocab/accept.txt
  • docs/content/use-cases/b2c/configure-it-yourself.mdx
  • docs/content/use-cases/b2c/customer-identity.mdx
  • docs/content/use-cases/b2c/identity-concepts.mdx
  • docs/content/use-cases/b2c/solution-patterns.mdx
  • docs/content/use-cases/b2c/try-it-out/account-recovery.mdx
  • docs/content/use-cases/b2c/try-it-out/add-login.mdx
  • docs/content/use-cases/b2c/try-it-out/onboard-internal-users.mdx
  • docs/content/use-cases/b2c/try-it-out/profile-section.mdx
  • docs/content/use-cases/b2c/try-it-out/self-sign-up.mdx
  • docs/src/components/B2CIdentityJourney.tsx
✅ Files skipped from review due to trivial changes (5)
  • docs/content/use-cases/b2c/try-it-out/onboard-internal-users.mdx
  • .vale/styles/config/vocabularies/vocab/accept.txt
  • docs/content/use-cases/b2c/try-it-out/account-recovery.mdx
  • docs/content/use-cases/b2c/try-it-out/add-login.mdx
  • docs/content/use-cases/b2c/try-it-out/self-sign-up.mdx
🚧 Files skipped from review as they are similar to previous changes (4)
  • docs/content/use-cases/b2c/configure-it-yourself.mdx
  • docs/content/use-cases/b2c/identity-concepts.mdx
  • docs/content/use-cases/b2c/solution-patterns.mdx
  • docs/src/components/B2CIdentityJourney.tsx

Comment thread docs/content/use-cases/b2c/customer-identity.mdx
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/content/use-cases/b2c/customer-identity.mdx (1)

193-193: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Update the use-case count to match the new structure.

Line 193 still references "five core use cases," but the document now includes eight primary use-case sections (the original five plus three new sections added in this PR). Either update to "eight core use cases" or use a non-numeric phrasing like "Beyond the core use cases" to avoid future maintenance.

Suggested fix
-Beyond the five core use cases, a few capabilities span them all. They are not separate journeys but choices and behaviors that shape sign-in, self sign-up, profile management, recovery, and invitation flows in similar ways. Treat them as decisions you make once and apply consistently.
+Beyond the core use cases, a few capabilities span them all. They are not separate journeys but choices and behaviors that shape sign-in, self sign-up, profile management, recovery, and invitation flows in similar ways. Treat them as decisions you make once and apply consistently.

As per coding guidelines: "Review documentation changes for: Technical accuracy ... Consistency: does the style match existing documentation?"

🤖 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/content/use-cases/b2c/customer-identity.mdx` at line 193, Update the
sentence that reads "Beyond the five core use cases, ..." to reflect the new
structure by replacing "five core use cases" with "eight core use cases" or use
a non-numeric phrase such as "Beyond the core use cases"; locate the exact
sentence in the customer identity document (the paragraph starting "Beyond the
five core use cases, a few capabilities span them all.") and make the
replacement so the count matches the added sections.
🤖 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/content/use-cases/b2c/customer-identity.mdx`:
- Line 193: Update the sentence that reads "Beyond the five core use cases, ..."
to reflect the new structure by replacing "five core use cases" with "eight core
use cases" or use a non-numeric phrase such as "Beyond the core use cases";
locate the exact sentence in the customer identity document (the paragraph
starting "Beyond the five core use cases, a few capabilities span them all.")
and make the replacement so the count matches the added sections.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: fcf47c85-1931-4228-a1df-dbb312c4fcd4

📥 Commits

Reviewing files that changed from the base of the PR and between 1e2b2da and 98042b7.

📒 Files selected for processing (11)
  • .vale/styles/config/vocabularies/vocab/accept.txt
  • docs/content/use-cases/b2c/configure-it-yourself.mdx
  • docs/content/use-cases/b2c/customer-identity.mdx
  • docs/content/use-cases/b2c/identity-concepts.mdx
  • docs/content/use-cases/b2c/solution-patterns.mdx
  • docs/content/use-cases/b2c/try-it-out/account-recovery.mdx
  • docs/content/use-cases/b2c/try-it-out/add-login.mdx
  • docs/content/use-cases/b2c/try-it-out/onboard-internal-users.mdx
  • docs/content/use-cases/b2c/try-it-out/profile-section.mdx
  • docs/content/use-cases/b2c/try-it-out/self-sign-up.mdx
  • docs/src/components/B2CIdentityJourney.tsx
✅ Files skipped from review due to trivial changes (5)
  • docs/content/use-cases/b2c/configure-it-yourself.mdx
  • docs/content/use-cases/b2c/try-it-out/add-login.mdx
  • docs/content/use-cases/b2c/try-it-out/onboard-internal-users.mdx
  • docs/content/use-cases/b2c/try-it-out/account-recovery.mdx
  • docs/content/use-cases/b2c/solution-patterns.mdx
🚧 Files skipped from review as they are similar to previous changes (2)
  • docs/content/use-cases/b2c/identity-concepts.mdx
  • docs/src/components/B2CIdentityJourney.tsx

@ThaminduDilshan ThaminduDilshan disabled auto-merge May 27, 2026 14:36
@ThaminduDilshan ThaminduDilshan added this pull request to the merge queue May 27, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 27, 2026
@ThaminduDilshan ThaminduDilshan added this pull request to the merge queue May 27, 2026
Merged via the queue into thunder-id:main with commit 090d450 May 27, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation skip-changelog Skip generating changelog for a particular PR Type/Docs Type/Improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants