-
Notifications
You must be signed in to change notification settings - Fork 405
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
Conversation
…ent.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this 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 |
ui/src/app/modules/status/widgets/update-info-widget/update-info-widget.component.html
Show resolved
Hide resolved
ui/src/app/modules/status/widgets/update-info-widget/update-info-widget.component.ts
Show resolved
Hide resolved
Co-Authored-By: Northern Man <19808920+NorthernMan54@users.noreply.github.com>
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
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