-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WEB-1116] fix: current version not displaying the latest content #5573
Conversation
WalkthroughThe changes involve modifications to several components within the web application, primarily focusing on the introduction of a new variable, Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant PageRoot
participant PageVersionsOverlay
participant PagesVersionEditor
User->>PageRoot: Interacts with editor
PageRoot->>PageVersionsOverlay: Passes currentVersionDescription
PageVersionsOverlay->>PagesVersionEditor: Passes currentVersionDescription
PagesVersionEditor->>PagesVersionEditor: Renders description based on currentVersionDescription
Poem
Tip Announcements
Recent review detailsConfiguration used: CodeRabbit UI Files selected for processing (1)
Files skipped from review as they are similar to previous changes (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 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 (
|
Problem:
When checking the current version from the version history list, the content is always outdated. It always displays the initial content that renders on the first page load.
Solution:
Updated the editor to display the content from
editorRef
, which always has the latest data, instead of reading from the store.Summary by CodeRabbit
New Features
Bug Fixes