docs: add loadLastAgentConversation prop to CometChatMessageList (React Native)#390
Conversation
- Add prop to AI Quick Reference JSON - Add prop entry in Props section (boolean, default: false) - Enables automatic loading of the most recent agent conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
…ageList - Add loadLastAgentConversation prop documentation to props table with type, default, and description - Remove duplicate loadLastAgentConversation entry from optional props section - Add new code example demonstrating how to use loadLastAgentConversation to resume recent agent conversations - Consolidate prop definitions to eliminate redundancy and improve documentation clarity
Docs review — ✅ ApproveSingle-file additive PR documenting the new ✅ What passed (checked)
This change is mergeable as-is. 🔧 Pre-existing issues to fix (NOT introduced by this PR — flagging for a separate cleanup)Broken internal link —
Orphaned pages (exist but absent from
(The 🤖 Automated docs review (Mintlify link/redirect/content checks + API verification against released cometchat RN UIKit source). |
…pages to nav - Replace /ui-kit/react-native/getting-started (404) with /ui-kit/react-native/overview in campaigns.mdx and property-changes.mdx - Add calling-integration to Features group in docs.json (before call-features) - Add property-changes to Migration Guide group in docs.json Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
MDX does not allow <!-- --> syntax, causing parse failures on deploy. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
c62df69 to
fdf3472
Compare
jitvarpatil
left a comment
There was a problem hiding this comment.
Re-review — ✅ Approve
The original prop is correct and every pre-existing issue from the earlier review has been addressed. The PR grew from 1 file to 4, all improvements.
Resolved
- Broken
getting-startedlinks → fixed: both now point to/ui-kit/react-native/overview(valid) —campaigns.mdxandproperty-changes.mdx:666. Analyzer confirms 0 broken links (was 2). - Orphans → fixed:
ui-kit/react-native/calling-integrationand…/property-changesadded todocs.jsonnav (lines 1113, 1178). Analyzer confirms 0 orphans (was 2). loadLastAgentConversationprop — intact, all 3 mentions present (JSON quick-ref L65, usage example L689, props section L1062). Verified correct againstmaster-v5source (loadLastAgentConversation?: booleandefaultfalse).
Vale-linter changes — checked, safe
The new {/* vale off */}/{/* vale on */} MDX comments (replacing HTML comments) are valid JSX comments and correctly placed outside the ```json fence (vale-off at message-list.mdx:6 before the fence, vale-on at L122 after it) — they don't break the JSON block or rendering.
Structural
0 nav breaks, 0 orphans, 0 broken links, 0 missing redirects. The -109 redirect delta is just branch staleness (the PR only adds nav entries; removes no redirects) — a rebase on main would reconcile the count, but it's not a blocker.
LGTM. 🚀
🤖 Automated docs review (Mintlify link/redirect/content checks + API verification against cometchat RN UIKit master-v5 source).
Description
Added the
loadLastAgentConversationprop toCometChatMessageListdocumentation. This boolean prop enables automatic loading of the most recent agent conversation when set totrue.Type of Change
Changes Made
loadLastAgentConversationto the AI Quick Reference JSON (aiprops section)loadLastAgentConversationprop entry in the Props section (type:boolean, default:false)Checklist