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

Public summaries and sharing links #36

Closed
muety opened this issue Jul 20, 2020 · 2 comments
Closed

Public summaries and sharing links #36

muety opened this issue Jul 20, 2020 · 2 comments
Assignees
Labels
effort:4 enhancement New feature or request prio b

Comments

@muety
Copy link
Owner

muety commented Jul 20, 2020

Allow a user to make her summary public, so a read-only view of it can be shared as a link on the web.

The user should able to choose which charts to display on the public page and which to hide.

@muety
Copy link
Owner Author

muety commented Jan 26, 2021

Inspired by WakaTime embeddable charts.

@muety
Copy link
Owner Author

muety commented Feb 6, 2021

I'd suggest to do it analogously to WakaTime, which has two checkmarks to enable exposing statistics publicly.

image

These two settings will affect the stats endpoint (#114) as well as the badge endpoint.

To Do

  • Add two new flags to the user
    • int flag indicating how many days to share publicly (default 0)
    • Complementing bool flag indicating whether to include projects, languages, etc. in publicly shared stats
  • Substitute badges_enabled flag with the two from above and write according database migration

@muety muety self-assigned this Feb 6, 2021
@muety muety closed this as completed in fca12f5 Feb 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort:4 enhancement New feature or request prio b
Projects
None yet
Development

No branches or pull requests

1 participant