From 06b5998b0c92ec540103cedcbd690bf513e1989a Mon Sep 17 00:00:00 2001 From: Nicolas Cazottes Date: Mon, 23 Jan 2023 22:54:28 +0100 Subject: [PATCH 1/4] Addition of doc for PR in iframe card --- source/_dashboards/iframe.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/_dashboards/iframe.markdown b/source/_dashboards/iframe.markdown index 5e3e27d54d48..e9691f1bc942 100644 --- a/source/_dashboards/iframe.markdown +++ b/source/_dashboards/iframe.markdown @@ -38,6 +38,11 @@ aspect_ratio: description: 'Forces the height of the image to be a ratio of the width. Valid formats: Height percentage value (`23%`) or ratio expressed with colon or "x" separator (`16:9` or `16x9`). For a ratio, the second element can be omitted and will default to "1" (`1.78` equals `1.78:1`).' type: string default: "50%" +allow_open_top_navigation: + required:false + description: 'Allow the user to open iframe content links by opening the default browser in HomeAssistant mobile app. It is false by default because it adds allow-top-navigation-by-user-activation on the iframe sandbox attribute which is a less secure. So set it to true if you need it and are confident with the iframe content.' + type: boolean + default: false title: required: false description: The card title. From a05f4f96b8b2cc22d3a2334ed2c5d2cd7880e658 Mon Sep 17 00:00:00 2001 From: Nicolas Cazottes Date: Mon, 23 Jan 2023 23:03:08 +0100 Subject: [PATCH 2/4] Correction of textlint --- source/_dashboards/iframe.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_dashboards/iframe.markdown b/source/_dashboards/iframe.markdown index e9691f1bc942..6bad8375ff07 100644 --- a/source/_dashboards/iframe.markdown +++ b/source/_dashboards/iframe.markdown @@ -40,7 +40,7 @@ aspect_ratio: default: "50%" allow_open_top_navigation: required:false - description: 'Allow the user to open iframe content links by opening the default browser in HomeAssistant mobile app. It is false by default because it adds allow-top-navigation-by-user-activation on the iframe sandbox attribute which is a less secure. So set it to true if you need it and are confident with the iframe content.' + description: 'Allow the user to open iframe content links by opening the default browser in Home Assistant mobile app. It is false by default because it adds allow-top-navigation-by-user-activation on the iframe sandbox attribute which is a less secure. So set it to true if you need it and are confident with the iframe content.' type: boolean default: false title: From 9bcc005508d6a1c0cd5ec1869ae94282e73b3bbb Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 24 Jan 2023 18:21:52 +0100 Subject: [PATCH 3/4] Tweak --- source/_dashboards/iframe.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_dashboards/iframe.markdown b/source/_dashboards/iframe.markdown index 6bad8375ff07..3e798b16bdc0 100644 --- a/source/_dashboards/iframe.markdown +++ b/source/_dashboards/iframe.markdown @@ -39,7 +39,7 @@ aspect_ratio: type: string default: "50%" allow_open_top_navigation: - required:false + required: false description: 'Allow the user to open iframe content links by opening the default browser in Home Assistant mobile app. It is false by default because it adds allow-top-navigation-by-user-activation on the iframe sandbox attribute which is a less secure. So set it to true if you need it and are confident with the iframe content.' type: boolean default: false From 6013dc637c507ae28fa96912ad3b800667976f87 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 24 Jan 2023 18:22:47 +0100 Subject: [PATCH 4/4] Tweak --- source/_dashboards/iframe.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_dashboards/iframe.markdown b/source/_dashboards/iframe.markdown index 3e798b16bdc0..60869ab9e990 100644 --- a/source/_dashboards/iframe.markdown +++ b/source/_dashboards/iframe.markdown @@ -40,7 +40,7 @@ aspect_ratio: default: "50%" allow_open_top_navigation: required: false - description: 'Allow the user to open iframe content links by opening the default browser in Home Assistant mobile app. It is false by default because it adds allow-top-navigation-by-user-activation on the iframe sandbox attribute which is a less secure. So set it to true if you need it and are confident with the iframe content.' + description: 'Allow the user to open iframe content links by opening the default browser in the Home Assistant mobile app. It is false by default because it adds allow-top-navigation-by-user-activation on the iframe sandbox attribute which is less secure. So set it to true if you need it and are confident with the iframe content.' type: boolean default: false title: