diff --git a/.github/ISSUE_TEMPLATE/experience.yml b/.github/ISSUE_TEMPLATE/experience.yml new file mode 100644 index 0000000..5fb29c2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/experience.yml @@ -0,0 +1,56 @@ +name: Experience report +description: Tell us how NG Backup works for you, also when everything went fine. +title: "Experience: " +body: + - type: markdown + attributes: + value: | + Thanks for trying NG Backup! Reports of what works are just as useful as bug reports: + they tell us which setups are tested. Please leave out host names, user names and keys. + - type: dropdown + id: location + attributes: + label: Backup location + multiple: true + options: + - S3 / S3-compatible + - SFTP + - WebDAV + - SMB/CIFS + - FTP + - Swift + - Local path (disk, NFS mount, ...) + validations: + required: true + - type: input + id: provider + attributes: + label: Storage provider (optional) + placeholder: e.g. Hetzner Storage Box, OVH, Backblaze B2, own NAS + - type: input + id: setup + attributes: + label: Nextcloud version and setup + placeholder: e.g. 32.0.1, AIO / Docker / bare metal, PostgreSQL / MariaDB + - type: input + id: size + attributes: + label: Rough size of the backup + placeholder: e.g. 50 GB, 200,000 files + - type: checkboxes + id: tried + attributes: + label: What did you try? + options: + - label: Full backup + - label: Incremental backup + - label: Verify + - label: Restore of files or folders + - label: Full restore on another server + - type: textarea + id: notes + attributes: + label: How did it go? + description: What worked, what was unclear, slow or broken. + validations: + required: true diff --git a/CHANGELOG.md b/CHANGELOG.md index e309163..cee3c9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,10 @@ instead carried by the app description, the git tag, the release, and this file. ## [Unreleased] +### Added +- The admin page asks for feedback, with a link to a short "Experience report" form on GitHub: + which location, setup and size you used, and how it went. + ### Changed - The list of backup runs (web interface and `occ backup:status`) shows the runs of the last 7 days, those still running, and at least the 5 newest; a failed run stays visible for that week. diff --git a/src/AdminSettings.vue b/src/AdminSettings.vue index 1db72f0..eae0342 100644 --- a/src/AdminSettings.vue +++ b/src/AdminSettings.vue @@ -6,6 +6,10 @@
+

+ {{ t('ng_backup', 'NG Backup is in beta. We would like to hear how it works for you, also when everything went fine.') }} + {{ t('ng_backup', 'Share your experience ↗') }} +

{{ error }}
@@ -45,6 +49,9 @@ import KeySetup from './components/KeySetup.vue' import Locations from './components/Locations.vue' import RestoreBrowser from './components/RestoreBrowser.vue' +// Opens the experience report form in .github/ISSUE_TEMPLATE +const feedbackUrl = 'https://github.com/dillardblom/ng_backup/issues/new?template=experience.yml' + const status = ref(null) const allRuns = ref(false) // runs older than the last days too const error = ref('') @@ -85,6 +92,14 @@ onBeforeUnmount(() => clearTimeout(timer)) .ng-backup :deep(.settings-section) { max-width: 900px; } +.ngb-feedback { + color: var(--color-text-maxcontrast); + margin-bottom: 12px; +} +.ngb-feedback a { + color: var(--color-primary-element); + text-decoration: underline; +} .ngb-tabs { display: flex; gap: 8px;