Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have a sticky notification while the export/import is running #95

Open
come-nc opened this issue Apr 12, 2022 · 3 comments
Open

Have a sticky notification while the export/import is running #95

come-nc opened this issue Apr 12, 2022 · 3 comments
Labels
design Related to design, interface, interaction design, UX, etc. enhancement New feature request

Comments

@come-nc
Copy link
Collaborator

come-nc commented Apr 12, 2022

Not sure if we have those kind of notifications?

@come-nc come-nc added enhancement New feature request design Related to design, interface, interaction design, UX, etc. labels Apr 12, 2022
@PVince81
Copy link
Member

@jancborchardt are you aware of such feature request in server ?

@Pytal
Copy link
Member

Pytal commented May 24, 2022

https://github.com/nextcloud/nextcloud-dialogs provides a timeout option which could work although this is not exactly the same as the notification itself being sticky which would be a new feature going by the functionality of the existing interface https://github.com/nextcloud/server/blob/eb5e0a4e511551ae493d7bc3ca77045ba2b9480c/lib/public/Notification/INotification.php

@come-nc
Copy link
Collaborator Author

come-nc commented Sep 6, 2022

Proposed plan:

  1. Add a notification when the export starts, warning the user he should not use the account while export is running (same for import)
  2. When a migrator writes to $output, add the text to the notification if present and possible (Only for normal verbosity, adapt migrators to not be too chatty on this level).
  3. If the notification has been closed, open a new one.

And ideally the output lines should also show on the data migration settings page.

Maybe we should use Psr\Log\LoggerInterface instead of Symfony\Component\Console\Output\OutputInterface for migrators to output data so that there are levels for warning and errors?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Related to design, interface, interaction design, UX, etc. enhancement New feature request
Projects
None yet
Development

No branches or pull requests

3 participants