console
console copied to clipboard
Add a menu / screen to manage tags
Is your feature request related to a problem?
Currently tags can be created organisation wide, but cannot be edited or deleted.
Describe the solution you'd like
A screen that allows editing and deleting tags. UI inspiration:
I would like to work on this issue!! @rohan-chaturvedi
I would like to work on this issue!! @rohan-chaturvedi
Sure, its all yours!
@rohan-chaturvedi is it fine if I keep tags manage button here? or should I try to put it somewhere in the tagsDialgue? and also is there any query to edit or delete a tag?
@SuryatejPonnapalli let's put it in the tags dialog, in a separate "Manage tags dialog". You'll need to add queries and mutations to edit and delete tags.
@rohan-chaturvedi is this UI fine to manage tags? Actually am not familiar with drf/graphQL, can you share any reference/docs that I can look into to write new queries and mutations?
That looks great! How will the edit action work?
Fastest way to get familiar with mutations is to check out how existing ones are written, such as the CreateSecretTagMutation. Write a similar mutation for edit and delete, and add them to the schema
You can also check out the docs for Graphene Django
onClick it will open a modal in which user has option to edit the tag and on confirming the change, it will get updated. do you have any other suggestions or requirements in your mind?
That could work, except we are already using a modal nested in another modal :sweat_smile:
What if we allowed editing the tag name and color in place? In your UI, clicking the 'edit' button would make the tag text editable, and allow clicking the color dot to open the color picker. If any changes have been made to a tag, replace the 'edit' button with a 'save' button to save changes.
thanks for the suggestion ill try to implement it.