Opened 7 years ago
Closed 7 years ago
#13364 closed enhancement (fixed)
Auto-fill form fields
Reported by: | anonymous | Owned by: | lucid |
---|---|---|---|
Priority: | normal | Component: | TimeTrackingPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
For convenience the form to add new log entries should automatically pre-fill the fields with likely values. For most fields the value could just be copied from the latest previous entry.
For the date (which is already pre-filled, but to the current day) it would sometimes be more convenient to set it to the date after the latest previous entry. Perhaps add a setting typical_logged_spent_hours_per_day = 12
. After that many hours are logged, automatically pre-fill the field with the following day. Perhaps also add a setting typical_logged_days_on_weekends = no
to skip weekends automatically.
For some fields (e.g. location) it might be more convenient to use the value of the same day from the previous week. Perhaps another setting typical_logged_location_weekly = yes
makes would be useful.
A more powerful solution would maybe add more options:
[typical_logged_hours] default.hours = 12 default.location = office monday.location = home friday.hours = 6 saturday.hours = 0 sunday.hours = 0
(Even more complex: Make this configurable per user. Maybe even in a nice preferences UI panel.)
Attachments (0)
Change History (2)
comment:1 Changed 7 years ago by
comment:2 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
In 17024: