Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate the "useSearch" composable and search filters panel into the results list in quizzes #13035

Open
Tracked by #12624 ...
marcellamaki opened this issue Jan 28, 2025 · 2 comments
Assignees
Labels
P0 - critical Priority: Release blocker or regression

Comments

@marcellamaki
Copy link
Member

marcellamaki commented Jan 28, 2025

Overview

As we move towards an MVP of the updated quiz management side panel, we need to finalize integrating the search results into the side panel for quizzes.

Prerequisites

  • Ensure your develop is up to date, and work from the /quizzesstemp path

Previous work

The following work has already been completed, and now what is needed is just tying it all together:

  • useSearch() and useBaseSearch() composables have already been implemented in kolibri-common
  • the SearchFiltersPanel has been updated for use in coach
  • the pattern of using nested/child routes should be the foundation, and this pattern should be extended

Scenarios

Please take a look at Figma - starting with the "Filter Panel" screen, under two question selection headers

The following UX scenarios should be supported:

Description Screenshot
When a user sees their list of search results, re-opening the "search" panel at this point displays the current search state. A user is able to make further refinements of the existing search if they choose to. To clear the search, they should clear chips or "clear all", or they can de-select choices from the search panel if it is open Image
If a user navigates into a folder from their search results, they see all resources within that folder, meaning, it is as if they are navigating the topic tree. The filter is not applied to items within the folder. (This corresponds with the existing experience in learn and may be modified in the future - but we want consistency for now). Essentially, the user is moving to a "tree view". To return to the search, the "back to search results" banner restores the previous view of the search results. Image

Acceptance Criteria

  • User can click on the "search" button to open the search/filters panel
  • the results display a combination of resources and folders, using the updated resource selection card list
  • User can select resources
  • search results are scoped to the current folder; for example - if a user initiates a search at the initial "manage resource" level, the search includes all available channels. if the user initiates a search in Khan Academy English > Grade 10 > Math, their results includes only matching resources within that folder
  • The "back to search results" navigation header should be implemented
  • proper mobile responsiveness and a11y (including the accordion navigation)

Out of scope

  • Implementing an "individual question selection" level of selection. A user should be able to click on an exercise resource and see the "preview" of questions, but managing whether or not the user can enter the manual question selection workflow from here is beyond the scope of this issue
@marcellamaki marcellamaki changed the title Integrate the "useSearch" composable and search filters panel into the results list Integrate the "useSearch" composable and search filters panel into the results list in quizzes Jan 28, 2025
@soniya-malviy
Copy link

@marcellamaki please assign me this issue i want to work on this.

@AlexVelezLl
Copy link
Member

Hi @soniya-malviy! Thanks for your interest in contributing to Learning Equality! Unfortunately, this issue is not meant for open source contribution :(. We dont currently have many unassigned help wanted issues, but It's best to regularly keep an eye on this list, as we label issues on weekly basis. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 - critical Priority: Release blocker or regression
Projects
None yet
Development

No branches or pull requests

4 participants