Enhancements to core options class

Issue #421 closed
Brian Lewis repo owner created an issue

As described in #400, coreoptions will provide methods to manage filtering of dashboards. Currently it implements the full suite of methods for District

get selectedDistrict

set selectedDistrict

isSelectedDistrict

noSelectedDistrict

toggleSelectedDistrict

lockDistrict

isLockedDistrict

implement this range of functionality for

Year

SchoolType

SchoolClass

Authority

AuthorityGov

EducationLevel

Comments (4)

  1. Ghislain Hachey

    Thanks @softwords Do you propose this as an issue to further develop options? Can we not just start with the above and add new ones as they present themselves ad-hoc?

  2. Brian Lewis reporter

    @ghachey @jeremy_kells to my mind I think we need SchoolType and Authority off the bat. (see issue #422)

    Others probably won't be far behind but could be added in when explicitly needed. I thought when in the class it may be efficient to do the extra ones.

    I expect we'll wind up with a range of editor components for this class that expose various combinations of fields.

    Possibly in some areas that have quite unique filter requirements (exams?) we can derive e.g. ExamOptions from CoreOptions to add the additional things.

  3. Log in to comment