aboutsummaryrefslogtreecommitdiff
path: root/resources/settings/properties.xml
diff options
context:
space:
mode:
authorcirakg <cirakg@cirakg.xyz>2026-10-20 01:51:05 +0200
committercirakg <cirakg@cirakg.xyz>2026-10-20 01:51:05 +0200
commitd537f4e154a40075405b0ab2fed14fbe2eeaac81 (patch)
treef1fb9b148871901dda96fca11401d6f4d0ee1d59 /resources/settings/properties.xml
parent40d9a1d5c3e85486aea964c1446402a3be6ec05a (diff)
feat(settings): apply the Import form from the phone and show results
Import group in the app settings; the processor runs after the first frame and on settings changes, clears the fields, writes the status, remembers form hashes and opens the results screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'resources/settings/properties.xml')
-rw-r--r--resources/settings/properties.xml26
1 files changed, 20 insertions, 6 deletions
diff --git a/resources/settings/properties.xml b/resources/settings/properties.xml
index 9e2da95..e6b75a4 100644
--- a/resources/settings/properties.xml
+++ b/resources/settings/properties.xml
@@ -1,15 +1,29 @@
<!--
Author: cirakg & claude ai
- Summary: App properties for the Options group (README 10.2) with their defaults; the phone form follows in M7.
+ Summary: App properties (README 10.2): the Import form (M5) and the Options group with their defaults.
-->
<!--
- Values the watch reads through source/app/Options.mc. M4 defines only the
- Options group, so the app can read them (reading an undefined property
- stops the app with a system error that can't be caught). M7 adds the
- settings.xml form that edits them on the phone, and the other groups.
- List values are indexes; see Options.mc for their meaning.
+ Every property the watch reads must be defined here: reading an undefined
+ one stops the app with a system error that can't be caught.
+ * Import (M5): read by source/settings/SettingsProcessor.mc. impText1-8
+ are joined in order; the watch clears them and turns impApply off after
+ processing, and writes the result to impStatus.
+ * Options: read by source/app/Options.mc; list values are indexes. Their
+ phone form follows in M7 with the other groups.
-->
<properties>
+ <property id="impText1" type="string"></property>
+ <property id="impText2" type="string"></property>
+ <property id="impText3" type="string"></property>
+ <property id="impText4" type="string"></property>
+ <property id="impText5" type="string"></property>
+ <property id="impText6" type="string"></property>
+ <property id="impText7" type="string"></property>
+ <property id="impText8" type="string"></property>
+ <property id="impMode" type="number">0</property>
+ <property id="impLocked" type="boolean">false</property>
+ <property id="impApply" type="boolean">false</property>
+ <property id="impStatus" type="string"></property>
<property id="optAutoLock" type="number">3</property>
<property id="optWipe" type="boolean">false</property>
<property id="optTimeOffset" type="number">0</property>