Skip to content

Feature/add i has web view with pwa mode#1388

Merged
ndorin merged 4 commits into
mainfrom
feature/add-IHasWebViewWithPwaMode
Feb 24, 2026
Merged

Feature/add i has web view with pwa mode#1388
ndorin merged 4 commits into
mainfrom
feature/add-IHasWebViewWithPwaMode

Conversation

@ndorin
Copy link
Copy Markdown
Contributor

@ndorin ndorin commented Feb 24, 2026

This pull request introduces a new interface to extend webview functionality with support for Progressive Web App (PWA) mode. The main change is the addition of IHasWebViewWithPwaMode, which provides properties and methods to manage PWA mode in devices implementing webview interfaces.

Extension of webview interfaces:

  • Added the IHasWebViewWithPwaMode interface to src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs, extending IHasWebView with properties for checking PWA mode status (IsInPwaMode, IsInPwaModeFeedback) and methods to send navigators to a PWA URL and exit PWA mode.

No functional changes:

  • Minor formatting changes and extra newlines at the end of src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs.

Copy link
Copy Markdown
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 pull request adds Progressive Web App (PWA) support to the webview functionality by introducing a new interface. The change extends the existing webview infrastructure to allow devices to manage PWA mode, including entering and exiting PWA mode with appropriate state feedback.

Changes:

  • Added IHasWebViewWithPwaMode interface extending IHasWebView with PWA mode properties and methods
  • Added properties for PWA mode state checking (IsInPwaMode, IsInPwaModeFeedback)
  • Added methods for PWA navigation (SendNavigatorsToPwaUrl, ExitNavigatorsPwaMode)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs Outdated
Comment thread src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasWebView.cs Outdated
ndorin and others added 2 commits February 24, 2026 14:53
…w.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…w.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ndorin ndorin merged commit 963925f into main Feb 24, 2026
2 checks passed
@ndorin ndorin deleted the feature/add-IHasWebViewWithPwaMode branch February 24, 2026 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants