gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated (f3d50d006 -> 9bd94fc64)


From: gnunet
Subject: [taler-wallet-core] branch master updated (f3d50d006 -> 9bd94fc64)
Date: Thu, 02 Nov 2023 03:17:55 +0100

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

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

    from f3d50d006 missing stefan log
     new e050dfd8a remove /wire on cache invalidation
     new 9bd94fc64 show error inplace instead of notification

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/demobank-ui/src/pages/WithdrawalOperationPage.tsx | 14 ++++----------
 .../taler-wallet-webextension/src/wallet/DeveloperPage.tsx | 10 +---------
 2 files changed, 5 insertions(+), 19 deletions(-)

diff --git a/packages/demobank-ui/src/pages/WithdrawalOperationPage.tsx 
b/packages/demobank-ui/src/pages/WithdrawalOperationPage.tsx
index 7ef2a6c39..4620e5456 100644
--- a/packages/demobank-ui/src/pages/WithdrawalOperationPage.tsx
+++ b/packages/demobank-ui/src/pages/WithdrawalOperationPage.tsx
@@ -16,16 +16,14 @@
 
 import {
   Logger,
-  TranslatedString,
   parseWithdrawUri,
   stringifyWithdrawUri
 } from "@gnu-taler/taler-util";
 import {
-  notifyError,
   useTranslationContext
 } from "@gnu-taler/web-util/browser";
 import { Fragment, VNode, h } from "preact";
-import { Loading } from "../components/Loading.js";
+import { Attention } from "../components/Attention.js";
 import { useBankCoreApiContext } from "../context/config.js";
 import { useSettings } from "../hooks/settings.js";
 import { WithdrawalQRCode } from "./WithdrawalQRCode.js";
@@ -39,8 +37,6 @@ export function WithdrawalOperationPage({
   operationId: string;
   onContinue: () => void;
 }): VNode {
-  //FIXME: libeufin sandbox should return show to create the integration api 
endpoint
-  //or return withdrawal uri from response
   const { api } = useBankCoreApiContext()
   const uri = stringifyWithdrawUri({
     bankIntegrationApiBaseUrl: api.getIntegrationAPI().baseUrl,
@@ -51,11 +47,9 @@ export function WithdrawalOperationPage({
   const [settings, updateSettings] = useSettings();
 
   if (!parsedUri) {
-    notifyError(
-      i18n.str`The Withdrawal URI is not valid`,
-      uri as TranslatedString
-    );
-    return <Loading />;
+    return <Attention type="danger" title={i18n.str`The Withdrawal URI is not 
valid`}>
+      {uri}
+    </Attention>
   }
 
   return (
diff --git a/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx 
b/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx
index c972f0919..6d1175d0f 100644
--- a/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx
@@ -325,20 +325,12 @@ export function View({
                   const oldKeys = JSON.stringify(
                     await (await fetch(`${url}keys`)).json(),
                   );
-                  const oldWire = JSON.stringify(
-                    await (await fetch(`${url}wire`)).json(),
-                  );
                   const newKeys = JSON.stringify(
                     await (
                       await fetch(`${url}keys`, { cache: "no-cache" })
                     ).json(),
                   );
-                  const newWire = JSON.stringify(
-                    await (
-                      await fetch(`${url}wire`, { cache: "no-cache" })
-                    ).json(),
-                  );
-                  return oldKeys !== newKeys || newWire !== oldWire;
+                  return oldKeys !== newKeys;
                 }),
               );
               const ex = exchangeList.filter((e, i) => result[i]);

-- 
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]