Skip to content

Conversation

@bgoncal
Copy link
Member

@bgoncal bgoncal commented Jan 7, 2026

Introduces EntityConfigurationWebView for entity configuration via web view. Integrates a toolbar button in EntityMoreInfoDialogView to present the new configuration view as a sheet.

Summary

Screenshots

Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#

Any other notes

Introduces EntityConfigurationWebView for entity configuration via web view. Integrates a toolbar button in EntityMoreInfoDialogView to present the new configuration view as a sheet.
Copilot AI review requested due to automatic review settings January 7, 2026 01:21
@bgoncal bgoncal enabled auto-merge (squash) January 7, 2026 01:21
@bgoncal bgoncal self-assigned this Jan 7, 2026
Copy link
Contributor

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 introduces a new EntityConfigurationWebView component that displays entity information in a web view and integrates it into the existing EntityMoreInfoDialogView via a toolbar button. The implementation adds a sheet presentation triggered by a gear icon button.

Key Changes

  • Added EntityConfigurationWebView for displaying entity details via web view
  • Integrated a gear-shaped toolbar button in EntityMoreInfoDialogView to present the new configuration view as a sheet
  • Updated Xcode project file with new source file reference

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.

File Description
EntityConfigurationWebVIew.swift New SwiftUI view that embeds a WebViewController to display entity information using the more-info-dialog query parameter
EntityMoreInfoDialogView.swift Added toolbar button and sheet presentation to launch the new EntityConfigurationWebView
HomeAssistant.xcodeproj/project.pbxproj Project file updated with new source file reference and reordered existing entries

Renamed EntityConfigurationWebVIew.swift to EntityConfigurationWebView.swift and updated project references to correct the filename typo.
Eliminated the areaName property from EntityConfigurationWebView and its usage. Updated the sheet presentation in EntityMoreInfoDialogView to use presentationDetents and presentationDragIndicator for improved UI behavior.
@bgoncal bgoncal merged commit 94da1e4 into main Jan 7, 2026
12 checks passed
@bgoncal bgoncal deleted the homeview-4 branch January 7, 2026 02:00
@codecov
Copy link

codecov bot commented Jan 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@7474990). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4171   +/-   ##
=======================================
  Coverage        ?   44.94%           
=======================================
  Files           ?      249           
  Lines           ?    14341           
  Branches        ?        0           
=======================================
  Hits            ?     6446           
  Misses          ?     7895           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants