From ff448cf4ddf3036de2d4e4dd377226be41f24ede Mon Sep 17 00:00:00 2001 From: Nik Graf Date: Thu, 6 Jun 2024 11:24:59 +0200 Subject: [PATCH] proper cache invalidation --- README.md | 4 +--- apps/app/src/app/list/[listId].tsx | 3 +++ apps/app/src/components/authForm.tsx | 4 ++++ apps/app/src/components/createListForm.tsx | 13 ++++++++++++- apps/app/src/components/updateDocumentNameForm.tsx | 9 +++++++++ 5 files changed, 29 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6e546c9..8990639 100644 --- a/README.md +++ b/README.md @@ -87,10 +87,8 @@ Users use OPAQUE to authenticate with the server. After Login the server creates ## Todos -- invalidate documentsQuery properly - - add invitation scheme -- allow to delete list +- allow to delete list (needs a tombstone) - add retry for locker in case write fails (invalid clock) - store the list name locally (also with unsynced changes) diff --git a/apps/app/src/app/list/[listId].tsx b/apps/app/src/app/list/[listId].tsx index 412d3ee..f1cd75f 100644 --- a/apps/app/src/app/list/[listId].tsx +++ b/apps/app/src/app/list/[listId].tsx @@ -119,6 +119,9 @@ const List: React.FC = () => { placeholder="What needs to be done?" onChangeText={(value) => setNewTodoText(value)} value={newTodoText} + autoCapitalize="none" + autoCorrect={false} + autoComplete="off" />