-
Notifications
You must be signed in to change notification settings - Fork 1
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
How file association with database should be displayed #67
Comments
Beautiful!
Nicolas Vanermen
*Wetenschappelijk medewerker*
Instituut voor Natuur- en Bosonderzoek
Havenlaan 88, bus 73, 1000 Brussel
0486/361.582
…On Mon, Jan 24, 2022 at 11:57 AM Peter Desmet ***@***.***> wrote:
Discussed on Jan 24 meeting.
A logged in user will see an overview of all uploaded files associated
with their organization (even those uploaded by other users of that
organization). Per file, the following information is displayed.
- fileName
- uploadDate
- uploadUser
- responsibleOrganization
- country
- count(campaigns)
- min(startDate)
- max(endDate)
Note that the last 3 (dynamic) fields are based on the *associated
campaigns in the database*, not what is present in the file. That way,
the user can always see what data in the database is associated with a file
or (when no data are associated anymore) whether a file is orphaned and can
be safely removed.
Scenario
1. Current overview of files
file uploaded by org country campaigns start end actions
2008_data.txt <#m_4387809448739602450_> 2021-03-01 nicolas INBO BE 10
2008-03-02 2008-08-21 remove <#m_4387809448739602450_>
2007_data.txt <#m_4387809448739602450_> 2021-03-01 nicolas INBO BE 10
2008-04-01 2008-07-18 remove <#m_4387809448739602450_>
1. I upload a new file with 3 campaigns for 2008 (3 already uploaded
ones, 1 new one)
2. System asks if I want to overwrite 3 existing campaigns, I confirm
3. New overview of files:
file uploaded by org country campaigns start end actions
4 campaigns.txt <#m_4387809448739602450_> 2022-01-10 peter INBO BE 4
2008-08-01 2008-09-01 remove <#m_4387809448739602450_>
2008_data.txt <#m_4387809448739602450_> 2021-03-01 nicolas INBO BE 7
2008-03-02 2008-07-25 remove <#m_4387809448739602450_>
2007_data.txt <#m_4387809448739602450_> 2021-03-01 nicolas INBO BE 10
2008-04-01 2008-07-18 remove <#m_4387809448739602450_>
—
Reply to this email directly, view it on GitHub
<#67>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABYKGXNADGMTLIIGHRQ4T53UXUWCLANCNFSM5MVA7THA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
@nicolasvanermen @cmspinto is this overview of uploaded files implemented for logged in users? |
This is the closest I can get, and still quite different from what was proposed by Peter... |
Suggested updates for the table
|
@cmspinto in the Submissions table, can you:
|
Done, thanks for the heads up |
Important to flag here that for the moment, a logged in user can see its own submissions, but as far as I can see, there is no way for a logged in user to check which submissions have been made for the organisation the user is associated to... This will be important for the DRH's that allow me to upload their data. So a seperate page for the latter still needs to be developed... |
Another thing.... In the view your submissions page, the campaigns column is also referring to the number of campaigns in the database and not to the number in the file of the respective row. This can be confusing, and should be more clear based on the column name, based on a clarifying text above the table, or by listing both the number of campaigns in the file and the number in the database. So to conclude:
|
Let's revisit this issue once the file screening works as expected. |
@peterdesmet and @nicolasvanermen looking at the code this is already happening! When a user click in option (c) View list of your database submissions, it shows the all user submissions and the submissions that other user(s) have done to user associated institute. In this sense it is helpful to have a column with the submitter user name. It is possible to do one of two things:
|
I can change the code to pick the re-submited campaigns that were removed for that file. So either the name of the column changes to "Original No. Campaigns" or we split this into two fields, any suggestions? |
I would prefer two columns: No. of campaigns (database) - No. of campaigns (file) |
Option 1 is the most elegant |
Yes, perfect! |
@Osanna123 needs to be tested. |
I can test this only partly, after I start migrating the database. But I am not planning any resubmissions, which makes it hard to test the performance of this table (cfr the number of campaigns in the database versus the number in the file). |
Ideally, one more test is performed after the milestone test. I will supply another datafile, including only 2 JNCC campaigns, when uploading this one, and resubmitting 2 campaigns of the first file then there should be two rows in the submissions overview, one row with 11952/11954 campaigns, and one with 2/2 campaigns. Would that be okay for you Anna? |
The resubmission test went fine! The only remaining issue is flagged here, closing this issue. |
Discussed on Jan 24 meeting.
A logged in user will see an overview of all uploaded files associated with their organization (even those uploaded by other users of that organization). Per file, the following information is displayed.
Note that the last 3 (dynamic) fields are based on the associated campaigns in the database, not what is present in the file. That way, the user can always see what data in the database is associated with a file or (when no data are associated anymore) whether a file is orphaned and can be safely removed.
Scenario
The text was updated successfully, but these errors were encountered: