Commit graph

605 commits

Author SHA1 Message Date
Nelson Jovel
64054d8ffa moved partials into folders 2022-01-13 13:45:45 +01:00
Nelson Jovel
bb20ff506b Correct error affecting subcategory scores where teacher or student survey items below the threshold were still being included in the score for the subcategory.
Ensure queries for survey item responses take into account the school
and academic year.
2022-01-12 20:32:24 +01:00
Nelson Jovel
5a8d032dd0 Set up bullet gem. Implement bullet gem suggestions. 2022-01-07 16:58:35 +01:00
Nelson Jovel
3408ecd749 Show benchmark boundaries for subcategories that only include admin data 2022-01-03 13:14:22 +01:00
Nelson Jovel
d2c2eb8994 Refactored guage graph and presenter to make variable names clearer 2021-12-30 16:11:31 +01:00
Nelson Jovel
03a63cb568 Add zone boundary legends to gauge graph. 2021-12-29 17:50:47 +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
1a6c81e240 remove fontawesome symlinked directory from public folder 2021-12-17 14:09:02 +01:00
Nelson Jovel
8bebf106e6 Merge branch 'dev-design' 2021-12-17 13:51:00 +01:00
Nelson Jovel
6931428d8f Make measure name responsive 2021-12-17 13:38:29 +01:00
Nelson Jovel
99f45ac45f Remove package-lock.json because the app uses yarn(yarn.lock) not npm. 2021-12-16 17:37:48 +01:00
Nelson Jovel
ea4acdf983 Update sqm_framework web copy 2021-12-16 17:25:29 +01:00
rebuilt
1f07b821b3 Add prettier as a dependency 2021-12-16 15:40:14 +01:00
Nelson Jovel
70e8fafc35 Categories, Subcategories, and Measures are ordered by thier ids 2021-12-15 12:14:18 +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
2753888f11 Add category, subcategory and measure ids to the page. Finishes #179986325 2021-12-14 11:39:15 +01:00
Nelson Jovel
cacc853518 Adds category short description to database and renders descriptions in
their corresponding locations to the site.  Finishes #180090033.
2021-12-13 21:15:59 +01:00
Nelson Jovel
243ec39b5d Sort schools alphabetically. Finishes #180280546 2021-12-10 15:17:02 +01:00
Nelson Jovel
bde992c96b Finishes #180264854. Prevents empty dataset modal from displaying on browse page 2021-12-10 13:52:50 +01:00
Liam Morley
b45dca7a5a Remove text regarding school years from empty dataset modal 2021-12-09 16:47:09 -05:00
Liam Morley
0af26e25f2 Display gauges with no benchmarks as "Insufficient Data" with no key benchmark indicator 2021-12-09 16:44:26 -05:00
Nelson Jovel
aeb6a45a45 Show partial data indicators on variance chart 2021-12-09 14:51:28 -05:00
Nelson Jovel
8205578267 Update readme to explain how to create a postgres db on linux devices 2021-12-07 14:26:45 +01:00
Liam Morley
eff22d2ac8 Report that admin data is not included 2021-12-02 16:37:24 -05:00
Liam Morley
78b29cc86d Remove obsolete one_off:remove_dupes rake task
- this has been run in all environments already AFAIK
2021-12-02 11:05:17 -05:00
Liam Morley
6aa9f00adc Revert "Tie legacy analytics ID to environment"
This reverts commit 3e15194eff.

This will allow monitoring the new experience analytics to not be tampered by the
legacy analytics.
2021-12-02 09:35:33 -05:00
Liam Morley
65ee27742a Perform single lookup for survey items rather than n lookups 2021-12-02 08:51:36 -05:00
Liam Morley
557109662c Move legacy layouts into a legacy folder 2021-12-01 16:34:17 -05:00
Liam Morley
6477792f1d Improve efficiency when checking whether survey item responses already exist
- see https://semaphoreci.com/blog/2017/03/14/faster-rails-how-to-check-if-a-record-exists.html for more info if curious
2021-12-01 14:24:53 -05:00
Liam Morley
f045ca76b7 Format prod deploy steps as a checklist 2021-12-01 13:37:42 -05:00
Liam Morley
c4f9e63ba1 Default to beta when loading a database from heroku, if no argument is presented 2021-12-01 13:34:45 -05:00
Liam Morley
d2443a10d3 Remove/recreate database via rake before restoring database
- --clean doesn't seem to work when the structure in the database we're loading doesn't match the structure of the database we have locally
2021-12-01 12:43:19 -05:00
Liam Morley
915a4c1aaf Remove associated survey item responses when we remove schools 2021-12-01 12:37:25 -05:00
Liam Morley
aa4ce86eaa Show icon/explanation in measure accordion when a section has insufficient data 2021-12-01 11:44:07 -05:00
Liam Morley
75c3a1fccc Remove old schools during the seed process 2021-11-29 14:40:52 -05:00
Liam Morley
f81874d082 Externalize Hotjar tracking code to an environment variable 2021-11-29 12:00:06 -05:00
Liam Morley
f6e6fb2b2d Add Hotjar tracking code to home and dashboard/browse layouts 2021-11-24 15:47:00 -05:00
Liam Morley
ce892161a4 Remove type from script element
- type, if present, should be a JavaScript MIME type, e.g. application/javascript https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-type
2021-11-24 14:42:24 -05:00
Rohit Raman
1e931a6a14 Updating data seed for local DB 2021-11-24 08:32:08 -05:00
Liam Morley
3e15194eff Tie legacy analytics ID to environment 2021-11-23 15:39:55 -05:00
Liam Morley
48f2d64c71 Extract Google Analytics ID out to an environment variable
TODO- in the future, consider putting this in a credential. We're not able to change the production credentials file currently, but we should change it in the future when we're able
2021-11-23 09:13:21 -05:00
Liam Morley
1186579d1b Add migration to make DESE IDs unique, update one-off script accordingly 2021-11-22 15:37:38 -05:00
Liam Morley
293de8698f Restore white half of 'watch' harvey ball 2021-11-19 18:13:02 -05:00
Liam Morley
a2ec6d7958 Create script to load heroku database into local db 2021-11-19 16:56:56 -05:00
rebuilt
221f0cb0bf Replace harvey balls with new SVGs 2021-11-19 16:24:15 -05:00
rebuilt
b5badfaef5 Add DESE ID to schools
- Add migration
- Create one-off script `rake one_off:add_dese_ids` to add the DESE ID to schools
- Update seeder to seed schools based on DESE IDs
2021-11-18 16:54:08 -05:00
Liam Morley
8816fb5ebb Upgrade cssbundling-rails and jsbundling-rails
This version of cssbundling-rails seemed to be triggering a double-compilation of CSS files; once by `yarn css:build`, and a second compilation (with different requirements) by sassc-rails. This patch seems to fix this issue.
2021-11-17 16:35:03 -05:00
rebuilt
917d6821c5 Add css bundling (again!) 2021-11-17 10:52:35 -05:00
Liam Morley
1be86721b0 Always reference fully-qualified School/District/Category in controllers 2021-11-17 09:44:45 -05:00