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

Add date range and footer to widget #2100

Open
ckcherry23 opened this issue Jan 29, 2024 · 4 comments
Open

Add date range and footer to widget #2100

ckcherry23 opened this issue Jan 29, 2024 · 4 comments

Comments

@ckcherry23
Copy link
Member

What feature(s) would you like to see in RepoSense

Add more relevant information to the widget such as:

  • Date range of the chart
  • Attribution to RepoSense in the Footer

Is the feature request related to a problem?

Currently, this is how the widget UI looks. We can add more relevant information to make the ramp/bar charts more meaningful and link back to the RepoSense website.

Screenshot 2024-01-29 at 8 01 19 PM

Additional notes

This issue may involve some UI design as well.
For the footer, we can refer to the current footer of the full RepoSense web report for consistency in design.

@ckcherry23
Copy link
Member Author

ckcherry23 commented May 12, 2024

Considering that the new optimize/trim timelines feature from #2180 shows the optimised date range at the bottom left/right of the ramp chart, this code can be reused to show the date range for widgets.

@logical-1985516
Copy link
Contributor

Hi, may I try this issue? May I also clarify what does "Attribution to RepoSense in the Footer" mean?

@ckcherry23
Copy link
Member Author

@logical-1985516 Feel free to try this issue if you're interested.

May I also clarify what does "Attribution to RepoSense in the Footer" mean?

Similar to the following text at the bottom of the left panel in RepoSense reports, we can have a simpler "Generated by RepoSense" text on the widget. You can explore which layout works best.

Screenshot 2024-07-04 at 7 37 16 PM

@logical-1985516
Copy link
Contributor

Hi, is there any other information to add beyond these 2?

  • Date range of the chart
  • Attribution to RepoSense in the Footer

Some other information that may be useful include the number of commits, or the variance of the commits. What do the rest think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants