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 feature statistics #3832

Open
1 of 3 tasks
matthewelwell opened this issue Apr 24, 2024 · 2 comments
Open
1 of 3 tasks

Add feature statistics #3832

matthewelwell opened this issue Apr 24, 2024 · 2 comments
Assignees
Labels
api Issue related to the REST API feature New feature or request front-end Issue related to the React Front End Dashboard

Comments

@matthewelwell
Copy link
Contributor

matthewelwell commented Apr 24, 2024

Is your feature request related to a problem? Please describe.

I want to be able to see how long a feature has existed.

Describe the solution you'd like.

I think we can add a few things to help here:

  • Show a UI hint on each feature if it has been more than x days since it was created
  • Show a statistic above the features which provides the total number of features that were created more than x days ago
  • Clicking this statistic (or similar) should filter the list of features for those that were created more than x days ago

Describe alternatives you've considered

N/a

Additional context

No response

@matthewelwell matthewelwell added feature New feature or request front-end Issue related to the React Front End Dashboard api Issue related to the REST API labels Apr 24, 2024
@matthewelwell
Copy link
Contributor Author

From an API perspective, we need to provide:

  1. An option to filter the list of features based on 'created date is less than X'
  2. Some meta statistics on the features in a given project. I'm wondering if this can be added as an extra attribute in the response to GET /projects/:id/features/. e.g. alongside "results" in the paged response we could add a "meta" attribute which then provides statistics about all the features in the project. Alternatively, we could create a new /statistics endpoint which would provide this data.

@kyle-ssg kyle-ssg changed the title Add UI helpers for when a (non-permanent) feature has been open for longer than x days Add feature statistics Jun 5, 2024
@kyle-ssg
Copy link
Member

kyle-ssg commented Jun 5, 2024

Since we have a ui helper for flags created x ago, I think it'd make more sense to focus this ticket on statistics.

Having just 1 statistic would be a bit weird so it might be worth us specifying what high level items we'd want. Here's some I think would be useful

  • Features updated in the past x days
  • Stale features
  • Features created x days ago
  • Deleted features
  • Unused feature flags - i.e. usage is 0 for x days, this could help identify features that aren't actually being used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API feature New feature or request front-end Issue related to the React Front End Dashboard
Projects
None yet
Development

No branches or pull requests

2 participants