From 961523e4a57ff4102c5efae1186b4fb48ae82007 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 30 Mar 2026 22:50:50 +0000 Subject: [PATCH 1/5] Initial plan From 7f29901ab5621ce0a49d81aec3543d860ce3ea97 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 31 Mar 2026 07:35:25 +0000 Subject: [PATCH 2/5] docs: fix HTML indentation in all interactive example captures Agent-Logs-Url: https://github.com/bitifet/SmarkForm/sessions/31d7b006-97b3-4e22-9ae1-841a2f2d2f4e Co-authored-by: bitifet <1643647+bitifet@users.noreply.github.com> --- docs/_about/faq.md | 20 +- docs/_about/showcase.md | 406 +++++++++--------- .../data_import_and_export.md | 90 ++-- docs/_advanced_concepts/events.md | 8 +- docs/_advanced_concepts/form_traversing.md | 66 +-- docs/_advanced_concepts/hotkeys.md | 28 +- docs/_advanced_concepts/mixin_types.md | 14 +- docs/_component_types/type_color.md | 10 +- docs/_component_types/type_date.md | 4 +- docs/_component_types/type_datetime-local.md | 4 +- docs/_component_types/type_form.md | 54 +-- docs/_component_types/type_input.md | 2 +- docs/_component_types/type_label.md | 104 ++--- docs/_component_types/type_list.md | 76 ++-- docs/_component_types/type_number.md | 4 +- docs/_component_types/type_radio.md | 10 +- docs/_component_types/type_time.md | 4 +- docs/_getting_started/core_component_types.md | 76 ++-- docs/_getting_started/core_concepts.md | 168 ++++---- docs/_getting_started/quick_start.md | 148 +++---- docs/index.md | 78 ++-- 21 files changed, 687 insertions(+), 687 deletions(-) diff --git a/docs/_about/faq.md b/docs/_about/faq.md index d509bbc2..7a7f2745 100644 --- a/docs/_about/faq.md +++ b/docs/_about/faq.md @@ -318,10 +318,10 @@ inside have it as their natural context: {% raw %} {% endraw %} {% capture faq_singleton_color_html -%}
- + - +
{%- endcapture %} {% raw %} {% endraw %} @@ -436,13 +436,13 @@ The following example demonstrates the full technique: {% raw %} {% endraw %} {% capture faq_animations_html -%}
- - + +
{%- endcapture %} {% raw %} {% endraw %} @@ -1036,7 +1036,7 @@ of the named component without requiring an extra wrapper: {% raw %} {% endraw %} {% capture faq_mixin_labeled_input_html -%}
-
+
diff --git a/docs/_about/showcase.md b/docs/_about/showcase.md index 3663ba15..52371c70 100644 --- a/docs/_about/showcase.md +++ b/docs/_about/showcase.md @@ -522,20 +522,20 @@ in the following example: {% capture simple_list_singleton -%}
-█ -█ -█ Phones: -█
    -█
  • (None)
  • -█
  • -█ -█ -█ -█ -█
  • -█
+█ +█ +█Phones: +█
    +█
  • (None)
  • +█
  • +█ +█ +█ +█ +█
  • +█
{%- endcapture %} {% raw %} {% endraw %} @@ -844,19 +844,19 @@ list like the following example: {% raw %} {% endraw %} {% capture schedule_list -%}
-

- - - Schedule: - - - to +

+ + + Schedule: + + + to + + (Closed) + , + and - (Closed) - , - and - -

+

{%- endcapture %} {% raw %} {% endraw %} @@ -2052,16 +2052,16 @@ In the *JS* tab there is a simple JavaScript code that: {% capture nested_forms_with_load_save -%}
{{ nested_forms | replace: "█", " " }} -
- - -
+
+ + +
{% endcapture %} {% raw %} {% endraw %} @@ -2277,19 +2277,19 @@ slight modifications: {% capture simple_list_autodisable -%}
-█ -█ -█ Phones: -█
    -█
  • -█ -█ -█ -█ -█
  • -█
+█ +█ +█Phones: +█
    +█
  • +█ +█ +█ +█ +█
  • +█
{%- endcapture %} {% raw %} {% endraw %} @@ -3236,84 +3236,84 @@ button. Then a very simple JavaScript code makes the rest... {% raw %} {% endraw %} {% capture calculator -%}
-
- - -
- - - - - - - - - - - - - - - - - - - - +
+ + +
+ + + + + + + + + + + + + + + + + + + + +
-
{%- endcapture %} {% raw %} {% endraw %} @@ -3500,84 +3500,84 @@ reach a perfect UX. {% raw %} {% endraw %} {% capture supercalculator -%}
-
- - -
- - - - - - - - - - - - - - - - - - - - +
+ + +
+ + + + + + + + + + + + + + + + + + + + +
-
{%- endcapture %} {% raw %} {% endraw %} diff --git a/docs/_advanced_concepts/data_import_and_export.md b/docs/_advanced_concepts/data_import_and_export.md index 0de862be..a0154666 100644 --- a/docs/_advanced_concepts/data_import_and_export.md +++ b/docs/_advanced_concepts/data_import_and_export.md @@ -93,25 +93,25 @@ The structure of the exported value mirrors the nesting of the form: {% raw %} {% endraw %} {% capture export_structure_html -%}
-
+
Order

- - + +

- - + +

    -
  • - - - -
  • +
  • + + + +
-
+
{% endcapture %} {% raw %} {% endraw %} @@ -229,18 +229,18 @@ The `import` action accepts: {% raw %} {% endraw %} {% capture import_example_html -%}
-

+

-

-

+

+

-

-

+

+

-

+

{% endcapture %} {% raw %} {% endraw %} @@ -370,18 +370,18 @@ a "New record" button. {% raw %} {% endraw %} {% capture clear_vs_reset_html -%}
-
+

- - + +

- - + +

- - + +

{% @@ -464,43 +464,43 @@ directly into its target (the shipping address) subform: {% raw %} {% endraw %} {% capture pipe_example_html -%}
-
+
Billing address

- - + +

- - + +

- - + +

-
-

+

+

-

-
+

+
Shipping address

- - + +

- - + +

- - + +

-
+
{% endcapture %} {% raw %} {% endraw %} diff --git a/docs/_advanced_concepts/events.md b/docs/_advanced_concepts/events.md index 18d6795c..f54b2fab 100644 --- a/docs/_advanced_concepts/events.md +++ b/docs/_advanced_concepts/events.md @@ -274,10 +274,10 @@ The recommended pattern is to use an `export` trigger and intercept the {% raw %} {% endraw %} {% capture events_submit_example_html -%}
- - - -

+  
+  
+  
+  

 
{%- endcapture %} {% raw %} {% endraw %} diff --git a/docs/_advanced_concepts/form_traversing.md b/docs/_advanced_concepts/form_traversing.md index ebd3c436..4bda31eb 100644 --- a/docs/_advanced_concepts/form_traversing.md +++ b/docs/_advanced_concepts/form_traversing.md @@ -378,16 +378,16 @@ while (currentItem) { {% raw %} {% endraw %} {% capture form_trav_copy_adjacent_html -%}
-
    +
    • - - - - - + + + + +
    • -
    - +
+
{%- endcapture %} {% raw %} {% endraw %} @@ -424,14 +424,14 @@ async function validateSequentially(list) { {% raw %} {% endraw %} {% capture form_trav_navigation_ui_html -%}
-
+
- - - + + +
@@ -494,25 +494,25 @@ This example demonstrates a practical implementation of sibling navigation for d {% raw %} {% endraw %} {% capture form_trav_practical_copy_html -%}
-
+
- Contact Information -

- - -

-

- - -

-

- - -

-
- - - + Contact Information +

+ + +

+

+ + +

+

+ + +

+
+ + +
diff --git a/docs/_advanced_concepts/hotkeys.md b/docs/_advanced_concepts/hotkeys.md index 77c37e40..71aecf6e 100644 --- a/docs/_advanced_concepts/hotkeys.md +++ b/docs/_advanced_concepts/hotkeys.md @@ -110,22 +110,22 @@ re-used in different parts of the form without conflict: {% raw %} {% endraw %} {% capture hotkeys_context_sensitivity_html -%}
-
    +
    • - -
        -
      • - - - -
      • -
      - - - + +
        +
      • + + + +
      • +
      + + +
    • -
    - +
+
{%- endcapture %} {% raw %} {% endraw %} diff --git a/docs/_advanced_concepts/mixin_types.md b/docs/_advanced_concepts/mixin_types.md index 059c99a3..f3d459a3 100644 --- a/docs/_advanced_concepts/mixin_types.md +++ b/docs/_advanced_concepts/mixin_types.md @@ -598,14 +598,14 @@ data path in the exported value. {% raw %} {% endraw %} {% capture mixin_contact_block_html -%}
- -
+ +
Contacts

Primary

Emergency

-
+