gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant-backoffice] branch master updated: bank TODO


From: gnunet
Subject: [taler-merchant-backoffice] branch master updated: bank TODO
Date: Sat, 15 Jan 2022 10:22:55 +0100

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

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

The following commit(s) were added to refs/heads/master by this push:
     new 0fe10f0  bank TODO
0fe10f0 is described below

commit 0fe10f061578b48e40dcf615eff8cfcf69cf330a
Author: ms <ms@taler.net>
AuthorDate: Sat Jan 15 09:52:14 2022 +0100

    bank TODO
---
 packages/bank/src/pages/home/index.tsx | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/packages/bank/src/pages/home/index.tsx 
b/packages/bank/src/pages/home/index.tsx
index f5d99b6..281c398 100644
--- a/packages/bank/src/pages/home/index.tsx
+++ b/packages/bank/src/pages/home/index.tsx
@@ -6,6 +6,21 @@ import { useTranslator, Translate } from "../../i18n";
 import { QR } from "../../components/QR";
 import { useNotNullLocalStorage, useLocalStorage } from "../../hooks";
 
+/**
+ * ToDo:
+ *
+ * - the page needs a "home" button that either redirects
+ *   the profile page (when the user is logged in), or to
+ *   the very initial home page. 
+ *
+ * - histories 'pages' are grouped in UL elements that cause
+ *   the rendering to visually separate each UL.  History elements
+ *   should instead line up without any separation caused by
+ *   a implementation detail.
+ *
+ * - Many strings need to be i18n-wrapped.
+ */
+
 /**********************************************
  * Type definitions for states and API calls. *
  *********************************************/
@@ -694,6 +709,7 @@ export function BankHome(): VNode {
   var [backendState, backendStateSetter] = useBackendState();
   var [pageState, pageStateSetter] = usePageState();
   var [accountState, accountStateSetter] = useAccountState();
+  const setTxPageNumber = useTransactionPageNumber()[1];
 
   var i18n = useTranslator();
 
@@ -729,7 +745,6 @@ export function BankHome(): VNode {
           
          { /* The user is logged in: offer to log out.  */ }
          <button onClick={() => {
-           const setTxPageNumber = useTransactionPageNumber()[1];
            setTxPageNumber(0);
             pageStateSetter((prevState) => {
               const {

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