feat: editor switch to liveblocks#52
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Caution Review failedThe pull request is closed. WalkthroughThis update spans several parts of the application. In the policies dashboard, components now pass a Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant L as Layout Component
participant P as Providers
participant H as usePolicy Hook
participant LB as LiveblocksProvider/RoomProvider
U->>L: Request policies dashboard (with ID)
L->>P: Render Providers with policyId
P->>H: Fetch policy data using policyId
H-->>P: Return policy content & session info
P->>LB: Construct roomId and wrap children
LB-->>P: Initialize live collaboration session
P-->>L: Render children with live features
sequenceDiagram
participant U as User
participant PP as PolicyPage
participant A as useAction
participant T as Toast
U->>PP: Click publish button
PP->>A: Execute publish action
A-->>PP: Return success response
PP->>T: Trigger success toast notification
T-->>U: Display publish confirmation
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (16)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit
New Features
Refactor
Style