feat(profile-page-settings): Enhance profile page with settings component#86
Merged
feat(profile-page-settings): Enhance profile page with settings component#86
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new βSidebar Organizerβ settings section to the Home Assistant profile page and wires up runtime injection of that component, along with a few related refactors and UI tweaks.
Changes:
- Introduces
so-profile-sectionLit component with actions (open settings dialog, clear cache, delete saved config). - Injects the new section into the profile/general panel via
DialogHandler+SidebarOrganizerpath detection. - Adds helper
clearBrowserCache()and small refactors/cleanup (removed some debug logs, renamed reorder helper, dialog CSS tweaks).
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| src/utilities/show-dialog-sidebar-organizer.ts | Removes debug logging when showing the dialog. |
| src/utilities/model/store.ts | Adds a side-effect import for the new profile section component. |
| src/utilities/model/dialog-handler.ts | Adds profile section injection logic and related imports/types. |
| src/utilities/dom-utils.ts | Adds clearBrowserCache() helper. |
| src/sidebar-organizer.ts | Detects profile route and triggers injection; exposes dialog manager; renames reorder helper; reload timeout tweak. |
| src/constants/index.ts | Adds profile route constants + regexp for matching profile paths. |
| src/constants/dom.ts | Adds profile/general element selectors used for injection. |
| src/components/so-profile-section.ts | New profile settings card component with actions. |
| src/components/sidebar-dialog.ts | Dialog CSS adjustments (sticky disabled; preview height tweak). |
π‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
github-actions Bot
pushed a commit
that referenced
this pull request
Mar 2, 2026
## [3.1.0-beta.3](v3.1.0-beta.2...v3.1.0-beta.3) (2026-03-02) ### Features * **profile-page-settings:** Enhance profile page with settings component ([#86](#86)) ([5eadb43](5eadb43))
|
π This PR is included in version 3.1.0-beta.3 π The release is available on GitHub release Your semantic-release bot π¦π |
github-actions Bot
pushed a commit
that referenced
this pull request
Mar 5, 2026
## [3.1.0](v3.0.2...v3.1.0) (2026-03-05) ### Features * **pinned-groups:** Add pinned groups functionality to sidebar ([#83](#83)) ([a4c53bf](a4c53bf)), closes [#82](#82) * **profile-page-settings:** Enhance profile page with settings component ([#86](#86)) ([5eadb43](5eadb43)) * **profile-section:** add download configuration action to export settings as YAML ([6778809](6778809)) ### Bug Fixes * **dialog:** migrates the sidebar configuration dialog to use ha-dialog ([#85](#85)) ([3244782](3244782)) ### Documentation * update readme with profile page config section ([13a18f4](13a18f4))
|
π This PR is included in version 3.1.0 π The release is available on GitHub release Your semantic-release bot π¦π |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduce a new settings component for the profile page and refactor methods for better clarity and variable scope.