Commit graph

569 commits

Author SHA1 Message Date
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
Liam Morley
413096dfe2 Extract legacy parts of the codebase into its own module 2021-11-16 17:19:05 +01:00
Liam Morley
cf6e80ce6b Show modal when no measures for a school/year have meet their threshold 2021-11-10 15:46:49 -05:00
rebuilt
edeb3f4e59 Prevent memory errors by avoiding creating active record objects when
not necessary.
2021-11-08 21:28:30 +01:00
Liam Morley
f8523f1e6a Display measure data if student data is sufficient OR teacher data is sufficient 2021-11-05 15:14:04 -04:00
rebuilt
856cce7c1a Style accordions 2021-11-05 20:54:03 +01:00
Liam Morley
556ff45117 Seed categories/subcategories based on their ID instead of their name 2021-11-04 16:39:57 -04:00
Liam Morley
4ee2345ba1 Add one-off rake task to remove duplicate entries 2021-11-04 16:39:57 -04:00
Liam Morley
4fd6dac791 Add category/subcategory ID columns to uniquely identify records 2021-11-04 16:39:49 -04:00
Liam Morley
516e0a95db Update category name/slug in seeder 2021-11-04 13:49:50 -04:00
rebuilt
cee3e61f2d Add documentation for deploying to production 2021-11-04 14:08:32 +01:00
rebuilt
39539f6289 Fix alignment of tab bars 2021-11-03 22:07:32 +01:00
rebuilt
13469f60bd Add styling changes. Change focus state color for select elements. Change wording of about MCIEA section 2021-11-03 21:16:35 +01:00
rebuilt
50f7a54807 Enforce ssl. Redirect http requests to https 2021-11-02 22:54:51 +01:00
rebuilt
722947d938 When there is insufficient data to display gauge graph, change title of
graph to insufficient Data
2021-11-02 21:57:12 +01:00
rebuilt
d850674ff1 Style focus states, margin for logo, popover borders, accordions 2021-11-02 21:50:39 +01:00
Liam Morley
d35d7c0b55 Run migrations when deploying to Heroku 2021-11-02 09:27:14 -04:00
Liam Morley
77b6e47393 Remove older measure key format
This was replaced by data/sqm_framework.csv
2021-11-02 09:15:26 -04:00
Liam Morley
37f13716e8 Add timestamps to all SQM models 2021-11-02 09:05:56 -04:00
rebuilt
7461377066 Makes sure that subcategory displays all measures 2021-11-01 21:58:18 +01:00
Alex Basson
228cf137ad Finishes #179904795. Adds prompts to measures section on browse page 2021-11-01 20:33:45 +01:00
Liam Morley
2a9810f7db Pair with design on styling
- Polish subcategory cards
- Make header height consistent
- Refine hover/focus/active states for tabs on Browse
2021-10-28 14:22:49 -04:00
Liam Morley
ad7dd85524 Refactor variance chart to make view responsible for sorting measures 2021-10-28 12:05:41 -04:00
Liam Morley
f5e5abc27e Use public score_for_measure method instead of private 'for_measure' scope 2021-10-28 09:22:24 -04:00
Liam Morley
f3c632ea2a Take sufficient data requirements into account when calculating score for subcategory 2021-10-28 08:47:08 -04:00
Alex Basson
26dbabafd2 Seed survey items with prompts 2021-10-27 20:59:33 -04:00
Liam Morley
4fafe2cb50 Display popover on harvey balls not in a zone
This wraps bootstrap styles in `sqm_bootstrap` which can now selectively
import specific desired pieces of bootstrap styling
2021-10-27 15:21:34 -04:00
Liam Morley
00a0e5868c Specify harvey ball state classes as BEM modifier, not element 2021-10-27 10:10:49 -04:00
Liam Morley
dfc49d109a Display harvey balls with white backgrounds and display no-zone harvey balls 2021-10-27 09:11:33 -04:00
Alex Basson
cb3905b148 Continue not to track builds/ in source control 2021-10-27 09:03:18 -04:00
Alex Basson
3f4c935d68 Ensure that bundler installs nokogiri on mac 2021-10-27 08:53:09 -04:00
rebuilt
448a6090d8 Remove cssbundling
Revert "Stop tracking the builds folder in source control"
This reverts commit 867c2a80d2.

Revert "move watch script to package.json"
This reverts commit 5fc9e7b3cc.

Revert "add darwin as a platform to gemfile.lock"
This reverts commit 393796bb87.

Revert "Update README with bundling command"
This reverts commit 3d8b4c24b7.

Revert "Change bundling script to use yarn."
This reverts commit afbbb0fc75.

Revert "import footer as scss partial"
This reverts commit 4bc306c7c7.

Revert "remove sqm_footer"
This reverts commit 4582e8c8ab.

Revert "Move footer import before fontawesome"
This reverts commit 2ad120727f.

Revert "Add sqm_footer"
This reverts commit 8d5702e9aa.

Revert "Rename footer.scss -> _footer.scss"
This reverts commit 0ec07e7f18.
2021-10-26 21:14:54 +02:00
Liam Morley
882fa84de9 Unify how we sort SQM Categories 2021-10-26 15:05:30 -04:00
Liam Morley
934d0bda0e Seed database selectively in tests, not always 2021-10-26 14:18:06 -04:00
Alex Basson
dc0139d5c5 Small design cleanup on welcome page 2021-10-26 08:51:47 -04:00
rebuilt
4bc306c7c7 import footer as scss partial 2021-10-25 23:46:15 +02:00
rebuilt
4582e8c8ab remove sqm_footer 2021-10-25 23:29:51 +02:00