gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant-backoffice] 05/05: feat: add logo, email, website


From: gnunet
Subject: [taler-merchant-backoffice] 05/05: feat: add logo, email, website
Date: Fri, 20 May 2022 18:47:20 +0200

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

sebasjm pushed a commit to branch master
in repository merchant-backoffice.

commit 68a315b89b57b051e0e5d3757cd11139dda487b0
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Fri May 20 13:46:53 2022 -0300

    feat: add logo, email, website
---
 .../components/instance/DefaultInstanceFormFields.tsx | 19 +++++++++++++++++++
 packages/merchant-backoffice/src/declaration.d.ts     |  6 ++++++
 2 files changed, 25 insertions(+)

diff --git 
a/packages/merchant-backoffice/src/components/instance/DefaultInstanceFormFields.tsx
 
b/packages/merchant-backoffice/src/components/instance/DefaultInstanceFormFields.tsx
index 8c59a6d..d80c65c 100644
--- 
a/packages/merchant-backoffice/src/components/instance/DefaultInstanceFormFields.tsx
+++ 
b/packages/merchant-backoffice/src/components/instance/DefaultInstanceFormFields.tsx
@@ -27,6 +27,7 @@ import { Input } from "../form/Input";
 import { InputCurrency } from "../form/InputCurrency";
 import { InputDuration } from "../form/InputDuration";
 import { InputGroup } from "../form/InputGroup";
+import { InputImage } from "../form/InputImage";
 import { InputLocation } from "../form/InputLocation";
 import { InputPaytoForm } from "../form/InputPaytoForm";
 import { InputWithAddon } from "../form/InputWithAddon";
@@ -58,6 +59,24 @@ export function DefaultInstanceFormFields({
         tooltip={i18n`Legal name of the business represented by this 
instance.`}
       />
 
+      <Input<Entity>
+        name="email"
+        label={i18n`Email`}
+        tooltip={i18n`Contact email`}
+      />
+
+      <Input<Entity>
+        name="website"
+        label={i18n`Website URL`}
+        tooltip={i18n`URL.`}
+      />
+
+      <InputImage<Entity>
+        name="logo"
+        label={i18n`Logo`}
+        tooltip={i18n`Logo image.`}
+      />
+
       <InputPaytoForm<Entity>
         name="payto_uris"
         label={i18n`Bank account`}
diff --git a/packages/merchant-backoffice/src/declaration.d.ts 
b/packages/merchant-backoffice/src/declaration.d.ts
index 9b06f8f..f0d257d 100644
--- a/packages/merchant-backoffice/src/declaration.d.ts
+++ b/packages/merchant-backoffice/src/declaration.d.ts
@@ -286,6 +286,12 @@ export namespace MerchantBackend {
             // Merchant name corresponding to this instance.
             name: string;
 
+            email: string;
+            website: string;
+            // An optional base64-encoded logo image
+            logo: ImageDataUrl;
+
+
             // "Authentication" header required to authorize management access 
the instance.
             // Optional, if not given authentication will be disabled for
             // this instance (hopefully authentication checks are still

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