gitroomhq / gitroom

πŸ“¨ Schedule social media and articles. Exchange or buy posts from other members πŸ‘¨πŸ»β€πŸ’». Monitor your GitHub trending, and so much more πŸ“ˆ.

Home Page:https://gitroom.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸš€ Feature: add filtering to the analytics page

nevo-david opened this issue Β· comments

πŸ”– Feature description

On the main analytics page, add a date range picker between dates.
It will filter both the top graph and the amount of stars at the bottom.

🎀 Why is this feature needed ?

Sometimes, we need more focused analytics on specific dates

✌️ How do you aim to achieve this?

  • Add the frontend logic into the apps/frontend/src/components/analytics
  • Add the backend logic into the DTO and the services, starting from the controller at apps/backend/src/api/routes/analytics.controller.ts

πŸ”„οΈ Additional Information

No response

πŸ‘€ Have you spent some time to check if this feature request has been raised before?

  • I checked and didn't find similar issue

Are you willing to submit PR?

None

Hi @nevo-david I am pretty new to open source configuration and was wondering if I could help out on this issue?

Hi @jyo142 :)
For sure, but can you run the project before?

@nevo-david thank you for your response. I believe that I have successfully run the project locally. Does this look correct?

Screenshot 2024-05-01 at 9 04 51 PM

Awesome!
Assigning it to you @jyo142,
Make sure you add your GitHub in the settings so you can see more metrics.

Hi @nevo-david this may be a silly question... but do you know how I can get past the billing? Whenver I go to the Billing page locally the popup of "Payment Required" keeps showing up even if I click on the "Move to Billing" button. I could play around with the code to try and make it work but I just wanted to make sure that I do it the right way. Do I have to signup in the production instance first?

Thanks!

Screenshot 2024-05-02 at 12 52 43 PM

hi @nevo-david thank you for the response. Unfortunately removing the env variables still did not help :( just curious would you be available for a quick screenshare sometime? I do really want to help out but hopefully I can resolve this issue soon

Hey @jyo142 check again to run the project

@jyo142 we have fixed the problem, can you take the new changes from main?

@nevo-david @joset98 that worked thanks for the fix! Sorry i have been caught up with work and havent been able to put much attention into this. @nevo-david what is your opinion on using external packages for this project? I was thinking about https://www.npmjs.com/package/react-date-range (it says not being maintained, but that was about 2 weeks ago and it still looks very good and popular)

@jyo142 thank you for the response, I have somewhat missed it. Sorry for that.
We already have a datepicker in the project, check out:
apps/frontend/src/components/launches/helpers/date.picker.tsx

It uses mantine, feel free to customize another component from it for a range picker, should be easy :)