From 8045a83374612eb76ceda2ea912921f62215dc88 Mon Sep 17 00:00:00 2001
From: Josh Perez <60019601+josh-signal@users.noreply.github.com>
Date: Tue, 24 Aug 2021 16:57:34 -0400
Subject: [PATCH] Refine the clear all data experience
---
background.html | 35 ------------
js/views/clear_data_view.js | 77 --------------------------
main.js | 3 +
test/index.html | 35 ------------
ts/components/ClearingData.stories.tsx | 19 +++++++
ts/components/ClearingData.tsx | 34 ++++++++++++
ts/components/Preferences.tsx | 22 +++++++-
ts/shims/deleteAllData.ts | 32 +++++++++++
ts/shims/renderClearingDataView.tsx | 15 +++++
ts/util/createIPCEvents.ts | 4 +-
ts/util/lint/exceptions.json | 50 +----------------
11 files changed, 127 insertions(+), 199 deletions(-)
delete mode 100644 js/views/clear_data_view.js
create mode 100644 ts/components/ClearingData.stories.tsx
create mode 100644 ts/components/ClearingData.tsx
create mode 100644 ts/shims/deleteAllData.ts
create mode 100644 ts/shims/renderClearingDataView.tsx
diff --git a/background.html b/background.html
index a6701d3eff36..b4325ffe5585 100644
--- a/background.html
+++ b/background.html
@@ -170,41 +170,6 @@
-
-
-
-