Skip to content

Displayed visitors count and downloads counts for each daatset#47

Open
KarishmaVanwari wants to merge 3 commits into
samz5320:mainfrom
KarishmaVanwari:new-branch
Open

Displayed visitors count and downloads counts for each daatset#47
KarishmaVanwari wants to merge 3 commits into
samz5320:mainfrom
KarishmaVanwari:new-branch

Conversation

@KarishmaVanwari

Copy link
Copy Markdown

Description

The website did not have visitor count and downloads count. I made the changes and now it shows the visitiors count next to dataset heading. Also, now the download count for each dataset is shown.

Fixes #8

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

ATTACH SCREEN-SHOTS

screencapture-127-0-0-1-5500-index-html-2021-10-02-20_53_12

@netlify

netlify Bot commented Oct 2, 2021

Copy link
Copy Markdown

✔️ Deploy Preview for zen-visvesvaraya-18f5e7 ready!

🔨 Explore the source changes: 9b2794f

🔍 Inspect the deploy log: https://app.netlify.com/sites/zen-visvesvaraya-18f5e7/deploys/6158aa54cd3d050007d55416

😎 Browse the preview: https://deploy-preview-47--zen-visvesvaraya-18f5e7.netlify.app/

@samz5320

samz5320 commented Oct 2, 2021

Copy link
Copy Markdown
Owner

there is an error. it says Nan instead of displaying the number of downloads. you can see it in the preview

@KarishmaVanwari

Copy link
Copy Markdown
Author

there is an error. it says Nan instead of displaying the number of downloads. you can see it in the preview

Okay, I'll fix this

@KarishmaVanwari

Copy link
Copy Markdown
Author

Please do check it now @samz5320

@samz5320

samz5320 commented Oct 2, 2021

Copy link
Copy Markdown
Owner

Screenshot 2021-10-02 at 11 44 45 PM

It is working for some datasets and not for the rest. I think we should avoid the views count for now as it is being stored in browser storage.

@samz5320

samz5320 commented Oct 2, 2021

Copy link
Copy Markdown
Owner

You can use the preview deployed link to test ur changes

@KarishmaVanwari

Copy link
Copy Markdown
Author
Screenshot 2021-10-02 at 11 44 45 PM

It is working for some datasets and not for the rest. I think we should avoid the views count for now as it is being stored in browser storage.
data4all

I guess it shows fine, as you can see, but I don't get why are the two screenshots showing different results.

@samz5320

samz5320 commented Oct 2, 2021

Copy link
Copy Markdown
Owner

Can you git pull to update your repo. and then you can add your changes.. also copy your ur changes to another file.

@KarishmaVanwari

Copy link
Copy Markdown
Author

data4all-ss

I have done git pull, but it still shows the number of downloads properly (for the datasets that I changed).

@samz5320

samz5320 commented Oct 3, 2021

Copy link
Copy Markdown
Owner

I think we have to work out a new design for this.

@KarishmaVanwari

KarishmaVanwari commented Oct 3, 2021

Copy link
Copy Markdown
Author

I think we have to work out a new design for this.

Could you merge the visitors count part if create another pr of changes only for the same? @samz5320

@samz5320

samz5320 commented Oct 4, 2021

Copy link
Copy Markdown
Owner

i cannot merge the current PR .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Display number of downloads of datasets and visits to page

2 participants