Project

General

Profile

Actions

Feature #29663

open

Select a JavaScript library to handle tags

Added by Marius BĂLTEANU about 6 years ago. Updated 12 months ago.

Status:
New
Priority:
Normal
Category:
Third-party libraries
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

I would like to continue my work on #1448 and in order to do it, I think that we should agree on which Javascript library we're going to use to handle the tags. I don't think that it worths to make our custom implementation and reinvent the wheel.

In my second patch from the mentioned issue, I've proposed Selectize.js because is maintained and has tests.

Other alternatives:
  • Select2: which was my first option but I know that you prefer to not add it to the core (#23310#note-11). Also, this library is added by many plugins developers like Redmine UP, RM Plus, AlphaNodes, etc.
  • Tag-it: which is currently used by the redmine_tags plugin, but the library is no longer maintained (last commit in 2014) and I would like to avoid using it.
  • Taggle: it has only few stars on github.
  • tagEditor: only few stars on github and it doesn't have tests
Also, I think that this library can be used to improve other functionalities like:
  • query columns selection
  • add multiple watchers or members
  • improved drop downs with many values.
Sizes in minified version:
Selectize 38.4 KB
Select2 66.3 KB

Jean-Philippe Lang, please let me know what do you think.


Related issues

Related to Redmine - Feature #1448: Add tags to issuesNewMarius BĂLTEANU2008-06-14

Actions
Related to Redmine - Feature #29732: Populate items in drop down lists from internal/external sourceNew

Actions
Related to Redmine - Feature #31313: Add search/filter to project select box in ticket create/edit formNew

Actions
Actions #1

Updated by Marius BĂLTEANU about 6 years ago

  • Private changed from Yes to No
Actions #2

Updated by Marius BĂLTEANU about 6 years ago

Actions #3

Updated by Go MAEDA about 6 years ago

  • Related to Feature #29732: Populate items in drop down lists from internal/external source added
Actions #4

Updated by Adrien Crivelli over 5 years ago

It seems Jean-Philippe Lang is not very active nowaday, could this decision be made by Go MAEDA instead ? so that Marius work can go on ?

Selectize.js sounds like a faire choice.

Actions #5

Updated by Marius BĂLTEANU over 5 years ago

  • Assignee changed from Jean-Philippe Lang to Marius BĂLTEANU

I would like to review my proposals in order to include some libraries non jQuery dependent.

Actions #6

Updated by Marius BĂLTEANU over 5 years ago

  • Related to Feature #31313: Add search/filter to project select box in ticket create/edit form added
Actions #7

Updated by Marius BĂLTEANU over 5 years ago

  • Assignee changed from Marius BĂLTEANU to Jean-Philippe Lang
I looked for some other libraries that can be used to handle the tags:
  • Tagify: JavaScript vanilla tag component, no custom dropdown. The size is ~7kb gzipped.
  • Choises: tags and custom dropdown, like Select2 or Selectize, but not jQuery depending. The size is 22kb gzipped.
Actions #8

Updated by Bernhard Rohloff over 5 years ago

Choices.js looks very good to me because it's more versatile and provides also options for improvements of other fields in the future.

Actions #9

Updated by Marius BĂLTEANU over 5 years ago

Another library is https://slimselectjs.com which seems to be a very good candidate from my tests.

Actions #10

Updated by Marius BĂLTEANU about 5 years ago

Jean-Philippe, can you help us with a feedback on this? I would like to finish my work on the tags solution for 4.2.0.

Actions #11

Updated by pasquale [:dedalus] 12 months ago

Can we consider Jean Philippe's silence as a YES? It's been 4 years with no response or indication of an alternative implementation. Staying in this situation, the development of Redmine in my opinion is blocked.

Actions

Also available in: Atom PDF