From 0deb960bde01d71d31fe533be09e51a789ab992f Mon Sep 17 00:00:00 2001 From: Axel Bocciarelli Date: Tue, 27 May 2025 16:40:38 +0200 Subject: [PATCH] Make it clear that local files are never uploaded to a remove server --- src/HelpPage.tsx | 16 +++++++++++++--- src/services/LocalService.module.css | 1 + src/services/LocalService.tsx | 13 ++++++++++++- src/services/RemoteService.module.css | 2 +- 4 files changed, 27 insertions(+), 5 deletions(-) diff --git a/src/HelpPage.tsx b/src/HelpPage.tsx index cf0fc89..a54b3fd 100644 --- a/src/HelpPage.tsx +++ b/src/HelpPage.tsx @@ -58,13 +58,23 @@ function HelpPage() {

Opening local files

- myHDF5 supports opening local HDF5 files of any size, either by - selecting them via a file picker from the{' '} + myHDF5 supports opening local HDF5 files of any size, + either by selecting them via a file picker from the{' '} Open HDF5 {' '} page, or by dragging and dropping them anywhere on the interface at - any time. You can even select/drop multiple files at once. + any time. You can even select/drop multiple files at once. Note that + your files are never uploaded to a remote server; + everything happens locally in your browser thanks to{' '} + + h5wasm + + .

diff --git a/src/services/LocalService.module.css b/src/services/LocalService.module.css index 640bb96..baffb45 100644 --- a/src/services/LocalService.module.css +++ b/src/services/LocalService.module.css @@ -7,4 +7,5 @@ .hint { composes: hint from '../utils.module.css'; + max-width: 40em; } diff --git a/src/services/LocalService.tsx b/src/services/LocalService.tsx index 068a042..3b24008 100644 --- a/src/services/LocalService.tsx +++ b/src/services/LocalService.tsx @@ -16,7 +16,18 @@ function LocalService() { > Select HDF5 files -

or drop files anywhere at any time

+

+ ... or drop files anywhere at any time. Your files won't be uploaded to + a remote server; everything happens locally in your browser thanks to{' '} + + h5wasm + + . +

); } diff --git a/src/services/RemoteService.module.css b/src/services/RemoteService.module.css index ab5dce9..43bf321 100644 --- a/src/services/RemoteService.module.css +++ b/src/services/RemoteService.module.css @@ -21,5 +21,5 @@ .hint { composes: hint from '../utils.module.css'; - max-width: 45em; + max-width: 40em; }