OFBiz
  1. OFBiz
  2. OFBIZ-2474

Add Stop-watch on Task summary page.

    Details

      Description

      Add a Stop watch on the task summary page. It will have following functions: Start, Stop, Reset, Pause & Resume.

      1. StopWatch.patch
        18 kB
        Jyotsna Rathore

        Activity

        Hide
        Jyotsna Rathore added a comment -

        Uploaded patch for stop watch on Task summary page. It Has following major changes:

        1. Implemented java service 'stopWatchForTask' in WorkEffortServices.xml
        2. Implemented simple method 'stopWatchForTask' in ProjectSimpleEvents.xml.
        3. Implemented MyWatch screen in & created MyWatch.ftl.
        4. Created MyWatch.js for displaying updated time for change of each second.

        Show
        Jyotsna Rathore added a comment - Uploaded patch for stop watch on Task summary page. It Has following major changes: 1. Implemented java service 'stopWatchForTask' in WorkEffortServices.xml 2. Implemented simple method 'stopWatchForTask' in ProjectSimpleEvents.xml. 3. Implemented MyWatch screen in & created MyWatch.ftl. 4. Created MyWatch.js for displaying updated time for change of each second.
        Hide
        Hans Bakker added a comment -

        if more than one user is using the stopwatch what does happen? Is it separated?

        Show
        Hans Bakker added a comment - if more than one user is using the stopwatch what does happen? Is it separated?
        Hide
        Hans Bakker added a comment -

        why part of the patch is in project manager and part of it in work effort? I would like to suggest to first implement it on a work effort in the workeffort component, and then to make this available in the project manager.

        I also miss the function to enter the resulting total time into a timesheet referring to the task/workeffort?

        Another point is the updating pe second....better to have that longer lets say per minute?

        In general a nice idea, but to make it useful it should be integrated in the system.

        I hope the code is not copied from somewhere? if so what was the original license?

        Show
        Hans Bakker added a comment - why part of the patch is in project manager and part of it in work effort? I would like to suggest to first implement it on a work effort in the workeffort component, and then to make this available in the project manager. I also miss the function to enter the resulting total time into a timesheet referring to the task/workeffort? Another point is the updating pe second....better to have that longer lets say per minute? In general a nice idea, but to make it useful it should be integrated in the system. I hope the code is not copied from somewhere? if so what was the original license?
        Hide
        Jyotsna Rathore added a comment -

        This stop watch is only displayed on the UI and user can operate on it by using different buttons (Start, Stop, Reset, Pause and Resume)
        Right not the recorded time is not saved anywhere in data base. It need to be stored w.r.t each logged in user. This still need to be implemented.

        Show
        Jyotsna Rathore added a comment - This stop watch is only displayed on the UI and user can operate on it by using different buttons (Start, Stop, Reset, Pause and Resume) Right not the recorded time is not saved anywhere in data base. It need to be stored w.r.t each logged in user. This still need to be implemented.
        Hide
        Jyotsna Rathore added a comment -

        Thanks Hans for your comments, I am working on it and soon will post updated patch.

        Show
        Jyotsna Rathore added a comment - Thanks Hans for your comments, I am working on it and soon will post updated patch.

          People

          • Assignee:
            Unassigned
            Reporter:
            Jyotsna Rathore
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development