School dashboard hard codings

Issue #557 resolved
Brian Lewis repo owner created an issue

Remove hard coding of latest survey year;

levels should be sorted according to Year of Education - remove assumption of FSM level names when sorting.

District is derived by parsing school code - get it from the school properties

Comments (10)

  1. Brian Lewis reporter

    class levels relevant to a school can come from metaSchooltypeLevelMap - introduce this to lookups

    Class name relevant to a year of education should also be derived from metaSchoolTypeLevelMap

  2. Brian Lewis reporter

    Found more hard codings in the data layer Pineapples.Data , as well as in the typescript

  3. Ghislain Hachey

    Please don’t take on this work just yet. I’m working on some bits that would require harder merging effort than I like.

  4. Brian Lewis reporter

    All outstanding hardcodings of class levels, years, current year, districts, as well as issues continually reading all data sets instead of only required school data and other fixes to dashboard data are resolved in commit #4dd8592

  5. Brian Lewis reporter

    All outstanding hardcodings of class levels, years, current year, districts, as well as issues continually reading all data sets instead of only required school data and other fixes to dashboard data are resolved in commit #4dd8592

  6. Log in to comment