You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Accordion component was created for 0.17 to allow for better management of space and to also allow user control over seeing more and less details.
For 0.18, we will continue to use an Accordion pattern, and while the overall use is the same (a toggle open and close), the use cases are more varied. There is also some amount of general cleanup of the Accordion that can be done in the course of this extension. This should not be a comprehensive refactor, but rather the focus should be ensuring that the uses of the accordion are supported, that any small updates that make the accordion easier to use are implemented, and that we set a strong foundation for the API as we have been discussing moving the accordion to KDS.
The following places are where the accordion is used in 0.18
Description
Screenshot
The new "selected resources" preview - a "shopping cart" feature that allows the coach to see which items they've currently selected to add to the lesson or quiz, while navigating through searches or up and down the topic tree
In quizzes - when previewing the quiz (new) or when looking at the quiz as a learner, or the quiz report as a coach. The accordions allow for separating the quiz sections
In the search filters panel in coach, to manage filter options (note that this is a variation of the current implementation of the search filters panel)
Question previewing in the quiz editing side panel
When used for example in the "filter" panel, the accordion reflects the selection state of it's child items
Alternatively, if no options within the accordion may be selected, the accordion is inactive
Tasks
Accordion components and related composables are updated as needed to support all interactions outlined above, including potentially multiple different types of interactions (checkboxes, "accordion item is a button", and icon buttons as part of the accordion item slot)
Acceptance Criteria
Accordion contains a flexible slot that supports both text display as well as interactive elements within the accordion that could be one or more semantic elements (button, li, p, etc.)
Accordion header can reflect a selected state that matches the selection of one or more of its children
Accordion header can be inactive if no matching options exist at the current "filter" level ( note: please speak to Radina about accessibility implications. loop in Marcella and Jessica as needed.)
documentation (code comments) is updated accordingly
The text was updated successfully, but these errors were encountered:
The Accordion component was created for 0.17 to allow for better management of space and to also allow user control over seeing more and less details.
For 0.18, we will continue to use an Accordion pattern, and while the overall use is the same (a toggle open and close), the use cases are more varied. There is also some amount of general cleanup of the Accordion that can be done in the course of this extension. This should not be a comprehensive refactor, but rather the focus should be ensuring that the uses of the accordion are supported, that any small updates that make the accordion easier to use are implemented, and that we set a strong foundation for the API as we have been discussing moving the accordion to KDS.
The following places are where the accordion is used in 0.18
Tasks
Acceptance Criteria
The text was updated successfully, but these errors were encountered: