Repository navigation
docs(react): Offline Support for the React UI Kit - #611
Draft
raj-dubey1 wants to merge 2 commits into
Draft
raj-dubey1 wants to merge 2 commits into
raj-dubey1 wants to merge 2 commits into
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WEaVigCRBjkftm78T25MQA
raj-dubey1
force-pushed
the
docs/uikit-offline-react
branch
from
November 16, 2026 12:29
c2a499c to
fce03e1
Compare
raj-dubey1
marked this pull request as draft
November 16, 2026 14:02
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XbguTt1cqFxTDQyroF6wHx
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's added
ui-kit/react/offline-support.mdx("Offline Support"):UIKitSettingsBuilder.setOfflineConfig();onErrorrules, thesend*promise andERROR_OFFLINE_MESSAGE_DISCARDED;ui:message/send-state-changedandui:offline/cache-resetevents;hideOfflineNotices, customerrorView/emptyViewwith theconnectToLoad/connectToSearchcontext fields, and 16 CSS variables;ui-kit/react/core-features.mdx, in the same table format as the other features, linking to the new page. It is also added to the page's quick-reference feature list.docs.jsongets the new page in React v7 → Features → Chat, right aftercore-features. The v6 and older tabs are unchanged.ui-kit/react/llms-react-v7.mdxunder "Core & configuration".It links to the JavaScript SDK offline pages (
sdk/javascript/offline-*) for config options, the outbox, sync, media caching and encryption, and does not repeat them.Written against
@cometchat/chat-uikit-react7.3.0 (package.json), branchfeature/offline-reworkat046de6c9c, plus its release-notes draftdocs/release-notes/7.3.0-offline.md./sdk/javascript/offline-support, which no longer exists, now points to the current SDK pages.Checks
python3 -m json.tool docs.json: valid.#anchorin the three changed pages resolves to an existing.mdxfile and heading.mint broken-links(mint 4.2.881): 3 broken links in 2 files, all already onmain(/llms.txtand/llms-full.txtindesign-system.mdxandllms-index.mdx). None are in the changed files.Needs confirmation
package.json; the release notes are still marked "draft") and JavaScript Chat SDK 4.3.0 as the minimum for offline. The kit's peer range stays^4.2.0.onErroris called. This matches the kit code (useMessageListActions.ts,useCometChatMessageComposer.ts) and the SDK page "Edits, Deletes, and Reactions Need a Connection". Please confirm this is the intended product message for 7.3.0.initFromSettingsnot documented. It also accepts an offline config, but it is marked@internalin the kit, so the page leaves it out.notifications_offline_banner("You are offline. Showing cached notifications.") exists in the locale files but no component uses it, so it is not documented.🤖 Generated with Claude Code
https://claude.ai/code/session_01WEaVigCRBjkftm78T25MQA