-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add option to hide type filters #115
Labels
Comments
swashbuck
moved this from Assigned
to Needs Reviewing
in adapt_framework: The TODO Board
May 13, 2024
kirsty-hames
pushed a commit
that referenced
this issue
May 21, 2024
* Schemas and documentation * Rework resourcesHasMultipleTypes and move to the controller * Move filter button column count logic from JSX to JS * Rework setupFilters for conciseness * Add enableFilters check, rename property * Use nullish operator for enableFilters * Remove enableFilters from content objects schema * Refactor resourcesHasType, remove from JSX * Rework resourcesForceDownload and remove from JSX * Remove _enableFilters default from initResources * Remove shallow clone of configuredTypes Co-authored-by: Oliver Foster <oliver.foster@kineo.com>
github-project-automation
bot
moved this from Needs Reviewing
to Recently Released
in adapt_framework: The TODO Board
May 21, 2024
🎉 This issue has been resolved in version 5.5.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Subject of the enhancement
Currently, tabs are displayed that relate to each type of resource (ex. Document, Link). If all resource items have the same type assigned (including an empty value), the tabs will be hidden.
It might be useful to have an explicit option to hide or show the tabs, even when resource item types are set. Currently, it's not immediately clear how to hide the tabs, so something like
_areTabsEnabled: true
would help with this.This could be backwards compatible for when courses are configured to hide the tabs via the current method.
Screenshots
The text was updated successfully, but these errors were encountered: