プロジェクト

全般

プロフィール

Vote #80400

完了

Change the default value for "Days displayed on project activity" setting to 10

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

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

0%

予定工数:
category_id:
50
version_id:
152
issue_org_id:
32248
author_id:
332
assigned_to_id:
332
comments:
4
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Activity shows 30 days of project activities by default. But I think it is better to use a smaller value as a default value for the following reasons:

  • The cost to render the activity page is expensive. It will take a long time to render 30 days of activities if there are a lot of updates
  • Activity page is used to understand recent updates. I think 7 days per page is enough for the purpose. Activities of 20 days or 30 days ago is not always necessary

diff --git a/config/settings.yml b/config/settings.yml
index d345a4cfa..a56911aa7 100644
--- a/config/settings.yml
+++ b/config/settings.yml
@@ -75,7 +75,7 @@ issues_export_limit:
   default: 500
 activity_days_default:
   format: int
-  default: 30
+  default: 7
 per_page_options:
   default: '25,50,100'
 search_results_per_page:

journals

--------------------------------------------------------------------------------
Setting the target version to 4.2.0.
--------------------------------------------------------------------------------
Probably 7 days is a little short. For example, the information displayed on the Activity screen on Monday is the information from last Tuesday onwards, not the information from last Monday.

I think 10 days is better than 7 days.

<pre><code class="diff">
diff --git a/config/settings.yml b/config/settings.yml
index 83685a04a..e470aeaa5 100644
--- a/config/settings.yml
+++ b/config/settings.yml
@@ -85,7 +85,7 @@ issues_export_limit:
default: 500
activity_days_default:
format: int
- default: 30
+ default: 10
per_page_options:
default: '25,50,100'
search_results_per_page:
</code></pre>

--------------------------------------------------------------------------------
Committed the patch.
--------------------------------------------------------------------------------

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

  • カテゴリActivity view_50 にセット
  • 対象バージョン4.2.0_152 にセット

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

いいね!0
いいね!0