-
Notifications
You must be signed in to change notification settings - Fork 3
Feature/ab#29055 reporting configuration #1746
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
Conversation
…ting-configuration
....Reporting/src/Unity.Reporting.Web/Views/Shared/Components/ReportingConfiguration/Default.js
Dismissed
Show dismissed
Hide dismissed
....Reporting/src/Unity.Reporting.Web/Views/Shared/Components/ReportingConfiguration/Default.js
Dismissed
Show dismissed
Hide dismissed
...odules/Unity.Reporting/src/Unity.Reporting.Application/Configuration/ReportMappingService.cs
Dismissed
Show dismissed
Hide dismissed
...c/Unity.Reporting.Application/EntityFrameworkCore/Repositories/ReportColumnsMapRepository.cs
Dismissed
Show dismissed
Hide dismissed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request introduces a comprehensive Reporting Configuration Feature that enables administrators to configure column names for report views and explicitly generate database views for form submissions, worksheets, and scoresheets with role-based access control.
Key Changes:
- Added reporting configuration infrastructure with database schema for column mappings and view management
- Implemented PostgreSQL stored procedures and functions for dynamic view generation from JSON data
- Created a form metadata service to analyze and extract component information from form schemas
- Added UI components for reporting configuration with status tracking and preview capabilities
Reviewed Changes
Copilot reviewed 149 out of 159 changed files in this pull request and generated 23 comments.
Show a summary per file
| File | Description |
|---|---|
| FormMetadataServiceTests.cs | Comprehensive test suite for form metadata extraction and component analysis |
| Mapping.cshtml | Added reporting configuration tab to application forms mapping page |
| PolicyRegistrant.cs | Registered reporting configuration authorization policies |
| Unity.GrantManager.EntityFrameworkCore.csproj | Embedded SQL scripts as resources for database migrations |
| get_worksheet_data.sql | PostgreSQL function for extracting worksheet data into structured views |
| get_scoresheet_data.sql | PostgreSQL function for extracting scoresheet assessment data |
| get_formversion_data.sql | PostgreSQL function for extracting form submission data |
| generate_*_view.sql | PostgreSQL stored procedures for creating reporting views |
| calculate_scoresheet_total_score.sql | Function for calculating scoresheet total scores |
| README.md | Documentation for database scripts and migration dependencies |
| Multiple migrations | Database schema changes for reporting configuration tables |
| FormMetadataService.cs | Service implementation for analyzing form schemas and extracting metadata |
| FormsApiService.cs | Removed unused import statement |
| ReportingConfigurationViewStatus components | UI components for displaying view generation status with preview |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Pull Request Overview
This pull request introduces a comprehensive Reporting Configuration Feature that enables administrators to configure column names for report views and explicitly generate database views for form submissions, worksheets, and scoresheets with role-based access control.
Key Changes: