Spomky-Labs / pwa-bundle

PHP library for generating a full featured PWA manifest
https://pwa.spomky-labs.com
MIT License
29 stars 1 forks source link

Add a reference or notes key to screenshot record #136

Closed tacman closed 2 months ago

tacman commented 2 months ago

Description

I'd like to know where the screenshot came from.

pwa:
    manifest:
        enabled: true
        screenshots:
            - "images/screenshot-feature1.png"
            - 
              src: "images/screenshot-feature2.png"
              platform: "android"
              type: "inmage/png"
            -
              src: "images/screenshot-feature3.png"
              label: "Feature #3 in action"
              form_factor: "narrow"

Example

pwa:
    manifest:
        enabled: true
        screenshots:
            - 
              src: "images/screenshot-feature2.png"
              reference: https://example.com/login
              platform: "android"
              type: "image/png"
            -
              src: "images/screenshot-feature3.png"
              reference: https://example.com/article/workflow
              label: "Feature #3 in action"
              form_factor: "narrow"
Spomky commented 2 months ago

Another good idea. Feature added in the last 1.1.x branch

github-actions[bot] commented 1 month ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.