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

Support Custom Reports and Utilities In Admin #1036

Merged
merged 5 commits into from
Apr 19, 2024
Merged

Support Custom Reports and Utilities In Admin #1036

merged 5 commits into from
Apr 19, 2024

Conversation

acoffman
Copy link
Member

No description provided.

@acoffman acoffman added the new-feature PR Label for newly added features. Will appear in release notes. label Apr 18, 2024
@acoffman acoffman force-pushed the admin-reports branch 2 times, most recently from ec6a0bd to d3a0e17 Compare April 18, 2024 22:19
server/app/admin/features_admin.rb Outdated Show resolved Hide resolved
@@ -0,0 +1,58 @@
class ClingenCounts < Report
attr_reader :start_date, :end_date, :all_org_ids
CLINGEN_ORG_ID = 2
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it wouldn't hurt to make this generic and allow a user to pass in any org ID but with the CLINGEN_ORG_ID possibly being the default for now. We don't necessarily need to expose this option yet, but I'm just looking forward to when we will have an editor console available in the main UI and might want to allow a user to generate this report for any of their own organizations.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, agreed. That's really easy to do actually. I can make that change.

acoffman and others added 2 commits April 19, 2024 08:55
@acoffman acoffman changed the title [WIP] Support Custom Reports and Utilities In Admin Support Custom Reports and Utilities In Admin Apr 19, 2024
@acoffman acoffman merged commit 864d810 into main Apr 19, 2024
2 of 3 checks passed
@acoffman acoffman deleted the admin-reports branch April 19, 2024 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature PR Label for newly added features. Will appear in release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants