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

[ Feat : Select, Edit And Display Tags For Tutorials ] #1210

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rohitPandey469
Copy link

Description

  1. Added a new field called tags which is an array and holds the selected tags for specific tutorial.
  2. Changed the Cards to show Chip mapped over tags array.
  3. Allowing users to edit the tags while writing the tutorial - see video.
  4. Created two actions updateTutorialTags and fetchTutorialTags to update tags and fetch the selected tags in Modal.
  5. So, when the modal opens, and the already selected tags are shown, selected and then can change the array - allowing more flexibility for users while creating tutorials.
  6. Currently, the tagOptions is fixed and limited just to 6-7 tags, I am thinking whether it would be a good idea to give users flexibility to create their own tags or we can create, some limited tagOptions at the time of organisation creation

Related Issue

Fixes #1209

Motivation and Context

There is no option to select tags.

How Has This Been Tested?

Locally on my machine

Video:

Here, in this video I selected the tags at the time of tutorial creation and editing those tags array in tutorial edit mode.

Codelabz.-.Google.Chrome.2024-02-18.22-25-27.mp4

Then here the tags are updated in Cards as well.

Codelabz.-.Google.Chrome.2024-02-18.22-27-00.mp4

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the code style of this project.
  • All new and existing tests passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ Feat : Selecting Tags Options While Creating A Tutorial ]
1 participant