-
Notifications
You must be signed in to change notification settings - Fork 80
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
Library Components Tab #1037
Comments
@jmakowski1123 CC @bradenmacdonald
I think this would not be done for now in this task, since we would have this same problem
I think this is out of the scope of this task. We can add that functionality in another task in this epic.
Are there designs for the menus? |
Got it. So all we need for now in this story is a placeholder for the 3-dot menu. Then in future stories: Action to edit - is contingent on getting the editors into Libraries, which I created as Epic 4 #1086 Action to copy to clipboard - is now a separate story #1104 Action to add to collection - will be a separate story in Epic 2 |
Do you have the colors of the cards? |
@jmakowski1123 This it's ready for AC testing Edit: In https://tagging-preview.staging.do.opencraft.hosting/dashboard |
Was that link supposed to go to a course in Studio? The only sample Library I can see the prototype cards is here: https://app.tagging-preview.staging.do.opencraft.hosting/course-authoring/library/lib:Axim:Math101 These examples don't contain truncated titles or descriptions, so can't test those two things. Am I looking in the right place though? |
This is the link of Studio. You can see the libraries list on the "Libraries" tab.
I created Library for AC testing with these cases. |
Thank you, this looks good! |
Designs: Mid-Fi Figma link
Implement the grid/card view of components in the library that match the current keyword search.
✅ In Scope:
Display the component name, description, type and tag icon with tag count (see tagging epic). Note: this isn't the final design - check Figma. Note: The type includes: text (for the text blocks), video (for the video blocks), open response (for ORAs), specific CAPA problem types - single select, multi-select, dropdown, numerical input, text input (for the problem block), and specific advanced problem types - annotation, poll, etc (for the advanced problem block).
The 3-dot menu should contain actions for: Edit, Copy to Clipboard, Add to collection. Separate stories exist for each action from the 3-dot menu so it just needs to be a placeholder for now.
Card should be color-coded based on type.
Long titles/descriptions/types should be truncated with an ellipsis as shown in the mockups.
Icons should match the icons we're using in the courseware search modal, and should be sharing the same code.
Implement Infinite scroll (Hint:
useInfiniteQuery
)Keep the empty states for when there are no components in the library or no components matching the search.
🛑 Out of Scope:
Notes:
You can temporarily enable the Library Authoring MFE in order to create components for testing.
The text was updated successfully, but these errors were encountered: