[WEB-2057]fix: fixed page title reset #6779
[WEB-2057]fix: fixed page title reset #6779vamsikrishnamathala wants to merge 1 commit intopreviewfrom
Conversation
WalkthroughThis pull request updates how the document title is managed in the application. The Changes
Sequence Diagram(s)sequenceDiagram
participant RL as RootLayout
participant PH as PageHead
participant UPT as usePageTitle Hook
participant DOC as Document
RL->>PH: Render PageHead component
PH->>UPT: Invoke usePageTitle with (optional) title
alt Title provided
UPT-->>DOC: Set document.title to provided title
else No title provided
UPT-->>DOC: Set document.title to SITE_TITLE
end
Possibly related PRs
Suggested reviewers
Poem
Tip ⚡🧪 Multi-step agentic review comment chat (experimental)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🧰 Additional context used🧬 Code Definitions (1)web/app/layout.tsx (1)
⏰ Context from checks skipped due to timeout of 90000ms (2)
🔇 Additional comments (7)
✨ Finishing Touches
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. 🪧 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 (
|
|
Pull Request Linked with Plane Work Items
Comment Automatically Generated by Plane |
Description
Fixed page title reset while navigation.
Type of Change
Screenshots and Media (if applicable)
Test Scenarios
References
WEB-2057
Summary by CodeRabbit
New Features
Chores