プロジェクト

全般

プロフィール

Vote #75291

未完了

repository browser ajax call (show) should "recurse" or automatically open deep directories if there is only one

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

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

0%

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

説明

It is common, particularly with java code, to have pretty deep directories, each of which may only have one entry.

For example:

src/main/java/com/companyname/group/project/service/ActualFiles.java

In the current version of redmine (or 1.4.7, anyway), these leads someone to just repeatedly clicking a long (seemingly endless) line of plus signs... and it goes against the interface design rule: "don't prompt the user if there is only one option."

I imagine that it would be reasonably easy to modify this so that if a directory entry is requested, and it contains only one entry, and that entry is another directory, to recurse... instantly rendering the entire directory chain as open/expanded (however deep the directory chain may be) until there are multiple entries (or just a file, or empty).

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

いいね!0
いいね!0