gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated: removing save/restore session


From: gnunet
Subject: [taler-wallet-core] branch master updated: removing save/restore session: confusing and maybe dangerous
Date: Sun, 25 Sep 2022 16:33:31 +0200

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

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

The following commit(s) were added to refs/heads/master by this push:
     new 79baa2058 removing save/restore session: confusing and maybe dangerous
79baa2058 is described below

commit 79baa20584010c8e44e772696670d00f4811b44c
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Sun Sep 25 11:33:19 2022 -0300

    removing save/restore session: confusing and maybe dangerous
---
 packages/anastasis-webui/src/components/menu/SideBar.tsx | 10 +++++-----
 packages/anastasis-webui/src/pages/home/StartScreen.tsx  |  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/packages/anastasis-webui/src/components/menu/SideBar.tsx 
b/packages/anastasis-webui/src/components/menu/SideBar.tsx
index ee394da83..4c1d085ee 100644
--- a/packages/anastasis-webui/src/components/menu/SideBar.tsx
+++ b/packages/anastasis-webui/src/components/menu/SideBar.tsx
@@ -177,7 +177,7 @@ export function Sidebar({ mobile }: Props): VNode {
                 <span class="menu-item-label"><Translate>Truth 
Paying</Translate></span>
               </div>
             </li> */}
-              <li>
+              {/* <li>
                 <div class="buttons ml-4">
                   <button
                     class="button is-primary is-right"
@@ -186,7 +186,7 @@ export function Sidebar({ mobile }: Props): VNode {
                     Save backup session
                   </button>
                 </div>
-              </li>
+              </li> */}
             </Fragment>
           ) : (
             reducer.currentReducerState?.reducer_type === "recovery" && (
@@ -265,7 +265,7 @@ export function Sidebar({ mobile }: Props): VNode {
                     </span>
                   </div>
                 </li>
-                <li>
+                {/* <li>
                   <div class="buttons ml-4">
                     <button
                       class="button is-primary is-right"
@@ -274,7 +274,7 @@ export function Sidebar({ mobile }: Props): VNode {
                       Save recovery session
                     </button>
                   </div>
-                </li>
+                </li> */}
               </Fragment>
             )
           )}
@@ -285,7 +285,7 @@ export function Sidebar({ mobile }: Props): VNode {
                   class="button is-danger is-right"
                   onClick={() => reducer.reset()}
                 >
-                  Reset session
+                  Start again
                 </button>
               </div>
             </li>
diff --git a/packages/anastasis-webui/src/pages/home/StartScreen.tsx 
b/packages/anastasis-webui/src/pages/home/StartScreen.tsx
index 03399cfba..b9c4e57b7 100644
--- a/packages/anastasis-webui/src/pages/home/StartScreen.tsx
+++ b/packages/anastasis-webui/src/pages/home/StartScreen.tsx
@@ -50,14 +50,14 @@ export function StartScreen(): VNode {
               <span>Recover a secret</span>
             </button>
 
-            <FileButton
+            {/* <FileButton
               label="Restore a session"
               onChange={(content) => {
                 if (content?.type === "application/json") {
                   reducer.importState(content.content);
                 }
               }}
-            />
+            /> */}
 
             {/* <button class="button">
               <div class="icon"><i class="mdi mdi-file" /></div>

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