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
4 years ago
Liam Morley
915a4c1aaf
Remove associated survey item responses when we remove schools
4 years ago
Liam Morley
aa4ce86eaa
Show icon/explanation in measure accordion when a section has insufficient data
4 years ago
Liam Morley
75c3a1fccc
Remove old schools during the seed process
4 years ago
Liam Morley
f81874d082
Externalize Hotjar tracking code to an environment variable
4 years ago
Liam Morley
f6e6fb2b2d
Add Hotjar tracking code to home and dashboard/browse layouts
4 years ago
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
4 years ago
Liam Morley
3e15194eff
Tie legacy analytics ID to environment
4 years ago
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
4 years ago
Liam Morley
1186579d1b
Add migration to make DESE IDs unique, update one-off script accordingly
4 years ago
Liam Morley
293de8698f
Restore white half of 'watch' harvey ball
4 years ago
rebuilt
221f0cb0bf
Replace harvey balls with new SVGs
4 years ago
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
4 years ago
rebuilt
917d6821c5
Add css bundling (again!)
4 years ago
Liam Morley
1be86721b0
Always reference fully-qualified School/District/Category in controllers
4 years ago
Liam Morley
413096dfe2
Extract legacy parts of the codebase into its own module
4 years ago
Liam Morley
cf6e80ce6b
Show modal when no measures for a school/year have meet their threshold
4 years ago
rebuilt
edeb3f4e59
Prevent memory errors by avoiding creating active record objects when
...
not necessary.
4 years ago
Liam Morley
f8523f1e6a
Display measure data if student data is sufficient OR teacher data is sufficient
4 years ago
rebuilt
856cce7c1a
Style accordions
4 years ago
Liam Morley
556ff45117
Seed categories/subcategories based on their ID instead of their name
4 years ago
Liam Morley
516e0a95db
Update category name/slug in seeder
4 years ago
rebuilt
39539f6289
Fix alignment of tab bars
4 years ago
rebuilt
13469f60bd
Add styling changes. Change focus state color for select elements. Change wording of about MCIEA section
4 years ago
rebuilt
722947d938
When there is insufficient data to display gauge graph, change title of
...
graph to insufficient Data
4 years ago
rebuilt
d850674ff1
Style focus states, margin for logo, popover borders, accordions
4 years ago
rebuilt
7461377066
Makes sure that subcategory displays all measures
4 years ago
Alex Basson
228cf137ad
Finishes #179904795 . Adds prompts to measures section on browse page
4 years ago
Liam Morley
2a9810f7db
Pair with design on styling
...
- Polish subcategory cards
- Make header height consistent
- Refine hover/focus/active states for tabs on Browse
4 years ago
Liam Morley
ad7dd85524
Refactor variance chart to make view responsible for sorting measures
4 years ago
Liam Morley
f5e5abc27e
Use public score_for_measure method instead of private 'for_measure' scope
4 years ago
Liam Morley
f3c632ea2a
Take sufficient data requirements into account when calculating score for subcategory
4 years ago
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
4 years ago
Liam Morley
00a0e5868c
Specify harvey ball state classes as BEM modifier, not element
4 years ago
Liam Morley
dfc49d109a
Display harvey balls with white backgrounds and display no-zone harvey balls
4 years ago
Alex Basson
cb3905b148
Continue not to track builds/ in source control
4 years ago
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 .
4 years ago
Liam Morley
882fa84de9
Unify how we sort SQM Categories
4 years ago
Alex Basson
dc0139d5c5
Small design cleanup on welcome page
4 years ago
rebuilt
4bc306c7c7
import footer as scss partial
4 years ago
rebuilt
4582e8c8ab
remove sqm_footer
4 years ago
rebuilt
2ad120727f
Move footer import before fontawesome
4 years ago
rebuilt
8d5702e9aa
Add sqm_footer
4 years ago
Alex Basson
0ec07e7f18
Rename footer.scss -> _footer.scss
4 years ago
rebuilt
a98d715975
Import footer without '.scss' in filename
4 years ago
rebuilt
9e9663a1dd
Add footer to all pages. Finishes #179844107
4 years ago
Liam Morley
4278021c2d
Finish styling for homepage
4 years ago
Liam Morley
f3a86c6145
Add cateory icon to home page
4 years ago
rebuilt
bd8e17b749
Link logo to /welcome page. Correct background color of tabs. Create 'caption' css class
4 years ago
Liam Morley
332043c6fb
Use CategoryPresenter in welcome page instead of SqmCategory
4 years ago
Alex Basson
867c2a80d2
Stop tracking the builds folder in source control
4 years ago
rebuilt
afbbb0fc75
Change bundling script to use yarn.
4 years ago
rebuilt
12c1a3b7fc
Switch from sprockets to cssbundling for bundling css assets.
4 years ago
rebuilt
4306f5c5d4
Update landing page to include accordion and footer
4 years ago
Alex Basson
fa3241da65
Extract SurveyItemResponse.score_for_subcategory method from SubcategoryPresenter
4 years ago
Alex Basson
2abf2d352a
Implement correct policy regarding whether there exist sufficient data for a measure
4 years ago
Alex Basson
da6711c571
Rename SurveyItemResponse.score -> .score_for_measure
4 years ago
Alex Basson
161db3bf3e
Display in the variance graph only those measures that have sufficient data
4 years ago
Alex Basson
07b7561b55
Move score computation into SurveyItemResponse
4 years ago
Alex Basson
b4a6ae0bd7
Remove sufficient_data parameter from MeasureGraphRowPresenter
4 years ago
Alex Basson
10e70557bd
Display insufficient data note. TODO: remove measures from variance chart
4 years ago
rebuilt
c423fcc014
Change implementation of div pointer.
4 years ago
Alex Basson
28f32d072f
Create landing page to select a school dashboard [179826663]
4 years ago
Liam Morley
31a9f3f0a4
Adjust dashboard layout as per dev/design story
4 years ago
Liam Morley
f9492f0c76
Adjust header form selects to only take as much space as they require
4 years ago
rebuilt
5d0c9f2c0d
Rename SqmCategory 'Citizenship & Wellbeing' -> 'Community & Wellbeing'
4 years ago
rebuilt
baec96e7d1
Style _gauge_graph
4 years ago
rebuilt
382f20fcfa
Set default base font to Cabin. Add styling to header.
4 years ago
Alex Basson
8f9d30a762
SQM Indicators View Details button sends user to browse page [Finishes #179728459 ]
4 years ago
Alex Basson
0d9474f2c0
Add harvey ball legend to sqm indicators card
4 years ago
Alex Basson
b1c7ba3f0f
Update the color palate; move harvey ball indicators above variance graph
4 years ago
rebuilt
ae2b88592a
Generate binstubs for rspec
4 years ago
rebuilt
bb6f6306c4
fix dependabot alerts by upgrading puma and nokogiri
4 years ago
rebuilt
7ba020d04d
Add missing javascript dependencies to package.json. Move javascripts files to app/javascript. Add first javascript test. Change test mode
4 years ago
rebuilt
771371d081
Set up jest with babel. Add failing test to see if it passes CI
4 years ago
rebuilt
1808c00b01
add esbuild
4 years ago
rebuilt
770ebc580e
Updated to rails 6. Passing tests
4 years ago
rebuilt
3430069801
upgrade to rails 6. Failing tests
4 years ago
rebuilt
68357e65ec
Upgrade to rails 5.2. Catch null state in percentage_for method
4 years ago
rebuilt
6320d5633f
Add JS tests to verify school and district dropdowns.
4 years ago
Alex Basson
bb8d80856d
Refactor nav tabs css
4 years ago
Liam Morley
193b7bd792
Update logo
...
...and other styling fun and excitement
4 years ago
Liam Morley
a406205e20
Completes Sub Categories and Measures for "All " Category Tabs -
...
Milford High School (Milford District). Add tabs to top navigation [#179727241 ]
4 years ago
Chad Serrant
5595af15b6
Harvey balls depicting how a sub-category is performing quickly [179843984]
4 years ago
Liam Morley
4aa0c97275
Rename browse controller to sqm categories controller
4 years ago
Chad Serrant
ae525fdb2a
Completes Measures on the "Teachers & Leadership" Category Tab -
...
Milford High School (Milford District) [#179728008 ]
4 years ago
Alex Basson
98fddb825e
Center letters in the subcategory circles on the dashboard
4 years ago
rebuilt
bb1f6aa972
Complete styling for _quality_framework_indicators
4 years ago
rebuilt
9e047f9aea
Finish styling quality framework indicators
4 years ago
Liam Morley
291dd6d422
Style Category cards
4 years ago
rebuilt
b29107688e
Use category presenters on page.
...
Show category and subcategory cards
Conditionally render subcategory icons
fix styling
4 years ago
Alex Basson
000bb52e1d
Display subcategory descriptions on browse page
...
[Finishes #179426091 ]
4 years ago
Alex Basson
8cc6866c61
Style dashboard page
4 years ago
Alex Basson
45c5392b2e
Style header links to be heavier when active
4 years ago
Alex Basson
8da3194e26
Selecting new district and/or school on browse page stays on browse page instead of dashboard
4 years ago
Alex Basson
f8166aed47
Simplify js by including full path in district and school options values
4 years ago
Alex Basson
4d6eb4ecf1
Remove unnecessary flex scss file; make header go edge-to-edge
4 years ago
Alex Basson
504bf8bc57
Move dropdowns into header view
4 years ago
Alex Basson
15ecf1db0d
Extract view helper for variance graph
4 years ago
Alex Basson
5c352671da
Update to Bootstrap 5, basic styling
4 years ago
rebuilt
00d0bf1e02
Fix ordering of bars
4 years ago
Alex Basson
516701332d
Use sqm_application.html.erb layout and sqm_application.scss for new pages
4 years ago
Alex Basson
03a52161a6
Extract view helpers for gauge graph
4 years ago
Alex Basson
4d5335491b
Inline the SurveyResponseAggregator
4 years ago
Liam Morley
25578a896f
we have a gauge! next up, let's style the page
4 years ago
rebuilt
cc2f3f9352
Expand the Measured Dashboard to All Schools and Districts. [Finishes #179727798 ]
4 years ago
Chad Serrant
87f268dd7a
Sort measures by the highest score to lowest score [finishes #179726949 ]
4 years ago
rebuilt
d7ead5bac9
Show all Measure Scores [finishes #179707160 ]
4 years ago
Liam Morley
3b8bcb2e22
Display measure scores for Problem Solving Emphasis [finishes #179705693 ]
4 years ago
rebuilt
666eec9a20
Removed print statements from data loader output
4 years ago
Alex Basson
b4f6daa406
Process CSV file rows in batches
4 years ago
Alex Basson
a269bb0ec1
Try reporting on batch inserts
4 years ago
Alex Basson
a41d5bb4c9
Update survey data loader for new student survey responses csv
4 years ago
Alex Basson
928341302c
Update Gemfile.lock and schema to reflect later version
4 years ago
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
4 years ago
Alex Basson
acfc2fde63
Make SurveyResponseDataLoader.process_row a private class method
4 years ago
Alex Basson
98e7f3ce57
Update survey response data load to conform to survey response CSV standard
4 years ago
Alex Basson
16734f9ce7
Refactor survey response loader to use functional style
4 years ago
Alex Basson
587cbbdd3d
Add typography and color styles
4 years ago
Alex Basson
6814e213c7
Format measure graph partial
4 years ago
rebuilt
7c979ff01c
Add benchmark label and inset shadows to graph
4 years ago
Alex Basson
dc9c10b58f
Use bootstrap to style dashboard
4 years ago
Alex Basson
fd55c7c82a
Optimize School lookup by qualtrics code query
4 years ago
Alex Basson
c66134e25e
Move School and AcademicYear lookup methods into models
4 years ago
rebuilt
d6fddb9f7b
use activerecord-import gem to speed up csv uploads
4 years ago
Alex Basson
fd091cfa4f
Load 2020-21 student survey responses
4 years ago
Alex Basson
edb1548593
Include measure 2A-i on the graph; TODO: load student survey responses
4 years ago
Alex Basson
8780893d21
Extract method_ids as private method in dashboard controller
4 years ago
Alex Basson
457615505f
Move array monkey patch into its own file
4 years ago
Alex Basson
18ddfaaaf8
Optimize SurveyResponseAggregator via a join
...
[Finishes #179425717 ]
4 years ago
Alex Basson
f5724407f2
Load teacher survey responses
4 years ago
Alex Basson
e222edc7e7
Add academic years as an ActiveRecord object
4 years ago
Alex Basson
12415861c1
Rename construct -> measure, seed with SqmCategories and Subcategories
4 years ago
Alex Basson
1ad12c1bfe
Add spacing css
4 years ago
Alex Basson
a62719b0d3
Delete unused coffeescript files
4 years ago
Alex Basson
643ee8d3a7
Extract bar graph partial
4 years ago
rebuilt
71ad999dd0
Add slug to district
4 years ago
Alex Basson
886f94a60c
Display pre-selected dropdowns on dashboard graph
4 years ago
Alex Basson
810a702333
Refactor construct_graph_row_presenter to return negative values for x-offset and extract percentage method
4 years ago
Alex Basson
1782ef3482
Compute the score for a given construct, school, and academic year
4 years ago
Alex Basson
8915cb9d45
Add Item, seed from .csv file
4 years ago
Alex Basson
acac8f67b0
Seed db with Professional Qualifications construct
4 years ago
Alex Basson
c5bd1a9b3f
Create construct graph svg with hard-coded parameters
4 years ago
Alex Basson
d25c9567cf
Remove vestigial experiments endpoint
4 years ago
Alex Basson
771c1c3209
School dashboard is protected by district-level authentication
...
[Finishes #179513281 ]
4 years ago
Alex Basson
813efca493
Visiting /districts/winchester/schools/winchester-high-school/dashboard displays an empty dashboard
4 years ago
Alex Basson
48a6dfac57
REVERT ME: Add /experiments route
4 years ago
Jared Cosulich
e57fa8f9de
don't null out likert value zscores
6 years ago
Jared Cosulich
b3895a4f3b
remove password from Boston
6 years ago
Jared Cosulich
77a1dc1a3a
add password back to bps
6 years ago
Jared Cosulich
c557adab5a
show all years
6 years ago
Jared Cosulich
d324d53bd2
year scope for school_questions
6 years ago
Jared Cosulich
2a29b20804
updating school_questions
6 years ago
Jared Cosulich
db525ed2d3
fixing bug with merge_into
6 years ago
Jared Cosulich
5902c2787f
trying to fix merge_into
6 years ago
Jared Cosulich
689fe56dd5
reverse years order
6 years ago
Jared Cosulich
d240e8cdc2
inline list of years
6 years ago
Jared Cosulich
6c626be9c5
don't show certain schools
6 years ago
Jared Cosulich
1c305d12b5
sync school categories when merging schools
6 years ago
Jared Cosulich
0b88fa6070
milford logo
6 years ago
Jared Cosulich
adc8c96b1b
sorting categories on boston pages
6 years ago
Jared Cosulich
1cda8fd294
don't fail if aggregated responses are missing
6 years ago
Jared Cosulich
7fb5bfd242
don't fail if info is nil
6 years ago
Jared Cosulich
2cb966e124
default to the last year
6 years ago
Jared Cosulich
26cb9c5bb3
trying to fix syncing
6 years ago
Jared Cosulich
65bce3b299
sort school categories by root category for Boston
7 years ago
Jared Cosulich
9c556ec8a3
sort school categories by root category for Boston
7 years ago
Jared Cosulich
ec5367eb67
removing breadcrumbs from Boston
7 years ago
Jared Cosulich
8d9d42dce8
remove raise
7 years ago
Jared Cosulich
5f5ac0289f
dont show the effective leadership scale questions
7 years ago
Jared Cosulich
07d3175761
new boston view
7 years ago
Jared Cosulich
f4542c7a20
secret param to see possible attempts
7 years ago
Jared Cosulich
435b91ad4c
fixing bug
7 years ago
Jared Cosulich
93b0267dad
remove boston admin categories
7 years ago
Jared Cosulich
bf5e4f3d8f
dont show admin data for boston schools
7 years ago
Jared Cosulich
c130fd7ff8
show all questions
7 years ago
Jared Cosulich
d6ef6cd037
fixing bug with aggregating school categories
7 years ago
Jared Cosulich
56157a612d
don't show admin data if that category is missing on a page
7 years ago
Jared Cosulich
9ff4cf0d10
show all categories on school page
7 years ago
Jared Cosulich
a0e634c993
fixing merge_into
7 years ago
Jared Cosulich
2614a0f127
fixing bug
7 years ago
Jared Cosulich
fa80643770
always show all categories
7 years ago
Jared Cosulich
7b3ab8c592
new revere logo
7 years ago
Jared Cosulich
76f6e1d1fa
adding google analytics tracking code
7 years ago
Jared Cosulich
a6385897ff
working on 2018 admin data
7 years ago
Jared Cosulich
2dd216ee25
fixing bug with merging schools
7 years ago
Jared Cosulich
50930ecc62
show admin data on admin categories
7 years ago
Jared Cosulich
ef3d0186a5
propogate up valid_child_count for admin data
7 years ago
Jared Cosulich
075e0afe33
update school_categories after merging schools
7 years ago
Jared Cosulich
7bfbe1a94c
faq, 2018 nonlikert values
7 years ago
Jared Cosulich
0b7beee9bf
tweaking styles
7 years ago
Jared Cosulich
4241f3f7df
tweaking styles
7 years ago
Jared Cosulich
67e7fea2a0
hide question partial debug info
7 years ago
Jared Cosulich
93485bd886
tweaking question partial
7 years ago
Jared Cosulich
3531cafa33
show source of question
7 years ago
Jared Cosulich
a82deaafd8
adding response_total to SchoolQuestion
7 years ago
Jared Cosulich
341c561a67
fixing bug with other districts
7 years ago
Jared Cosulich
1b06552edd
fully hiding insufficient data in Boston
7 years ago
Jared Cosulich
50b97498fd
don't show measures if not enough valid_child_count
7 years ago
Jared Cosulich
3420cc8f5d
improving copy
7 years ago