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

Fix: Show search & setting buttons at channel level in quiz resource selection #13198

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

nucleogenesis
Copy link
Member

Summary

Uses QuizResourceSelectionHeader on the resource selection side panel's index (aka channels listing page) to display the filters & search buttons.

References

Fixes #13144

Reviewer guidance

You should see Settings & Search filters at the top of the page listing the channels. They should work as expected.

@github-actions github-actions bot added APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) DEV: frontend labels Mar 12, 2025
@nucleogenesis nucleogenesis changed the title 13144 fix search question setting buttons at channel level Fix: Show search & setting buttons at channel level in quiz resource selection Mar 12, 2025
@pcenov
Copy link
Member

pcenov commented Mar 13, 2025

Hi @nucleogenesis - could you have a look while the build assets are not generated?

@radinamatic
Copy link
Member

Re-run triggered, should be good to go now (only APK is still building) @pcenov 🙂

@pcenov
Copy link
Member

pcenov commented Mar 13, 2025

Hi @nucleogenesis - unfortunately now if I have bookmarked resources then the "Settings" and "Search" buttons are duplicated:

double

@@ -19,6 +19,25 @@
</div>
</template>
<template #default="{ isScrolled }">
<QuizResourceSelectionHeader
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @nucleogenesis! I think this should be solved in the context of the SelectionIndex component, there we already have the buttons and the search button handler, the only thing is that we dont show them when bookmarksCount === 0.

Adding this here makes that when we have bookmarks we see these buttons duplicated

image

And this issue also happens with lessons too, so it should be fixed there too. Fixing this in the SelectionIndex component should fix it for both of them because we use this component for lessons and quizzes 👐 .

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, seems like @pcenov and I were reviewing it at the same time 😆

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are doubling down on everything! 😄

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks both!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) DEV: frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ensure that the search and questions setting buttons are available at channel level
4 participants