Skip to content

Expand/Collapse State Saving for Update Information #2529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 9, 2025

Conversation

NorthernMan54
Copy link
Contributor

@NorthernMan54 NorthernMan54 commented Aug 8, 2025

Adds saving of the expand state for Update Information - Docker Information

Includes two methods of saving of the expand state

1 - Up and Down Chevron
2 - Update Information - Settings Modal

Screenshot 2025-08-08 at 9 32 19 AM

Improvements related to #2497

Please note that the option is only available when running in a Docker container

PS - To test feature in a non-docker environment, pls add these environment variables in your setup

declare -x DOCKER_HOMEBRIDGE_VERSION="2025-06-04"
declare -x HOMEBRIDGE_CONFIG_UI="1"

@NorthernMan54 NorthernMan54 requested a review from Copilot August 8, 2025 13:43
@github-actions github-actions bot added the beta Related to Beta Branch label Aug 8, 2025
Copilot

This comment was marked as outdated.

@NorthernMan54 NorthernMan54 requested a review from Copilot August 8, 2025 13:46
…ent.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds persistent state saving for the expand/collapse functionality of Docker information in the Update Information widget. Users can now control the expanded state through both the chevron icon and a new checkbox in the widget settings modal.

  • Adds expand/collapse state persistence for Docker container information display
  • Introduces widget settings modal checkbox for Docker information expansion control
  • Updates the interface to support storing the expanded state as part of widget configuration

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
ui/src/i18n/en.json Adds translation key for Docker expansion toggle option
ui/src/app/modules/status/widgets/update-info-widget/update-info-widget.component.ts Extends widget interface and implements state persistence for Docker expansion
ui/src/app/modules/status/widgets/update-info-widget/update-info-widget.component.html Updates template to use widget-stored expansion state and fixes chevron rotation logic
ui/src/app/modules/status/widget-control/widget-control.component.ts Adds server info retrieval to support conditional Docker settings display
ui/src/app/modules/status/widget-control/widget-control.component.html Adds checkbox control for Docker expansion state in widget settings
CHANGELOG.md Documents the new feature addition

@NorthernMan54 NorthernMan54 merged commit c94c825 into beta-5.4.2 Aug 9, 2025
3 checks passed
@NorthernMan54 NorthernMan54 deleted the Docker-Expand-Setting branch August 9, 2025 14:25
bwp91 added a commit that referenced this pull request Aug 10, 2025
Co-Authored-By: Northern Man <19808920+NorthernMan54@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta Related to Beta Branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants