Closed carlybatist closed 6 months ago
Empty state
Display past requests
@antonyharfield is this what you have in mind?
Should people have the ability to cancel a backup and get another backup opportunity in the same 30 days as when the original backup was requested?
The easiest answer would be no?
The part that's been started is the table export for sites and recordings, and adding signed urls for recordings. It is here: apps/cli/src/export/project-csv/index.ts.
We have finished the user facing part, and now ready to test on https://dev.arbimon.org/
https://github.com/rfcx/arbimon/assets/9149523/7b248f93-7f66-405f-a0e2-b38f697c7046
https://github.com/rfcx/arbimon/assets/9149523/6d58e578-40c1-49bc-bef9-637925f07237
We're now working the cronjob part to actually do the export job, send email, and update status back to the UI.
FYI @koonchaya you can go ahead and get familiar with the changes on dev :)
Save button is on top of the page (in the design is in the bottom)
Which Figma file do you compare with Noon? Please see our discussion here. For the full perspective behind moving the button to the top.
Test project section is missing the warning message
This will only show up when you have published insight page. (Same as existing flow)
Version | WITH published insight | WITHOUT published insight |
---|---|---|
Current | ||
New design |
Reposition date picker delete button
This is due to current library we used for date picker. It'll be fixed as part of date picker task https://github.com/rfcx/arbimon/issues/1573 next sprint
Requested popup:
Design | Current |
---|---|
Design | Current |
---|---|
Thanks @koonchaya, I just fixed the font size and icon padding as part of this task.
I'm not sure about the background color & close icon as those still valid in other places. I think we might want to keep them consistent throughout the platform and change them altogether. (there seems to be 8 places using the current style).
Please create another improvement task for this and we can tackle all for the 8 popups we have at once (we may need to do the same in arbimon-legacy too)
Do we allow only project owner to request backup?
@naluinui Can you adjust the warning box like design? | Design | Current |
---|---|---|
How do I check if the url in export files are signed url?
How do I check if the url in export files are signed url?
If you open a new private/incognito browser window (so that you are not logged in) and paste in the url then it should download a file.
Do we allow only project owner to request backup?
Yes, only project owner can see this UI
This is the error when I tried to open Url from
Example files
Additional
pattern_matching_validations.csv
PM job that has the validation https://staging.arbimon.org/project/create-18-apr-2024/analysis/patternmatching/611
💡Ideas from Sprint review call
Add more export files
Solution to permission problem
https://stackoverflow.com/questions/72552236/generate-s3-presigned-url-in-cross-account-bucket
I tested the Admin backup and waited overnight. The request is still in progress. Can you check why it is taking a long time? This is my test project https://staging.arbimon.org/p/the-rooftop/settings
@naluinui @antonyharfield The url in
FYI, I just downloaded this file today (8 May)
@antonyharfield @LucyDimitrova @naluinui I checked url from recordings.csv which uploaded in 2024 and file timestamp in 2022, I still got the error. The file works ok in the project
My test project: https://staging.arbimon.org/p/create-18-apr-2024/settings Recording id: 7827271 Site id: 11350
@koonchaya, the latest changes (adding classification results to the backup and splitting bigger files into smaller ones, with up to 200k rows) are now in staging.
Url from recordings and templates are working but url from pattern_matching_rois doesn't work.
Export files
pattern_matching_rois
pattern_matchings
playlist_recordings_001
playlists
recording_validations
recordings
rfm_classifications_001
rfm_models
sites
soundscapes
species
templates
There is no data in some of the export files. I am not sure if that's just from my project or something isn't working. Project: BCI-Panama_2018
Suggestions Export data
I've checked the missing data in the export and found the following:
@LucyDimitrova Can you add another column to add songtype name in "rfm_classifications_001"? I am going to double check another round of the data in all export files. Summary Backup export: I double check export files in another project. These are things I think we need to do
FYI team, this feature is now available on production (for internal users who logged in with RFCx email) in the recent release on https://arbimon.org/.
Hope this help us testing it with real data too, before we release to the rest of the users.
FYI team, this feature is now available on production (for internal users who logged in with RFCx email) in the recent release on https://arbimon.org/.
Hope this help we testing it with real data too, before we release to the rest of the users.
@koonchaya @naluinui I've requested backup of an Arbimon workshop project on production to test how it goes and see the files, once it's done I'll add the files here for everyone to see and suggest any changes to columns/etc.
Great! Thanks @carlybatist
Remark the downloaded file types from url in the following sheet
Feedback from @carlybatist https://rfcx.slack.com/archives/C06PD7U65NF/p1716213253364409?thread_ts=1715951951.248849&cid=C06PD7U65NF
here’s the project backup request for that project some suggested changes (mostly changing internal IDs to what they actually show/mean in arbimon):
The strikethrough items are done ✅:
@antonyharfield, I'm not sure how to proceed with/answer these:
@LucyDimitrova @carlybatist I think this might help answering the questions
pattern_matching_rois.csv - how to get the file that the roi is from?
I think user can go to the recordings by using recording id and get the url for the recording from recordings.csv. I think adding the filename in recordings.csv can be easy and useful for user to find the original file.
playlist_recordings.csv - recording/file name
Should we include filename in recordings.csv?
recording_validations.csv - what is the difference between ‘present’ and ‘present_review’ columns?
I believe this is the validation as present where you validate from PM results and visualizer. I am not sure which one is from which page.
templates.csv - how do we get recording/file name?
User can check the original recordings in recordings.csv with recording id.
Ok yeah if it's a hassle to include the recording/file name, we can just stick to the recording ID in the templates, playlist, etc. files. But for the recording_validations.csv, we should make those two column headers more clear to identify which each represent
@LucyDimitrova The export is missing pattern_matchings.csv
@koonchaya Fixed. Thanks for catching that!
Released in v1.2.2 🚀
Shouldn't we keep it open until we finalize the the python script and documentation? @koonchaya
For the project backup, all requirements in this ticket are done. We still have the ticket for python scripts and documentation open. https://github.com/rfcx/arbimon/issues/1943
Please note we still need to turn the flag to enable this to the external users. (currently only available to RFCx users)
Context
From @carlybatist and Ant/Marconi -
We should have a way to provide partners with a backup of all their data from a project (all raw recordings, results of jobs they've run, all metadata, all Insights maps/figures).
This feature will fulfill compliance with EU law (GDPR) - all users should (read: need to) have a way to download their data.
Expected results
Additional notes
Design
https://www.figma.com/file/GjR3UAHkQyGvx1iZzdZdDw/%F0%9F%92%BB-Arbimon-Platform?type=design&node-id=9914-6375&mode=design&t=ZfYWta8cBYYoo7ts-4
Copy:
Proposed technical implementation
project id
,requested by
(user),requested at
(timestamp),expires at
(timestamp),status
(requested, processing, available),url
,size
(number of mbs).processing
available
Related APIs
GET
backup history list (by project id) (#1903)POST
backup to create a new backup request (#1903)Other related tasks