プロジェクト

全般

プロフィール

Vote #78417

未完了

Make the issues sidebar menu use accordion with JQuery

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

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

0%

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

説明

Hi,

We have some projects in which the issues sidebar is very long.

We would like to be able to hide/show the sidebar sections.

The JQuery Accordion feature could be easily used for this.
Looking at the docs, the

tags must be followed by an enclosing div tag,
and a $('sidebar').accordion command should be executed.

Regards,
Fabrice


journals

--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1

P.S. it's safe to say that jQuery is beginning to die, as it was a great product for it's time to serve purpose in enabling the ease of DOM manipulation and also making it richer. https://trends.google.com/trends/explore?date=all&q=%2Fm%2F0268gyp

Now that we have ES6 JS+ (which kind of makes use of jQuery questionable now) it would be good to throw forces into beginning to convert all to pure vanilla JS instead of building on top of something that's to push up daises any moment, and Redmine to become taken by surprise.
I believe this work would be also vital, because even seeing how jQuery is implemented now and while there are many things Redmine can load up dynamically there is also still many things it wishes it could load up dynamically. And so while the conversion work is done, more partial load-ups could be potentially researched and implemented in parallel, definitely resulting in performance/speed increase in the future.
--------------------------------------------------------------------------------
For an accordion in pure ecmascript see https://codepen.io/sureshrkm/pen/ZbzBpr
--------------------------------------------------------------------------------


related_issues

relates,Needs feedback,21808,Make the Sidebar collapsible, stateful

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

  • カテゴリIssues_2 にセット

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

いいね!0
いいね!0