Details
-
Type: Task
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:2
-
Epic Link:
-
Sprint:Fall 7 : 11 Nov to 22 Nov
Attachments
Activity
Riddhi Jagdish Patil (Inactive)
created issue -
Riddhi Jagdish Patil (Inactive)
made changes -
Field | Original Value | New Value |
---|---|---|
Epic Link | IGBF-1388 [ 17463 ] |
Ann Loraine
made changes -
Rank | Ranked higher |
Ann Loraine
made changes -
Rank | Ranked higher |
Riddhi Jagdish Patil (Inactive)
made changes -
Assignee | Riddhi Jagdish Patil [ rpatil14 ] |
Riddhi Jagdish Patil (Inactive)
made changes -
Status | To-Do [ 10305 ] | In Progress [ 3 ] |
Riddhi Jagdish Patil (Inactive)
made changes -
Status | In Progress [ 3 ] | Needs 1st Level Review [ 10005 ] |
Riddhi Jagdish Patil (Inactive)
made changes -
Assignee | Riddhi Jagdish Patil [ rpatil14 ] |
Ann Loraine
made changes -
Status | Needs 1st Level Review [ 10005 ] | First Level Review in Progress [ 10301 ] |
Ann Loraine
made changes -
Status | First Level Review in Progress [ 10301 ] | Ready for Pull Request [ 10304 ] |
Ann Loraine
made changes -
Assignee | Riddhi Jagdish Patil [ rpatil14 ] |
Riddhi Jagdish Patil (Inactive)
made changes -
Status | Ready for Pull Request [ 10304 ] | Pull Request Submitted [ 10101 ] |
Riddhi Jagdish Patil (Inactive)
made changes -
Assignee | Riddhi Jagdish Patil [ rpatil14 ] |
Ann Loraine
made changes -
Status | Pull Request Submitted [ 10101 ] | Reviewing Pull Request [ 10303 ] |
Ann Loraine
made changes -
Status | Reviewing Pull Request [ 10303 ] | Merged Needs Testing [ 10002 ] |
Pawan Bole (Inactive)
made changes -
Assignee | Pawan Bole [ pbole ] |
Pawan Bole (Inactive)
made changes -
Status | Merged Needs Testing [ 10002 ] | Post-merge Testing In Progress [ 10003 ] |
Pawan Bole (Inactive)
made changes -
Resolution | Done [ 10000 ] | |
Status | Post-merge Testing In Progress [ 10003 ] | Closed [ 6 ] |
Pawan Bole (Inactive)
made changes -
Assignee | Pawan Bole [ pbole ] | Riddhi Jagdish Patil [ rpatil14 ] |
Issue:
Implement downloads functionality to save app download count to the database
Solution:
To save the download count of apps in database whenever a user installs app. The download count will now be saved in ReleaseDownloadByDates instead of apps and release model.
File changed:
apps/models.py
apps/search_indexes.py
apps/templates/app_button.html
apps/templates/app_page.html
apps/templatetags/app_buttons.py
apps/views.py
download/templates/app_stats.html
download/urls.py
download/views.py
python_packages.txt
static/apps/js/app_page.js
submit_app/models.py
submit_app/views.py
Code changes are present in branch - https://bitbucket.org/rpatil14/appstore_riddhi/branch/IGBF-2140-download#diff
Testing steps:
1) Scenario 1:
Result - The download count on app page should be incremented. Entry should get created in ReleaseDownloadByDates table with today's date for that particular release.
2) Scenario 2:
Result - Click on the Downloads link present on the App page. Click on Save as CSV button on the Download stats page to download releases download count per release as CSV.
CSV should have following format - Date, release1, release2, ......, Total
3) Scenario 3:
Result - Click on the Downloads link present on the App page. The total Downloads should should overall download count for the app for all releases.
4) Scenario 4:
5) Scenario 5:
6) Scenario 6:
7) Scenario 7:
Result - Click on the Downloads link present on the App page. The Save as CSV button on the Download stats page should be disabled as the app is not yet downloaded.
Testing results:
Code changes are deployed to https://dev-appstore-6.bioviz.org. Admin username and password for devappstore6 is same as devappstore2
Note:
Run command "pip install -r python_packages.txt" to install new package "pandas" required for this task
cc. [~aloraine]