Commit graph

64 commits

Author SHA1 Message Date
Nelson Jovel
5fbbf634db feat: change color 2024-12-13 09:32:36 -08:00
Nelson Jovel
2d42036294 Add an exports page that allows a user to select which reports they want
to run
2024-08-08 15:53:05 -07:00
Nelson Jovel
ccb04511bf feat: switch analyze page to use hotwire. Fix n_size count for teacher 2024-06-11 13:48:02 -07:00
rebuilt
4f035f6a63 feat: Add income table to the database. Add seeder for income. Add a reference to income from survey item response. Update the loader to import income data from the survey response csv. Refactor analyze controller to extract presenter. Add corresponding specs. Add income graph to analyze page 2023-07-07 09:14:36 -07:00
rebuilt
51d5d72730 Fix sizing of partial data indicators 2023-05-15 14:38:22 -07:00
rebuilt
06f49fc17f add more colors 2022-12-21 17:15:18 -08:00
rebuilt
7ddada5050 Update empty dataset indicators 2022-12-19 20:09:09 -08:00
rebuilt
69179ce157 Replace javascript logic with hotwire. Also hide district dropdown on
home page if there is only one district.
2022-12-14 13:41:34 -08:00
rebuilt
a4dbeb6718 Change logic on analyze page to include admin data when presenting insufficiency messages and enable/disable academic year checkboxes 2022-08-15 13:31:36 -07:00
rebuilt
c568e8bc06 move methods from analyze helper to background presenter 2022-08-01 19:17:06 -07:00
rebuilt
765ad6a624 Create ui for data filters. Add listeners to direct to the correct url. Update ui based on the list of selected params 2022-07-26 06:52:50 -07:00
rebuilt
e89358dacc implement suggestions from static code analysis tools 2022-07-12 19:15:54 -07:00
rebuilt
bb5f668497 Refactor code based on rubocop and reek suggestions 2022-07-11 16:46:30 -07:00
rebuilt
5a9e8b3586 Detect the latest year for which a school has data and select that year
when routing from welcome page.
2022-06-17 12:16:30 -07:00
rebuilt
a1689a3550 Switch the logic of empty dataset detection from none? to any? 2022-06-17 12:13:45 -07:00
rebuilt
c03615cb43 Rename ResponseRate to ResponseRateCalculator. Create a new response
rate model.  Create a loader to refresh response rates for all
subcategories.

Use precalculated response rates in views

Wrap more elements in page caching

Calculate a response rate for a subcategory if one does not already
exist
2022-06-16 08:19:26 -07:00
rebuilt
1155f74ca9 Set a minimum bar height for analyze graphs 2022-06-10 09:45:52 -07:00
rebuilt
c63e1ebd8e Add 2021-22 winchester student and teacher surveys. Finishes #182376738 2022-06-09 11:16:05 -07:00
rebuilt
e8f3109df9 Disable checkboxes for years that don't have data to show. Add exclamation icon with explanatory text. Finishes #182332983 2022-06-09 10:26:26 -07:00
rebuilt
50256cacce Create academic year checkbox selectors. Refresh page with years selected on
checkbox change.  Draw bar graphs for each academic year selected.
Center bar graphs in their column.  Color the columns to match the
sample colors on the checkboxes.  Add scores on beta to top of graph.
Automatically display the most recent year of data for the district.
Modify logic for the insufficient data message or the 'measure not based
on student/teacher surveys' message so it only shows if there are no
bars with data to display.
2022-06-08 15:42:54 -07:00
Nelson Jovel
6764024cd2 Show subcategory data when user selects different subcategory from
analyze dropdown.  Finishes #182277850
2022-05-30 16:44:18 -07:00
Nelson Jovel
61978eb45d Change which category is displayed when the category dropdown is changed
on the analyze page.   Finishes #182277818
2022-05-30 14:54:05 -07:00
Nelson Jovel
3d7e62f21f Draw the teacher survey data bar. Finishes #182226823 2022-05-25 19:44:29 -07:00
Nelson Jovel
7a9830915b Create grouped bar chart on analyze page 2022-05-20 20:24:23 -07:00
Nelson Jovel
d7b0fe0e36 Add attleboro survey item responses for 2021-22. Finishes #182215755 2022-05-18 13:14:01 -07:00
Nelson Jovel
8c7c73bc72 From the analyze page, selecting a different school should not navigate
away from analyze page.   Finishes story #182178876
2022-05-13 11:27:51 -07:00
Nelson Jovel
cb5fe56c30 Create analyze page. Finishes #182097292 2022-05-12 19:33:26 -07:00
Nelson Jovel
ed7a3b8a3d Autoformat code with rubocop 2022-03-04 15:29:54 +01:00
rebuilt
e1f50fef9e Add 2019-20 year teacher surveys and activate the year selector 2022-02-07 15:04:25 +01:00
rebuilt
0c5fbea203 Remove survey_rake_spec from the simplecov reports. Also remove some dead code from variance_helper 2022-02-01 22:58:38 +01:00
rebuilt
e69f850cc5 Add missing tests. Remove unused code. Filter out legacy specs from code coverage report 2022-02-01 19:33:24 +01:00
Nelson Jovel
ad03606d66 Add benchmarks to survey and admin data items. Remove them from measures. Modify seeder
Calculate benchmarks for measures based on a weighted average of survey
and admin data items

Added architectural records
2021-12-28 14:10:34 +01:00
Nelson Jovel
eb4c699f60 Modifies the overview page so when there is an empty dataset, there is clearer explanatory text and an empty version of the variance chart. Finishes #180118088 2021-12-14 15:52:09 +01:00
Nelson Jovel
f553c3c11c Rename 'Dashboard' to overview in page text and also modify 'dashboard' routes to be 'overview'. Finishes #180076071 2021-12-14 13:20:18 +01:00
Nelson Jovel
aeb6a45a45 Show partial data indicators on variance chart 2021-12-09 14:51:28 -05:00
Liam Morley
ad7dd85524 Refactor variance chart to make view responsible for sorting measures 2021-10-28 12:05:41 -04:00
Alex Basson
161db3bf3e Display in the variance graph only those measures that have sufficient data 2021-10-22 09:18:32 -04:00
Alex Basson
b4a6ae0bd7 Remove sufficient_data parameter from MeasureGraphRowPresenter 2021-10-21 21:30:55 -04:00
Alex Basson
10e70557bd Display insufficient data note. TODO: remove measures from variance chart 2021-10-21 21:30:55 -04:00
rebuilt
6320d5633f Add JS tests to verify school and district dropdowns. 2021-10-15 15:06:00 +02:00
Alex Basson
000bb52e1d Display subcategory descriptions on browse page
[Finishes #179426091]
2021-10-05 16:43:42 -04:00
Alex Basson
8cc6866c61 Style dashboard page 2021-10-05 13:38:49 -04:00
Alex Basson
45c5392b2e Style header links to be heavier when active 2021-10-05 11:51:59 -04:00
Alex Basson
8da3194e26 Selecting new district and/or school on browse page stays on browse page instead of dashboard 2021-10-05 11:17:36 -04:00
Alex Basson
f8166aed47 Simplify js by including full path in district and school options values 2021-10-05 10:39:18 -04:00
Alex Basson
15ecf1db0d Extract view helper for variance graph 2021-10-04 17:00:22 -04:00
Alex Basson
03a52161a6 Extract view helpers for gauge graph 2021-10-01 20:50:27 -04:00
Alex Basson
e222edc7e7 Add academic years as an ActiveRecord object 2021-09-22 08:44:54 -04:00
Alex Basson
886f94a60c Display pre-selected dropdowns on dashboard graph 2021-09-22 08:44:54 -04:00
Jared Cosulich
bf382b4638 trying to fix histogram 2017-11-01 16:21:36 -04:00