Skip to content

Issue/2158 - #2557

Merged
briri merged 7 commits into
DMPRoadmap:developmentfrom
DigitalCurationCentre:issue/2158
Jun 11, 2020
Merged

Issue/2158#2557
briri merged 7 commits into
DMPRoadmap:developmentfrom
DigitalCurationCentre:issue/2158

Conversation

@xsrust

@xsrust xsrust commented Jun 10, 2020

Copy link
Copy Markdown
Contributor

Adds a filtered boolean to all Stat objects, defaulting to false.
Adds a stats_filter scope to Plan to define the filter logic
Extends each service to generate both a filtered and unfiltered stat for each month
Adds a excluding test plans checkbox to the usage-stats page to toggle the filtered and unfiltered stats.
Propogates the filtered status of the usage-dashboard through to all downloads on that page.

@briri briri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @xsrust. Thanks for cleaning up rubocop and for adding those tests.

It looks like the schema.rb was rebuilt prior to rebase with the development branch though. It removes the conditions table. Once that's been updated feel free to merge yourself 👍

Comment thread db/schema.rb
Comment thread db/schema.rb
@briri
briri merged commit 8924eb6 into DMPRoadmap:development Jun 11, 2020
@raycarrick-ed
raycarrick-ed deleted the issue/2158 branch July 28, 2021 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants