From c2414cdc87bf924a43db6c3f1f8f2150bef33741 Mon Sep 17 00:00:00 2001
From: Eric Marchand <129385512+e-marchand@users.noreply.github.com>
Date: Sat, 30 Dec 2023 16:31:33 +0100
Subject: [PATCH] Update and rename EditActionUnique.md to
EditActionHasUniqueTask.md
---
docs/EditActionHasUniqueTask.md | 45 +++++++++++++++++++++++++++++++++
docs/EditActionUnique.md | 41 ------------------------------
2 files changed, 45 insertions(+), 41 deletions(-)
create mode 100644 docs/EditActionHasUniqueTask.md
delete mode 100644 docs/EditActionUnique.md
diff --git a/docs/EditActionHasUniqueTask.md b/docs/EditActionHasUniqueTask.md
new file mode 100644
index 0000000..1dff019
--- /dev/null
+++ b/docs/EditActionHasUniqueTask.md
@@ -0,0 +1,45 @@
+# EditActionHasUniqueTask
+
+> [!CAUTION]
+> Not released, just a specification
+
+- The purpose is to make any task for an action with the preset `edit` to be unique :
+ - If offline, an edit could be in pending task
+ - If launch a new edit, instead of creating a new task, the one in pending task will be opened
+ - so data already filled will be displayed
+ - and when validating, just register new data, waiting to network to come back
+
+# Setting to activate the feature
+
+## MobileProject
+
+> 🚧 how to inject inside mobile app for new projet? (have a boolean inside mobileapp file, and "4d mobile app" + android project generator must do the following edit
+
+## Android
+
+Inside `app/src/main/assets/appInfo.json`
+
+```json
+ "action.edit.hasUniqueTask": true
+```
+
+## iOS
+
+Inside `Settings/Settings.plist`
+
+```xml
+ action.edit.hasUniqueTask
+
+```
+
+## If we want to go further
+
+> :bulb: We could imagine have some definition by action, not only "edit" one. For that for instance a new boolean `hasUniqueTask` could be in the future added to the action json (or if we have time)
+
+### for iOS
+
+in storyboards definition inside `userDefinedRuntimeAttribute`
+
+### for android
+
+Inside `app/src/main/assets/actions.json` by action
diff --git a/docs/EditActionUnique.md b/docs/EditActionUnique.md
deleted file mode 100644
index f396d50..0000000
--- a/docs/EditActionUnique.md
+++ /dev/null
@@ -1,41 +0,0 @@
-# EditActionUnique
-
-> [!CAUTION]
-> Not released, just a specification
-
-- The purpose is to make any task for an action with the preset `edit` to be unique :
- - If offline, an edit could be in pending task
- - If launch a new edit, intead of creating a new task, the one in pending task will be opened
- - so data already filled will be displayed
-
-# Setting to activate the feature
-
-## MobileProject
-
-> 🚧 how to inject inside mobile app for new projet? (have a boolean inside mobileapp file, and "4d mobile app" + android project generator must do the following edit
-
-## Android
-
-Inside `app/src/main/assets/appInfo.json`
-
-```json
- "action.editAreUnique": true
-```
-
-## iOS
-
-Inside `Settings/Settings.plist`
-
-```xml
- action.editAreUnique
-
-```
-
-## If we want to go further
-
-> :bulb: We could imagine have some definition by action, not only "edit" one. For that for instance a new boolean "isUnique" could be in the future added to the action json.
-
-
-## Naming
-
-maybe rename unique to uniqueTask, action has unique task