プロジェクト

全般

プロフィール

Vote #79542

未完了

Select a JavaScript library to handle tags

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Third-party libraries_47
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
47
version_id:
0
issue_org_id:
29663
author_id:
107353
assigned_to_id:
1
comments:
10
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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":https://github.com/selectize/selectize.js because is maintained and has tests.

Other alternatives:

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.


journals

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
I would like to review my proposals in order to include some libraries non jQuery dependent.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
I looked for some other libraries that can be used to handle the tags:
* "Tagify":https://github.com/yairEO/tagify: JavaScript vanilla tag component, no custom dropdown. The size is ~7kb gzipped.
* "Choises":https://github.com/jshjohnson/Choices: tags and custom dropdown, like Select2 or Selectize, but not jQuery depending. The size is 22kb gzipped.
--------------------------------------------------------------------------------
Choices.js looks very good to me because it's more versatile and provides also options for improvements of other fields in the future.
--------------------------------------------------------------------------------
Another library is https://slimselectjs.com which seems to be a very good candidate from my tests.

--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------


related_issues

relates,New,1448,Add tags to issues
relates,New,29732,Populate items in drop down lists from internal/external source
relates,New,31313,Add search/filter to project select box in ticket create/edit form

Admin Redmine さんが約4年前に更新

  • カテゴリThird-party libraries_47 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0