プロジェクト

全般

プロフィール

Vote #79577

未完了

Populate items in drop down lists from internal/external source

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

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

0%

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

説明

Drop down lists is issues, such as used in custom fields, versions, assigned_to, among others, are part of the html code Redmine sends to the user. If the number of items is too big (thousands of lines), it generates a very inneficient large select in the middle of the html code that redmine sends the user.

This large html is not cacheable by the browser, and it is sent regardless of it being used. It slows down browsing using next/previous issue significantly, as well as when changing issue type, which reloads all fields.

Depending on the number of items in lists, it could be a big performance boost. Redmine would fetch list items independently of the html, and only when the user clicks or expands a drop down menu. List items could be fetched using a specific route, triggered by javascript, and the select element could then be composed on the fly.


journals

--------------------------------------------------------------------------------
FYI: Selectize, the JavaScript library proposed in #29663, supports on the fly items creation.
https://github.com/selectize/selectize.js#features
--------------------------------------------------------------------------------


related_issues

relates,New,29663,Select a JavaScript library to handle tags

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

  • カテゴリPerformance_53 にセット

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

いいね!0
いいね!0