Skip to content

Home dashboard: show hide welcome message header#51401

Merged
piitaya merged 9 commits intohome-assistant:devfrom
pcan08:home-dashboard-show-hide-welcome-message
Apr 9, 2026
Merged

Home dashboard: show hide welcome message header#51401
piitaya merged 9 commits intohome-assistant:devfrom
pcan08:home-dashboard-show-hide-welcome-message

Conversation

@pcan08
Copy link
Copy Markdown
Contributor

@pcan08 pcan08 commented Apr 3, 2026

Proposed change

Add the capability to show/hide the welcome message in home dashboard. Inspired by #51392

The goal is to allow to the user to hide this header without taking control of the dashboard, so that if the dashboard have update the user can have them.

Screenshots

image

Without

image

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue or discussion:
  • Link to documentation pull request:
  • Link to developer documentation pull request:
  • Link to backend pull request:

Checklist

  • I understand the code I am submitting and can explain how it works.
  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • I have followed the development checklist
  • I have followed the perfect PR recommendations
  • Any generated code has been carefully reviewed for correctness and compliance with project standards.

If user exposed functionality or configuration variables are added/changed:

To help with the load of incoming pull requests:

pcan08 and others added 2 commits April 3, 2026 17:38
Add a toggle in the edit overview dialog to show or hide the
"Welcome, [user]" greeting header on the home overview page,
following the same pattern as the existing summary enable/disable.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The welcome message is a greeting header, not a summary card, so it
now lives in a separate "Greeting" section above the "Summaries" section.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@wendevlin wendevlin requested a review from piitaya April 7, 2026 07:03
Copy link
Copy Markdown
Member

@piitaya piitaya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it make sense to have this customization 👍 I let some review comment for a proper implementation.

Also, we should think about the naming of this parameter. Should it be hide_welcome_message or show_welcome_message?

Comment thread src/data/frontend.ts Outdated
Comment thread src/panels/home/dialogs/dialog-edit-home.ts Outdated
@piitaya piitaya added Needs UX Items requiring a review from the Home Assistant design team and removed Needs UX Items requiring a review from the Home Assistant design team labels Apr 7, 2026
pcan08 and others added 3 commits April 7, 2026 18:38
Replace manual label/ha-switch markup with ha-form using a boolean
selector for better accessibility and consistency with the rest of
the codebase.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@marcinbauer-ohf
Copy link
Copy Markdown
Member

I'd propose a different approach. Since this is an onboarding/tip UI pattern, there could be more of them in the future in other places of HA. Showing a toggle to toggle it in every space that it can be shown I think it's a bit much.
My proposal would be to add a setting to the User preferences -> Reset onboarding tips that would show all tips that have been dismissed.

@piitaya
Copy link
Copy Markdown
Member

piitaya commented Apr 8, 2026

In that case, it's not a tip, it's the "welcome user" message at the top. It's not related to onboarding it's only a display preference.

@marcinbauer-ohf
Copy link
Copy Markdown
Member

marcinbauer-ohf commented Apr 8, 2026

Whaaaat sorry 🤦 mistaken this for the blue bar on the home dashboard 😄
As I can recall, @laupalombi @mbb365 talked about removing this at some point 🤔

@pcan08
Copy link
Copy Markdown
Contributor Author

pcan08 commented Apr 8, 2026

Here the last rendering

image

piitaya
piitaya previously approved these changes Apr 9, 2026
Copy link
Copy Markdown
Member

@piitaya piitaya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few feedback and the PR is ready to merge 🙂

Comment thread src/panels/home/dialogs/dialog-edit-home.ts Outdated
@piitaya piitaya dismissed their stale review April 9, 2026 07:46

Feedback

@piitaya piitaya merged commit cf1fb77 into home-assistant:dev Apr 9, 2026
12 checks passed
@balloob
Copy link
Copy Markdown
Member

balloob commented Apr 11, 2026

Guys, this config screen is now a visual mess. The original look was better than what got merged. I have included some cleanup in #51506

@piitaya
Copy link
Copy Markdown
Member

piitaya commented Apr 11, 2026

I suggested to use ha-form for this PR because it's the component we use for settings in general. The current issue is that Summaries is not using the same font-size and font-weight as the other form element.

We has 3 PRs for home page settings : welcome message, custom summaries and hide suggested entities.
I suggest to keep the settings as simple as possible for now and we can look to improve look and feel when all of this is merged. It's hard to iterate in 3 PRs at the same time.

marcinbauer-ohf pushed a commit to marcinbauer-ohf/frontend that referenced this pull request Apr 16, 2026
* Allow showing/hiding welcome message on home overview

Add a toggle in the edit overview dialog to show or hide the
"Welcome, [user]" greeting header on the home overview page,
following the same pattern as the existing summary enable/disable.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Move welcome message toggle into its own section in home editor

The welcome message is a greeting header, not a summary card, so it
now lives in a separate "Greeting" section above the "Summaries" section.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* rename hidden_welcome_message to hide_welcome_message

* Use ha-form boolean selector for welcome message toggle

Replace manual label/ha-switch markup with ha-form using a boolean
selector for better accessibility and consistency with the rest of
the codebase.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Add helper text to welcome message toggle in home editor

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Remove greeting section header

* Extract welcome message schema into a module-level constant

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@pcan08 pcan08 deleted the home-dashboard-show-hide-welcome-message branch April 25, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants