KendallDoesCoding / youtubers-birthdays

https://youtubers-birthdays.kendalldoescoding.tech
MIT License
9 stars 39 forks source link

Sort out by Views and Category [JAVASCRPT] #7

Open KendallDoesCoding opened 1 year ago

KendallDoesCoding commented 1 year ago

On hover of text - "Total Views" put a small icon/button that if tapped, will sort the list by the person who got the least amount of views, to the most amount of views, from the list.

uuc110 commented 1 year ago

@KendallDoesCoding can i work on this? if no one is working

uuc110 commented 1 year ago

I can do this by both using library and By coding JS in classical way as we do? You can let me have this one

KendallDoesCoding commented 1 year ago

@KendallDoesCoding can i work on this? if no one is working

Sure. Assigned.

uuc110 commented 1 year ago

@KendallDoesCoding to take the view I need the API key for which for me it's not possible to share my Private API key🤷‍♂️ so I don't think any another way to solve this? well not in my knowledge.

KendallDoesCoding commented 1 year ago

@KendallDoesCoding to take the view I need the API key for which for me it's not possible to share my Private API key🤷‍♂️ so I don't think any another way to solve this? well not in my knowledge.

which software is it for API key? There is another way which I was working on the other day but left it half.

iONBain commented 1 year ago

Hi @KendallDoesCoding , I will be able to pick this up, you can assign this feat to me if open.

KendallDoesCoding commented 1 year ago

Hi @KendallDoesCoding , I will be able to pick this up, you can assign this feat to me if open.

Sure.

uuc110 commented 1 year ago

@KendallDoesCoding to take the view I need the API key for which for me it's not possible to share my Private API key🤷‍♂️ so I don't think any another way to solve this? well not in my knowledge.

which software is it for API key? There is another way which I was working on the other day but left it half.

I was trying to use google's Youtube Data API v3

KendallDoesCoding commented 1 year ago

Bro. The views is on the website in the lqst column we just needed to sort out in order by views.

Eg: 5 million 2 million

The 2 million as to come on top. This issue doesnt need any API just JS code.

On Fri, 31 Mar 2023, 10:35 am Sourabh Kushwah, @.***> wrote:

@KendallDoesCoding https://github.com/KendallDoesCoding to take the view I need the API key for which for me it's not possible to share my Private API key🤷‍♂️ so I don't think any another way to solve this? well not in my knowledge.

which software is it for API key? There is another way which I was working on the other day but left it half.

I was trying to use google's Youtube Data API v3

— Reply to this email directly, view it on GitHub https://github.com/KendallDoesCoding/youtubers-birthdays/issues/7#issuecomment-1491301967, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUGJUTOW2PBG6OSVN5GZMZTW6ZQYFANCNFSM6AAAAAAWJNZ7BI . You are receiving this because you were mentioned.Message ID: @.***>

uuc110 commented 1 year ago

Bro. The views is on the website in the lqst column we just needed to sort out in order by views. Eg: 5 million 2 million The 2 million as to come on top. This issue doesnt need any API just JS code. On Fri, 31 Mar 2023, 10:35 am Sourabh Kushwah, @.> wrote: @KendallDoesCoding https://github.com/KendallDoesCoding to take the view I need the API key for which for me it's not possible to share my Private API key🤷‍♂️ so I don't think any another way to solve this? well not in my knowledge. which software is it for API key? There is another way which I was working on the other day but left it half. I was trying to use google's Youtube Data API v3 — Reply to this email directly, view it on GitHub <#7 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUGJUTOW2PBG6OSVN5GZMZTW6ZQYFANCNFSM6AAAAAAWJNZ7BI . You are receiving this because you were mentioned.Message ID: @.>

Oh my bad😅 I totally forgot the last column. yea you are right. I Dropped the PR thinking its about API thing, When I already did it😂 Anyway. Thanks for correcting me

KendallDoesCoding commented 1 year ago

Oh, it's not API related. Sorry that I wasn't clear in the issue description.

Thanks, Kendall Does Coding

Portfolio https://ncc-net.com/click?redirect=https%3A%2F%2Fkendalldoescoding.gq&dID=1680253291744&hashId=060de6478a47358f5315814fdd49f493dff92988d90dca1ba25e30911a8a60f18777e7&linkName=Portfolio Github https://ncc-net.com/click?redirect=https%3A%2F%2Fgithub.com%2FKendallDoesCoding&dID=1680253291744&hashId=060de6478a47358f5315814fdd49f493dff92988d90dca1ba25e30911a8a60f18777e7&linkName=Github Youtube https://ncc-net.com/click?redirect=https%3A%2F%2Fkendalldoescoding.gq%2FcodingYT&dID=1680253291744&hashId=060de6478a47358f5315814fdd49f493dff92988d90dca1ba25e30911a8a60f18777e7&linkName=Youtube

On Fri, 31 Mar 2023 at 11:42, Sourabh Kushwah @.***> wrote:

Bro. The views is on the website in the lqst column we just needed to sort out in order by views. Eg: 5 million 2 million The 2 million as to come on top. This issue doesnt need any API just JS code. … <#m7724634788709762059> On Fri, 31 Mar 2023, 10:35 am Sourabh Kushwah, @.> wrote: @KendallDoesCoding https://github.com/KendallDoesCoding https://github.com/KendallDoesCoding https://github.com/KendallDoesCoding to take the view I need the API key for which for me it's not possible to share my Private API key🤷‍♂️ so I don't think any another way to solve this? well not in my knowledge. which software is it for API key? There is another way which I was working on the other day but left it half. I was trying to use google's Youtube Data API v3 — Reply to this email directly, view it on GitHub <#7 (comment) https://github.com/KendallDoesCoding/youtubers-birthdays/issues/7#issuecomment-1491301967>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUGJUTOW2PBG6OSVN5GZMZTW6ZQYFANCNFSM6AAAAAAWJNZ7BI https://github.com/notifications/unsubscribe-auth/AUGJUTOW2PBG6OSVN5GZMZTW6ZQYFANCNFSM6AAAAAAWJNZ7BI . You are receiving this because you were mentioned.Message ID: @.>

Oh my bad😅 I totally forgot the last column. yea you are right. I Dropped the PR thinking its about API thing, When I already did it😂 Anyway. Thanks for correcting me

— Reply to this email directly, view it on GitHub https://github.com/KendallDoesCoding/youtubers-birthdays/issues/7#issuecomment-1491353255, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUGJUTMMPVBYR2WUVKAB6ETW6ZYWBANCNFSM6AAAAAAWJNZ7BI . You are receiving this because you were mentioned.Message ID: @.***>

KendallDoesCoding commented 1 year ago

A issue about a API is #4, not this one!

KendallDoesCoding commented 1 year ago

Any update on this @iONBain

KendallDoesCoding commented 1 year ago

@iONBain - any update?

Akhi1Codes commented 1 year ago

@KendallDoesCoding - Hey, just a doubt about the sorting issue as most of the details are in .html file, it might be hard to pull and sort those. If you got any tips on how to do it would love to know. PS - would be good if we create an array of the details for better usability.

Thank you.

KendallDoesCoding commented 1 year ago

@KendallDoesCoding - Hey, just a doubt about the sorting issue as most of the details are in .html file, it might be hard to pull and sort those. If you got any tips on how to do it would love to know. PS - would be good if we create an array of the details for better usability.

Thank you.

Hey, Thanks for bringing this to my notice...

Can you create a issue suggesting to create a array for the details and then we can go from there?

lives-in-virgosupercluster commented 1 year ago

Can I get this Assigned ? Also I would need more details on what you exactly want to achieve and where to add the sort button here is my discord-harshsingh9215

KendallDoesCoding commented 1 year ago

Can I get this Assigned ? Also I would need more details on what you exactly want to achieve and where to add the sort button here is my discord-harshsingh9215

Hey! @iONBain was assigned to this, but I haven't heard from him on this from a long time, if he doesn't reply. I will assign this to you.

@iONBain - any update?

MayankBansal12 commented 1 year ago

I would like to work on this issue

CodeWithPrajjwal commented 1 year ago

Why this codebase doesn't contain a ".html" file?

shivamsethi commented 1 year ago

@KendallDoesCoding - I would like to work on this one - Can you assign this to me?

KendallDoesCoding commented 1 year ago

@KendallDoesCoding - I would like to work on this one - Can you assign this to me?

Hey. Sorry, @MayankBansal12 is working on this. You can help him with it, if he requires. Otherwise, you can work on other issues related to the project. Thanks

MayankBansal12 commented 1 year ago

Why this codebase doesn't contain a ".html" file?

Hi @CodeWithPrajjwal We are using the ejs template in Express to generate dynamic HTML content, so we don't have .html files, but in public folder, you can see .ejs files.

MayankBansal12 commented 1 year ago

@KendallDoesCoding - I would like to work on this one - Can you assign this to me?

Hi @shivamsethi, So, what approach you are looking to use to sort YouTubers?

Lucifer-zone commented 11 months ago

I think we can use the mongoDB inbuilt functions to sort the data based on views or category. @MayankBansal12 - Let me know if you are not working on this, i can work on it Or we can work together.

MayankBansal12 commented 11 months ago

Hey @Lucifer-zone, you can go ahead and raise a PR for the same.

Lucifer-zone commented 11 months ago

Hi @KendallDoesCoding - Could you assign this to me

Lucifer-zone commented 11 months ago

Hi @KendallDoesCoding - Could you check this PR - https://github.com/KendallDoesCoding/youtubers-birthdays/pull/102 I am getting a strange issue while Deepsource verification and not able to add you as reviewer

MayankBansal12 commented 11 months ago

Hey @Lucifer-zone, your PR #102 has been merged. It does allow sorting based on views however, we need to add sorting for a category. On selecting a specific category name, say Gaming or Tech, all the related entries are shown. Currently sorting is working based on views.

Lucifer-zone commented 11 months ago

Hi @MayankBansal12 - I have added the sorting on category column too where if we click on category column, values of category get sorted based on lexicographical order. It was working for me. Could you try again by clearing the cache. I will also try once.

Lucifer-zone commented 11 months ago

Sorting on category is working for me, Please try again @MayankBansal12 @KendallDoesCoding

MayankBansal12 commented 11 months ago

I have checked the category sorting too. What I meant was if I click on any category, say Tech or Gaming, then all the items related to that category get listed up...something like that. Currently, it gets sorted based on lexicographic order which is fine.

Lucifer-zone commented 11 months ago

Oh okay, yeah right, that would be a nice enhancement, but the current scope was to sort the data based on category and views which is complete. We can maybe create a new issue/enhancement to add this functionality