Conversation
* Docs for content page and CRUD operations for context * Docs for context * change page description * Update content/docs/platform/workflow/contexts.mdx Co-authored-by: DianaHackmamba <diana@hackmamba.io> * Update content/docs/platform/workflow/contexts.mdx Co-authored-by: DianaHackmamba <diana@hackmamba.io> * Update content/docs/platform/workflow/contexts.mdx Co-authored-by: DianaHackmamba <diana@hackmamba.io> * Update content/docs/platform/workflow/contexts.mdx Co-authored-by: DianaHackmamba <diana@hackmamba.io> * Update content/docs/platform/workflow/contexts.mdx Co-authored-by: DianaHackmamba <diana@hackmamba.io> * Update based on feedback * Update context based on Adam's feedback * Add new update * Update content/docs/platform/workflow/contexts.mdx Co-authored-by: DianaHackmamba <diana@hackmamba.io> * Update content/docs/platform/workflow/contexts.mdx Co-authored-by: DianaHackmamba <diana@hackmamba.io> * Update content/docs/platform/workflow/contexts.mdx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Content for the context page in the workflow section * Docs for the inbox with context page * Update the JS and React SDK guide * Update content/docs/platform/workflow/contexts/index.mdx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update content/docs/platform/inbox/configuration/inbox-with-context.mdx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update content/docs/platform/workflow/contexts/manage-contexts.mdx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Fixed code errors * Update docs for workflow trigger and Inbox to not upsert context but rather do findOrCreate, * Add contexts image * Update code block * fix: PR suggestions and issues --------- Co-authored-by: DianaHackmamba <diana@hackmamba.io> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Pawan Jain <jainpawan211199@gmail.com>
❌ Deploy Preview for docs-novu failed. Why did it fail? →
|
|
Caution Review failedThe pull request is closed. WalkthroughThis PR introduces comprehensive context functionality documentation across the Novu platform, adding context-specific API reference pages, workflow integration guides, and SDK documentation updates while also revising behavioral descriptions for credential handling and updating dependency versions. Changes
Sequence Diagram(s)sequenceDiagram
participant Workflow as Workflow
participant Context as Context Manager
participant Notification as Notification Service
participant Inbox as Inbox Component
rect rgb(200, 220, 255)
Note over Workflow,Inbox: Context Creation & Flow
end
Workflow->>Context: Create/Update Context (type, id, data)
Context-->>Workflow: Context stored
Workflow->>Notification: Trigger event with context key
Notification->>Context: Resolve context by key
Context-->>Notification: Return context data
rect rgb(200, 255, 220)
Note over Notification,Inbox: Context-Filtered Delivery
end
Notification->>Notification: Apply context in templates<br/>({{context.tenant}})
Notification->>Inbox: Send notification with contextKeys
Inbox->>Inbox: Filter messages by context scope
Inbox-->>Notification: Filtered view rendered
rect rgb(255, 240, 200)
Note over Workflow,Inbox: Context Persistence
end
Note over Context: Context persists across<br/>multiple workflows & calls
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes
Possibly related PRs
Suggested reviewers
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (12)
📒 Files selected for processing (32)
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. Comment |
Summary by CodeRabbit
Release Notes
New Features
Updates
Documentation