Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate metrics and graphs in the Praise dashboard #351

Closed
kristoferlund opened this issue May 3, 2022 · 4 comments · Fixed by #551
Closed

Integrate metrics and graphs in the Praise dashboard #351

kristoferlund opened this issue May 3, 2022 · 4 comments · Fixed by #551

Comments

@kristoferlund
Copy link
Member

No description provided.

@kristoferlund
Copy link
Member Author

@Vyvy-vi takes a look at PyScript and other solutions.

Will we use this in production? This is what the creators say 😄

While it is still unstable and limited, it does actually work!

Simple static bokeh plot example: https://pyscript.net/examples/bokeh.html

@kristoferlund kristoferlund added the discussion Issues that need more discussion and refinement before they're added to the project board label May 3, 2022
@mattyg
Copy link
Collaborator

mattyg commented May 4, 2022

I'd like to share this in case people haven't seen it before. It's a perspective I share: https://mcfunley.com/choose-boring-technology

@kristoferlund
Copy link
Member Author

kristoferlund commented May 4, 2022

Fully support that! That is why we initially chose to develop the backend on Java/Spring framework. Not sexy new tech.

@kristoferlund
Copy link
Member Author

kristoferlund commented May 25, 2022

  • TypeScript
  • Find a good chart library (old, stable, being maintained)
  • Backend does the analysis
  • Frontend styles the data
  • Most queries most likely can be performed using mongoose queries
  • Analysis for periods as well as "cross period analysis"
  • Period analysis
    • Number of praise this period
    • Total praise score
    • No of receivers / givers
  • Cross period analysis
    • Total users
    • Total active users (need definition)
    • Praise per week
  • Filters
    • By discord channel (who sent which praise where)
  • API endpoint
    • Separate endpoints for period stats and cross period stats
      • All: /api/period/{id}/stats/all
      • Single: /api/period/{id}/stats/{analysis key}
    • Analysis key being: top10praisereceivers or similar

These are some notes after conversation with @Vyvy-vi. We need to do a Miro board session together to design this feature.

@kristoferlund kristoferlund changed the title How can we best integrate metrics and graphs in the Praise dashboard? Integrate metrics and graphs in the Praise dashboard Aug 12, 2022
@kristoferlund kristoferlund removed the discussion Issues that need more discussion and refinement before they're added to the project board label Aug 12, 2022
@kristoferlund kristoferlund mentioned this issue Aug 24, 2022
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 a pull request may close this issue.

2 participants