プロジェクト

全般

プロフィール

Proposal #1322

完了

Update the daily inputs total time dynamically

Olivier Houdas さんがほぼ10年前に追加. ほぼ10年前に更新.

ステータス:
終了(Closed)
優先度:
通常(Normal)
対象バージョン:
開始日:
2014/04/24
期日:
進捗率:

100%

予定工数:

説明

I suggest to update dynamically (as the user enters values) the total time for the day.

My proposal is to do it with javascript, update the total whenever the user changes an input and indicate that this total is not saved by changing the value to red color.
I also suggest to put the saved amount as tooltip for reference.

I made code changes to do that, I attached the Hg Diff file if you want to use it.

Note that the diff file also includes new strings related to proposal #1319 and a few changes I made in French according to my perception of good translation.


ファイル

dynamic-time-sum.diff (5.92 KB) dynamic-time-sum.diff Olivier Houdas, 2014/04/24 00:09
302-dynamic-time-sum.diff.patch (8.23 KB) 302-dynamic-time-sum.diff.patch Olivier Houdas, 2014/05/22 15:25

Olivier Houdas さんがほぼ10年前に更新

I've reviewed my code after using it for 2 weeks : I had forgotten 2 things, one was the case when redmine_backlogs is present, and the other one is when we click the "+" link to duplicate a task.
I also moved my javascript to the proper file (assets/javascripts/work_time.js).

The new Mercurial patch is attached to this email.

Tomohisa Kusukawa さんがほぼ10年前に更新

  • ステータス新規(New) から 担当(Assigned) に変更
  • 対象バージョン0.2.15 にセット

Tomohisa Kusukawa さんがほぼ10年前に更新

  • ステータス担当(Assigned) から 解決(Resolved) に変更
  • 進捗率0 から 100 に変更

更新履歴 commit:3ea900c2a010 で適用されました。

Tomohisa Kusukawa さんがほぼ10年前に更新

  • ステータス解決(Resolved) から 終了(Closed) に変更

I released Ver.0.2.15.
http://www.r-labs.org/news/180

Olivier Houdas さんがほぼ10年前に更新

Your commit misses a string in the language resources:
wt_saved_value: "Saved time: "
in en.yml and in ja.yml
(used in app/views/_user_day_table.html.erb, line 286, for an info tooltip)

and also, in fr.yml, permission_ strings are duplicated.

Thank you for accepting my code!

Tomohisa Kusukawa さんがほぼ10年前に更新

I feel embarrassed.

fixes those in commit:a668996 .

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