[WEB-1972] fix: persist cycle and module Issue properties on page reload in Inbox#5190
Conversation
…oad the page in the inbox
WalkthroughThe recent updates to the Changes
Poem
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 as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- web/app/[workspaceSlug]/(projects)/notifications/page.tsx (3 hunks)
Additional comments not posted (3)
web/app/[workspaceSlug]/(projects)/notifications/page.tsx (3)
5-5: Import additions are necessary and correct.The additions of
useParamsanduseWorkspaceIssuePropertiesare appropriate for the new functionality.Also applies to: 18-18
21-21: Dynamic URL handling withuseParamsis appropriate.The use of
useParamsto extractworkspaceSlugfrom the URL is correct and necessary for handling different workspaces dynamically.
40-41: Fetching workspace issue properties withuseWorkspaceIssuePropertiesis correct.The integration of
useWorkspaceIssuePropertiesto fetch workspace issue properties based onworkspaceSlugis appropriate and enhances the component's responsiveness and context-awareness.
Problem Statement:
In the inbox, when we preview an issue, the modules and cycles are not rendering in the issue details upon reloading the page.
Solution:
We are retrieving workspace-level issue properties during the page load, which will resolve all persistent issues in the issue preview.
Changes:
Plane Issue:
[WEB-1972]
Summary by CodeRabbit
New Features
Improvements