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

Existing tags are not displayed when adding a new question #12

Open
nouveauciel opened this issue Oct 12, 2022 · 6 comments
Open

Existing tags are not displayed when adding a new question #12

nouveauciel opened this issue Oct 12, 2022 · 6 comments

Comments

@nouveauciel
Copy link

I see that there are tags available in the Tags app but then are not shown to the user on the new question page (and new users are not allowed to create new tags due to low reputation).
Great project by the way.

@Yawan-1
Copy link
Owner

Yawan-1 commented Oct 12, 2022

Hello @nouveauciel, Thanks for your time. But Can you explain in brief, Which tags are not showing in the new question page? and I think That's the real logic I implement "No user will be able to create new tags with low reputation", and this logic is also in real Stack over flow site that "It requires at least 1500 reputation to create a new tag". Image showing tag page

@Yawan-1
Copy link
Owner

Yawan-1 commented Oct 12, 2022

Now I understand, which tags you're talking about. I think You're talking about auto-complete tags popup , which opens up when a user types in tag field. I thought I implemented this feature before deploying - but now I think I missed/forgot it. I have added this in my to-do list to implement this very quick. You will see this feature in next few days.

@nouveauciel
Copy link
Author

nouveauciel commented Oct 13, 2022

Hi @Yawan-1 , thanks for looking into this. You are right in your understanding of the issue (I should have made it clearer). The solution could be an autocomplete feature. btw, I found this to be a good solution: https://github.com/chhantyal/taggit-selectize

Autocompletion almost solves the problem but still has some limitations. Say there are only 10 existing tags available to use, it is hard for new users to discover these available tags with solely autocomplete. e.g. without any hints the user has to try or know the initial keyword to see the list.

Therefore, I think, in addition to autocompletion, a list of available tags to be shown to allow the user to select or drag and drop. I did a quick research on how this is possible in the UI but did not find a solution off-the-shelf. What's your thoughts on this?

@Yawan-1
Copy link
Owner

Yawan-1 commented Oct 13, 2022

Thanks @nouveauciel for finding this good package to implement this functionality. But We can also implement this by our own jquery function or code and I am pretty sure the package you shared is also using jquery A file which contains js code of all the package. So the sequence is gonna be like ,

"When the user types in input field then We are gonna attach a handler with input field to send the current value of the field to the backend then Backend will filter all the tags which matches the typed string in the tag field then Ajax will show returned tags from JsonResponse to the user And Of course Jquery is pretty slow But It will be enough for this functionality."

What about this?

@nouveauciel
Copy link
Author

Hi Yawan, your solution looks great, but I think we are thinking about different things.

I am proposing to add a list of available tags before the user types anything. for example, the user can click and choose among existing tags without typing any letters.

This is actually a different functionality from StakOverflow, which is more suitable for a smaller site where there aren't many tags to choose from. Just an idea for your consideration. :D

@Yawan-1
Copy link
Owner

Yawan-1 commented Oct 15, 2022

Hello @nouveauciel, Yes your idea is also good about "Showing tags without any user input in input field", but there is a downside of this feature like,

  1. If user is asking a question about React Js and we've shown tags like python, ruby, bootstrap, aws, then user will kinda frustrate looking at the inappropriate tags.

Solution: This can be possible if we can identity the programming language or specific keyword/strings used in question body field and suggest tags based on identified data.

To identify the programming language used in field, We can use This Package (Guesslang)

but It is also good thinking about this feature. It's really helpful. and I think so already have this functionality.

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

No branches or pull requests

2 participants