From 12e9b14d640fb1c0878d2b6a48eb70d8da8d058c Mon Sep 17 00:00:00 2001 From: Hardin Gray Date: Wed, 26 Feb 2025 14:52:49 -0500 Subject: [PATCH 1/2] chore: remove delays --- demo/backend/navigation/behaviors/actions/new/index.xml.njk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/backend/navigation/behaviors/actions/new/index.xml.njk b/demo/backend/navigation/behaviors/actions/new/index.xml.njk index c1c9bb238..855cab7b5 100644 --- a/demo/backend/navigation/behaviors/actions/new/index.xml.njk +++ b/demo/backend/navigation/behaviors/actions/new/index.xml.njk @@ -38,12 +38,12 @@ hv_button_behavior: "back" {%- endcall %} {% call button('New with indicator') -%} - + {%- endcall %}
{% call button('New with params') -%} - + {%- endcall %} From 52bfb3d9c2c601085567f382b94d973760b8c88e Mon Sep 17 00:00:00 2001 From: Hardin Gray Date: Wed, 26 Feb 2025 15:27:15 -0500 Subject: [PATCH 2/2] chore: improve screen content and description --- .../navigation/behaviors/actions/new/index.xml.njk | 9 +++++---- .../navigation/behaviors/actions/new/modal.xml.njk | 11 +++++++++++ 2 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 demo/backend/navigation/behaviors/actions/new/modal.xml.njk diff --git a/demo/backend/navigation/behaviors/actions/new/index.xml.njk b/demo/backend/navigation/behaviors/actions/new/index.xml.njk index 855cab7b5..f409da1b2 100644 --- a/demo/backend/navigation/behaviors/actions/new/index.xml.njk +++ b/demo/backend/navigation/behaviors/actions/new/index.xml.njk @@ -31,19 +31,20 @@ hv_button_behavior: "back" {% endblock %} {% block content %} - {{ description('Tapping the button below will request an XML screen and show it in a new modal.') }} + {{ description('Tapping the button below will open a screen in a modal.') }} {% call button('New') -%} - + {%- endcall %} {% call button('New with indicator') -%} - + {%- endcall %} + {{ description('Tapping the button below will open a modal with query params from the form.') }}
{% call button('New with params') -%} - + {%- endcall %} diff --git a/demo/backend/navigation/behaviors/actions/new/modal.xml.njk b/demo/backend/navigation/behaviors/actions/new/modal.xml.njk new file mode 100644 index 000000000..adae1f42c --- /dev/null +++ b/demo/backend/navigation/behaviors/actions/new/modal.xml.njk @@ -0,0 +1,11 @@ +--- +permalink: "/navigation/behaviors/actions/new/modal.xml" +hv_title: "Modal Screen" +hv_button_behavior: "close" +--- +{% extends 'templates/scrollview.xml.njk' %} +{% from 'macros/description/index.xml.njk' import description %} + +{% block content %} + {{ description('This screen was dynamically opened as a modal.') }} +{% endblock %}