Closed MartinKolarik closed 2 years ago
Package page: https://www-jsdelivr-com-pr-400.onrender.com/package/npm/react
undefined
chart labels on Statistics tab - be sure to test all period options including yearly
_.formatNumber
<link>
so each should be on three lines here https://dl.dropboxusercontent.com/s/919vup1rdy85mwb/2022-06-02_04-14-24.png"guessed": true
for at least one fileFixed:
All pages:
font-family: Verdana, sans-serif; font-size: 90%;
examples: https://dl.dropboxusercontent.com/s/cj7363ax2bo9d3w/2022-06-03_16-53-22.png, https://dl.dropboxusercontent.com/s/r1xscdhxedupcfd/2022-06-03_16-54-16.png, https://dl.dropboxusercontent.com/s/urme8ibmimh5oe1/2022-06-03_16-56-24.pngHomepage:
All pages:
- [ ] In all places where we refer to "requests" and "GB", it should be "requests" and "bandwidth" and the unit should be part of the value. E.g. this switch but it's in many places so use search for "GB" and fix everywhere:
@MartinKolarik, could you explain more about this point? Does the current chart is about for "GB" ? right?
@IvanAdamovic646
So we are fetching "Request" data using "fetchPackageDateStats" function and the api url is https://data.jsdelivr.com/v1/package/npm/react-is/stats/date/month
To get "GB" data, we can use "fetchPackageBandwidthStats" function and api url is https://data.jsdelivr.com/v1/package/npm/react-is/stats/bandwidth/date/month
right?
@IvanAdamovic646 you wrote the same URL twice but yes, the function names are correct.
Thanks for details, @MartinKolarik .
We now have preview endpoints for everything except part of the stats page. All data mocks should be replaced by the real endpoints.
@MartinKolarik
tweet button has broken text: "jquery is the 11th most popular package on https://github.com/jsdelivr CDN, with 23 344 847 771 hits in the last year: undefined"
Can you tell me what can be replaced instead of undefined
?
@MartinKolarik
tweet button has broken text: "jquery is the 11th most popular package on https://github.com/jsdelivr CDN, with 23 344 847 771 hits in the last year: undefined"
Can you tell me what can be replaced instead ofundefined
?
It's supposed to be a link to that page.
I'm attaching image about the link for tweet button. I have checked again which can be the link to that page but still not sure what can be the proper link for it. Could you give me a hint or proper tweet url for attached page again please?
I'm attaching image about the link for tweet button. I have checked again which can be the link to that page but still not sure what can be the proper link for it. Could you give me a hint or proper tweet url for attached page again please?
in this case it would be the full localhost url to that page, which you see in the browser url bar (simply location.href
)
Ok. thanks for letting me know.
Hi, @MartinKolarik.
on smaller screens, the sidebar is cut, we should make it work down to 992px ideally and then hide it below 992 (currently it's still partially visible)
Regarding this issue,
currently, I have updated this page that it can work down to 1200px and if below 1200px it hide sidebar. Let me know please if current state is okay.
Or when size down like to 995px, is it okay to split the button text into 2 lines like below image ?
@IvanAdamovic646 we could probably come up with a different layout for the buttons but generally I hoped we could make the right panel smaller on that size.
@xbpcb reassigned to you, please check the remaining unchecked tasks in the comments above (I've hidden all comments that are already resolved).
Stats page:
period
can only be s-month
and s-year
for these endpoints, if users selects something else, ignore it for these tables... also we don't have a full year of data yet so that option returns no results yet)
GitHub is hiding comments in #400 because there are too many, so we're going to track all remaining issues here for better visibility.