Page MenuHomePhabricator

Improve usability of Phrequent "Stop Time" dialog
ClosedPublic

Authored by epriestley on Aug 11 2014, 4:21 PM.
Tags
None
Referenced Files
F14011963: D10218.diff
Fri, Nov 1, 6:18 AM
F14007097: D10218.id24599.diff
Mon, Oct 28, 11:32 PM
F14007096: D10218.id24581.diff
Mon, Oct 28, 11:32 PM
F13966032: D10218.id24581.diff
Oct 16 2024, 5:46 AM
F13959772: D10218.id24599.diff
Oct 14 2024, 8:43 PM
Unknown Object (File)
Oct 10 2024, 12:06 PM
Unknown Object (File)
Oct 1 2024, 10:31 AM
Unknown Object (File)
Sep 8 2024, 12:15 PM
Subscribers

Details

Summary

Fixes T5848.

  • Disallow tracking negative time.
  • Preserve note if there's an error with the time selection.
  • Show start time and duration.
  • Slightly better error messages.
Test Plan

Started and stopped time. Tried to select future/negative ranges.

Diff Detail

Repository
rP Phabricator
Branch
timediag
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2150
Build 2154: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Improve usability of Phrequent "Stop Time" dialog.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: hach-que, btrahan.
btrahan edited edge metadata.

The "future" time thing strikes me as something people might have used - "I am going to work on this for the next two hours", etc - but I think this is better as is and will yield more accurate tracking overall.

This revision is now accepted and ready to land.Aug 11 2014, 6:36 PM
src/applications/phrequent/controller/PhrequentTrackController.php
59–60

Yeah, I think I agree with you -- and almost added at least a fuzz factor here (e.g., you can set a stop time up to 15 minutes in the future). However, it did previously stop you from future-stop-times (just not negative-stop-times) so I figured I'd leave that as-is until we get complaints.

If users run into this, I think fuzz-factor ("you can stop work at 5:00 PM if it's 4:53 right now") would be 100% reasonable and "any future time you want" would be like 90% reasonable.

epriestley updated this revision to Diff 24599.

Closed by commit rPfc814647e60a (authored by @epriestley).