-
Notifications
You must be signed in to change notification settings - Fork 60
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
Add support for uploading exported snapshots #3842
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3842 +/- ##
==========================================
+ Coverage 79.22% 79.26% +0.03%
==========================================
Files 281 281
Lines 12660 12721 +61
Branches 2813 2837 +24
==========================================
+ Hits 10030 10083 +53
- Misses 2630 2638 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Includes missing export logger sets correct icon for snapshot actions
Sane counterpart to existing "export" APIs
aligns with styling applied to the table filter actions slot
…owfuse into 3628-upload-snapshot
Closing this large PR in favour of separate tasks due to growing larger than anticipated. See new task list in parent story #3628 |
Description
Details Updated 2024/05/15
POST
api/v1/snapshots/import
in the Snapshots APIflows
array andsettings.xxx
objects, but this is not done in this PRsnapshots:import
for which only theowner
of the instance or device can import snapshotsmember
is permitted to create snapshots?snapshots:import
rolegap
between the buttons in the empty state actions slot (in line with the SCSSgap
setting for the table search actions slot)frontend/src/components/dialogs/SnapshotImportDialog.vue
isSnapshot
inforge/routes/api/snapshot.js
Unit tests added
E2E tests added
pre 15-05-2024
POST
api/v1/snapshots
/upload
?uploadSnapshot
frontend/src/components/dialogs/SnapshotUploadDialog.vue
NOTES:
Related Issue(s)
#3628
Checklist
flowforge.yml
?FlowFuse/helm
to update ConfigMap TemplateFlowFuse/CloudProject
to update values for Staging/ProductionLabels
area:migration
label