-
Notifications
You must be signed in to change notification settings - Fork 45
Modify UI allowing user to add lesson tags #60
Comments
@iyerm2000 and I are interested in working on this issue as well. Right now I see the colors as tags, but do you have a predefined list you would like to see instead? To answer your thoughts above, I think it would be worthwhile to allow the user to define their own custom tags. |
I think we can definitely improve the UI for the tags. Ultimately, I'm thinking that the user will be able to add multiple tags from a predefined list as well as create their own – something like this https://jeesite.gitee.io/front/jquery-select2/4.0/index.htm#multiple If that feels a little complex, this ticket could just handle adding the correct tags to the lesson cards. Currently, if you select a tag & submit a lesson the tag is added to user data in local storage but we're not doing anything with that data. It would be nice to display the selected tag(s) within lesson cards. Let me know what you think! |
Hi! I was wondering whether it would be possible to get a little more insight on how to save the lesson tags. Currently I don't see a defined backend in the codebase. Any advice would be great! |
There is no backend atm. All lesson data is persisted in browser storage. The idea going forward is that we'll allow the user to download their lesson data in (.md or .txt) if they wish to save/persist elsewhere. The lesson tags are already being saved. If you open up the developer tools and add a lesson, if you run If you've never worked with the Storage API before I'd recommend giving this a read. This file contains the localStorage logic for setting and getting user data (including tags). Hope that helps 😄 |
Links to #62
As part of the lesson tag filter feature, a user should be able to add tags to a lesson. The markup for this will need to be added to the create/new lesson form.
Some thoughts:
As always this is open for discussion 😄
The text was updated successfully, but these errors were encountered: