ufal / charles-translator-web-frontend

Charles Translator: MT from Charles University
6 stars 7 forks source link

Allow to delete some/whole history and document it is stored locally #31

Closed martinpopel closed 2 years ago

martinpopel commented 2 years ago

Some users may enter personal/sensitive texts and thus decide to not give us consent for storing it. However, they may get confused when they see their previous queries are stored in the history. They may be also using a shared device and they may not know how to delete the local storage manually (or how to use anonymous browsing mode).

EbrithilNogare commented 2 years ago

disable_history is in settings under Allow local history (stored on your device)

martinpopel commented 2 years ago

Thanks. It works - new translations are not saved anymore into the history, but the previously saved translations are still available. I think this is the correct way (users may want to disable the history just temporarily e.g. when translating sensitive texts, but they may not want to lose their whole history). There is a button "Remove everything" in the history if anyone needs it. I am just not sure if this is obvious to the users.

I am not sure if these are good ideas. What do you (anyone) think?

EbrithilNogare commented 2 years ago

zmeneno na:

    allowLocalHistory: {
        en: "Store new texts and translations into local history (on your device)",
        cs: "Ukládat nové texty a překlady do lokální historie (do vašeho zařízení)",
        uk: "Зберігати нові тексти та переклади у локальній історії (на вашому пристрої)"
    }