Repository navigation
feat(home): restore the "Welcome back" heading to the top of the user home - #155
Conversation
… home
The user home default template put the greeting only in the bottom "it's
configurable" note. Bring the welcome back as a heading at the TOP (above the
chat composer), and leave just the config text at the bottom.
- UserWelcomeMarkdown: add `### Welcome back, {ownerName}` on top; drop the
duplicated greeting prefix from the bottom note.
- UserActivityHomeOverrideTest: assert the heading precedes the composer and the
config text stays at the bottom.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Restores the “Welcome back” greeting as a top-level heading in the default user home markdown template (shown when User.Body is empty), while keeping the bottom note focused on configurability, and updates tests to enforce the intended ordering.
Changes:
- Updated
UserWelcomeMarkdownto add### Welcome back, {ownerName}at the top and remove the duplicated greeting from the bottom configurable note. - Updated the home-template unit test to assert the heading appears before the composer, and that the “configurable” note remains after the regions.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| test/MeshWeaver.Graph.Test/UserActivityHomeOverrideTest.cs | Updates assertions to verify the welcome heading is above the composer and the configurable note remains at the bottom. |
| src/MeshWeaver.Graph/UserActivityLayoutAreas.cs | Adjusts the default welcome markdown template to place the greeting as a top heading and de-duplicate the bottom note text. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Test Results (shard 0)2 179 tests +657 2 174 ✅ +652 9m 25s ⏱️ + 6m 6s Results for commit ecaa7d0. ± Comparison against base commit 2ea6880. This pull request removes 1 and adds 658 tests. Note that renamed tests count towards both. |
Test Results 51 files + 1 51 suites +1 26m 7s ⏱️ + 7m 21s Results for commit ecaa7d0. ± Comparison against base commit 2ea6880. This pull request removes 1 and adds 900 tests. Note that renamed tests count towards both. |
The user home default template (
UserWelcomeMarkdown) had the greeting only in the bottom "it's configurable" note. This brings the welcome back as a heading at the top (above the chat composer) and leaves just the config text at the bottom.UserWelcomeMarkdown: add### Welcome back, {ownerName}on top; drop the duplicated greeting from the bottom note (+ doc comment).UserActivityHomeOverrideTest: assert the heading precedes the composer and the config text stays at the bottom.Verification
Release -warnaserrorbuild clean (0/0).UserActivityHomeOverrideTest: 11/11 pass.🤖 Generated with Claude Code