Commit graph

393 commits

Author SHA1 Message Date
rebuilt
d2bdec3d37 Upgrade to rails 5.1.7, coffee-rails 4.2. Remove phantomjs/poltergeist. Remove deprecated call to halt_callback_chains_on_return_false method. Change attribute_was calls to attribute_before_last_save 2021-09-24 11:52:22 -04:00
Alex Basson
acfc2fde63 Make SurveyResponseDataLoader.process_row a private class method 2021-09-24 11:52:17 -04:00
Alex Basson
98e7f3ce57 Update survey response data load to conform to survey response CSV standard 2021-09-24 10:52:29 -04:00
Alex Basson
16734f9ce7 Refactor survey response loader to use functional style 2021-09-23 14:29:25 -04:00
Alex Basson
587cbbdd3d Add typography and color styles 2021-09-23 14:16:22 -04:00
Alex Basson
6814e213c7 Format measure graph partial 2021-09-23 13:11:13 -04:00
rebuilt
7c979ff01c Add benchmark label and inset shadows to graph 2021-09-23 17:40:14 +02:00
Alex Basson
dc9c10b58f Use bootstrap to style dashboard 2021-09-23 10:57:18 -04:00
Alex Basson
b28f37d8b7 Add indexes on measures, survey items, and responses 2021-09-23 07:38:44 -04:00
Alex Basson
fd55c7c82a Optimize School lookup by qualtrics code query 2021-09-23 07:30:27 -04:00
Alex Basson
c66134e25e Move School and AcademicYear lookup methods into models 2021-09-22 21:20:17 -04:00
Alex Basson
0dbe05817e rake data:load_survey_responses loads all csv files in the data/survey_responses/ directory 2021-09-22 21:03:12 -04:00
rebuilt
d6fddb9f7b use activerecord-import gem to speed up csv uploads 2021-09-22 21:03:12 -04:00
Alex Basson
7f0a5f9e8f Fix broken csv file by deleting invalid rows at the end 2021-09-22 16:31:08 -04:00
Alex Basson
fd091cfa4f Load 2020-21 student survey responses 2021-09-22 15:15:59 -04:00
Alex Basson
edb1548593 Include measure 2A-i on the graph; TODO: load student survey responses 2021-09-22 14:25:22 -04:00
Alex Basson
8780893d21 Extract method_ids as private method in dashboard controller 2021-09-22 14:15:41 -04:00
Alex Basson
b97227d116 Support linux in Gemfile.lock 2021-09-22 08:59:39 -04:00
Alex Basson
5e97f1adc9 Restore source control tracking of Gemfile.lock 2021-09-22 08:54:27 -04:00
Alex Basson
457615505f Move array monkey patch into its own file 2021-09-22 08:45:09 -04:00
Alex Basson
18ddfaaaf8 Optimize SurveyResponseAggregator via a join
[Finishes #179425717]
2021-09-22 08:44:57 -04:00
Alex Basson
f5724407f2 Load teacher survey responses 2021-09-22 08:44:54 -04:00
Alex Basson
e222edc7e7 Add academic years as an ActiveRecord object 2021-09-22 08:44:54 -04:00
Alex Basson
a7de5b9ac2 Add response id to SurveyItemResponse 2021-09-22 08:44:54 -04:00
rebuilt
70b0e6f6a6 Gitignore Gemfile.lock 2021-09-22 08:44:54 -04:00
Alex Basson
8fc6fae16b Add qualtrics_code to District and School 2021-09-22 08:44:54 -04:00
Alex Basson
12415861c1 Rename construct -> measure, seed with SqmCategories and Subcategories 2021-09-22 08:44:54 -04:00
Alex Basson
1ad12c1bfe Add spacing css 2021-09-22 08:44:54 -04:00
Alex Basson
a62719b0d3 Delete unused coffeescript files 2021-09-22 08:44:54 -04:00
Alex Basson
643ee8d3a7 Extract bar graph partial 2021-09-22 08:44:54 -04:00
rebuilt
71ad999dd0 Add slug to district 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
Alex Basson
810a702333 Refactor construct_graph_row_presenter to return negative values for x-offset and extract percentage method 2021-09-22 08:44:54 -04:00
Alex Basson
1782ef3482 Compute the score for a given construct, school, and academic year 2021-09-22 08:44:54 -04:00
Alex Basson
9007cd3078 Ensure that construct returns the correct zone when the score is right on a benchmark 2021-09-22 08:44:54 -04:00
Alex Basson
8915cb9d45 Add Item, seed from .csv file 2021-09-22 08:44:54 -04:00
Alex Basson
acac8f67b0 Seed db with Professional Qualifications construct 2021-09-22 08:44:35 -04:00
Alex Basson
c5bd1a9b3f Create construct graph svg with hard-coded parameters 2021-09-16 13:52:17 -04:00
Alex Basson
3b0c4c188c Restore README from former main branch 2021-09-14 08:34:23 -04:00
Alex Basson
d25c9567cf Remove vestigial experiments endpoint 2021-09-10 11:55:29 -04:00
Alex Basson
771c1c3209 School dashboard is protected by district-level authentication
[Finishes #179513281]
2021-09-10 11:40:31 -04:00
Alex Basson
813efca493 Visiting /districts/winchester/schools/winchester-high-school/dashboard displays an empty dashboard 2021-09-10 11:40:31 -04:00
Alex Basson
e622a01dd0 Remove automatic deploy verification test 2021-09-10 11:17:17 -04:00
Alex Basson
d6a9e951cb Make failing test pass to verify automatic deploys 2021-09-10 11:10:38 -04:00
Alex Basson
e60e8324f1 Deliberately introduce failing test to verify automatic deploy 2021-09-10 11:08:27 -04:00
Alex Basson
7a3fe86e6f Use rake db:test:prepare for setting up test db on CI 2021-09-10 10:48:28 -04:00
Alex Basson
0f111fb45f Use non-empty password for CI postgres service 2021-09-10 10:33:00 -04:00
Alex Basson
10e7810334 Create postrges service for CI 2021-09-10 09:52:59 -04:00
Alex Basson
2cda44343a Try different version of ruby/setup-ruby 2021-09-10 08:48:48 -04:00
Alex Basson
b502596967 Add GitHub actions workflow for CI 2021-09-10 08:42:03 -04:00