gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated (4d04604fd -> dc865e0e3)


From: gnunet
Subject: [taler-wallet-core] branch master updated (4d04604fd -> dc865e0e3)
Date: Wed, 15 May 2024 15:17:06 +0200

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a change to branch master
in repository wallet-core.

    from 4d04604fd wallet-core: remove un-i18n-ized word from wire subject
     new 25b53ddf5 add form to prod
     new dc865e0e3 fix #7956

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 packages/aml-backoffice-ui/build.mjs                          |  2 +-
 packages/aml-backoffice-ui/src/forms.json                     | 11 +++++------
 .../src/paths/instance/templates/create/CreatePage.tsx        |  1 +
 .../src/paths/instance/templates/update/UpdatePage.tsx        |  1 +
 .../src/components/WalletActivity.tsx                         |  7 +++----
 5 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/packages/aml-backoffice-ui/build.mjs 
b/packages/aml-backoffice-ui/build.mjs
index 04a6f646b..b0742c692 100755
--- a/packages/aml-backoffice-ui/build.mjs
+++ b/packages/aml-backoffice-ui/build.mjs
@@ -21,7 +21,7 @@ await build({
   type: "production",
   source: {
     js: ["src/index.tsx"],
-    assets: [{ base: "src", files: ["src/index.html"] }],
+    assets: [{ base: "src", files: ["src/index.html","src/forms.json"] }],
   },
   destination: "./dist/prod",
   css: "postcss",
diff --git a/packages/aml-backoffice-ui/src/forms.json 
b/packages/aml-backoffice-ui/src/forms.json
index e3fed36d0..94dcda317 100644
--- a/packages/aml-backoffice-ui/src/forms.json
+++ b/packages/aml-backoffice-ui/src/forms.json
@@ -511,14 +511,13 @@
         "type": "double-column",
         "design": [
           {
-            "title": "File inputs",
+            "title": "Boolean inputs",
             "fields": [
               {
-                "type": "file",
-                "name": "photo",
-                "id": ".photo",
-                "label": "Photo",
-                "accept": "*.png"
+                "type": "toggle",
+                "name": "yes",
+                "id": ".yes",
+                "label": "Yes or no?"
               }
             ]
           }
diff --git 
a/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx
 
b/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx
index 78d7c83ac..0e9b5a284 100644
--- 
a/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx
+++ 
b/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx
@@ -140,6 +140,7 @@ export function CreatePage({ onCreate, onBack }: Props): 
VNode {
             ? undefined
             : config.currency,
       },
+      required_currency: config.currency,
       editable_defaults: {
         amount: !state.amount_editable ? undefined : state.amount,
         summary: !state.summary_editable ? undefined : state.summary,
diff --git 
a/packages/merchant-backoffice-ui/src/paths/instance/templates/update/UpdatePage.tsx
 
b/packages/merchant-backoffice-ui/src/paths/instance/templates/update/UpdatePage.tsx
index eedb77f28..197049486 100644
--- 
a/packages/merchant-backoffice-ui/src/paths/instance/templates/update/UpdatePage.tsx
+++ 
b/packages/merchant-backoffice-ui/src/paths/instance/templates/update/UpdatePage.tsx
@@ -156,6 +156,7 @@ export function UpdatePage({ template, onUpdate, onBack }: 
Props): VNode {
             ? undefined
             : config.currency,
       },
+      required_currency: config.currency,
       editable_defaults: {
         amount: !state.amount_editable ? undefined : state.amount,
         summary: !state.summary_editable ? undefined : state.summary,
diff --git 
a/packages/taler-wallet-webextension/src/components/WalletActivity.tsx 
b/packages/taler-wallet-webextension/src/components/WalletActivity.tsx
index 41b0c5c76..a77a69fa6 100644
--- a/packages/taler-wallet-webextension/src/components/WalletActivity.tsx
+++ b/packages/taler-wallet-webextension/src/components/WalletActivity.tsx
@@ -15,7 +15,6 @@
  */
 import {
   AbsoluteTime,
-  ExchangeStateTransitionNotification,
   NotificationType,
   ObservabilityEventType,
   RequestProgressNotification,
@@ -23,7 +22,7 @@ import {
   TalerErrorDetail,
   TaskProgressNotification,
   WalletNotification,
-  assertUnreachable,
+  assertUnreachable
 } from "@gnu-taler/taler-util";
 import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
 import { useTranslationContext } from "@gnu-taler/web-util/browser";
@@ -34,12 +33,12 @@ import { useBackendContext } from "../context/backend.js";
 import { useAsyncAsHook } from "../hooks/useAsyncAsHook.js";
 import { useSettings } from "../hooks/useSettings.js";
 import { Button } from "../mui/Button.js";
+import { TextField } from "../mui/TextField.js";
 import { SafeHandler } from "../mui/handlers.js";
 import { WxApiType } from "../wxApi.js";
+import { WalletActivityTrack } from "../wxBackend.js";
 import { Modal } from "./Modal.js";
 import { Time } from "./Time.js";
-import { TextField } from "../mui/TextField.js";
-import { WalletActivityTrack } from "../wxBackend.js";
 
 const OPEN_ACTIVITY_HEIGHT_PX = 250;
 const CLOSE_ACTIVITY_HEIGHT_PX = 40;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]