Update progress against a data date
Goal: record the progress of each task, move the data date forward, and see the schedule follow. The progress cells hold the actuals; the data date says where “now” is.
By hand
-
Show the progress cells. The Progress button in the toolbar adds five cells to the task list, right after Task, in this order: % complete, Physical %, Actual start, Actual finish, Remaining. A file that carries actuals opens with them showing; on a file with none they start off, and the button turns them on, empty. Press it again to take them away. The button shows whether they are on.
-
Type an actual. Double-click a progress cell, or put the cell cursor on it and press
Enter. Actual start and Actual finish take a day writtenYYYY-MM-DD; Remaining takes a duration such as4hor2d; % complete takes a whole number from 0 to 100, with or without the%sign, such as75or75%; Physical % takes a number from 0 to 100 with up to two decimals, with or without the%sign, such as50or12.5%, and an empty cell clears it.Entercommits andEscapediscards.Tabcommits and walks Actual start, Actual finish, Remaining, % complete, Physical %, so from Remaining it goes back to % complete, the cell nearest Task, and from Physical % to Actual start on the next row;Shift+Tabwalks the other way, to the previous row’s Physical % from Actual start. Each commit is one undo step (Ctrl+Z). Committing the text a cell already shows adds no undo step, and an actual start that has a time of day keeps it when you commit the same day. -
How the cells depend on each other. Setting Remaining on a started task sets its % complete from the task’s duration: a task of eight working hours with
4hremaining reads50%. Setting % complete sets Remaining, so75%on that task reads2h. A % complete from 1 to 99 on a task with no actual start also gives it one, its early start (with a data date set, a % complete that would put that start after the data date is refused); from then it is started and fixed there (step 7). A0on a task with no actual start leaves it unstarted, with no actual start and no remaining. A % complete of100finishes the task: it gets an actual finish and0remaining, and oneCtrl+Zputs the three cells back as they were. Setting an Actual finish also sets Remaining to0. -
A refused entry. A bad entry leaves the editor open with the reason under it, and changes nothing:
Entry Message An actual finish before the actual start “The actual finish is before the actual start.” Text that is not a day “Write the date as YYYY-MM-DD.” A % complete outside 0 to 100 “Write the percent complete as a whole number from 0 to 100, such as 75 or 75%.” An actual start or finish after the data date, or a % complete that would set one “An actual date cannot be after the data date. Move the data date first, or write a date on or before it.” An actual the task already holds passes, so its remaining can still be edited. Typing clears the reason, and
Escapeleaves the task as it was. A summary row takes no progress entry, because its figures come from the tasks under it. -
Read a summary. A summary row’s % complete is the duration-weighted share of the leaves under it: with two leaves of eight hours and one of them finished, the summary reads
50%. A summary with nothing started under it shows nothing. -
Move the data date. The data date is a line on the chart. Give the chart a day written
YYYY-MM-DDto move the data date to it, or no day to clear it. Text that is not a date is refused (“Write the data date as YYYY-MM-DD.”), and nothing changes.
On this page, the toolbar shows the data date as Data date YYYY-MM-DD HH:MM. With no data date, an empty box labeled Data date sits there
instead. To move it, click the date (or focus it and press Enter or Space) and type a day
written YYYY-MM-DD, then press Enter. ArrowUp and ArrowDown step the box by a day and
Shift with either steps a week; the date applies only when you press Enter, and Escape
puts the shown date back. On this page the refusal shows in the alert line, and the box keeps focus and your text. An empty box plus Enter clears
the data date. Enter on the date as it stands adds no undo step.
- What changes when it moves. The line moves to 00:00 on the day. Work that has not started
cannot start before the data date, so every such bar that sat before it moves right to the
new date, and the tasks after it follow. Started and finished tasks are fixed at their actuals
and do not move. The whole move is one undo step:
Ctrl+Zputs the date, the line and every bar back, andCtrl+Shift+Zrepeats it. Clearing the data date lets the work it held back start earlier again. After a move that shifts other tasks, the note at the top right of the chart starts withdata date +7 days ·(see the page on changing dates and seeing what moved).
The note at the top right of the chart is described in Change dates and see what moved.
-
Go to the data date. With the chart focused and the cell cursor not in the list,
tpans the chart to the data date, keeping the zoom. With no data date it does nothing. -
Filter by status. A status filter keeps only the tasks that are In progress, Not started or Complete. It is one filter at a time like the other row filters.
On this page, the Status choice in the Filters panel does this; the Status entry at the top clears it. The other filters are in Find your way around a big schedule.
Where it is checked
packages/gantt/tests/progress-toggle.spec.ts asserts the Progress button: the five cells appear empty on a
file with no actuals and go again, the chart works without the toolbar, and a summary reads the
duration-weighted % of its leaves.
packages/gantt/tests/progress-edit.spec.ts types into the cells with the mouse and keyboard: the actual
start and its undo, the unchanged commit, Remaining and Actual finish with one undo each, the
refusal messages, Tab and Shift+Tab, and 100 in % complete.
packages/gantt/tests/percent-cell-scrolled.spec.ts checks that a press on a cell with the table scrolled
right goes to that cell and never back to Name.
packages/gantt/tests/data-date.spec.ts asserts the data date box: a typed day moves the line and the
unstarted bars, a refused entry, the arrow keys, an empty box and the undo and redo of each.
packages/gantt/tests/goto-data-date.spec.ts asserts t, and packages/gantt/tests/filter-status.spec.ts the Status
choice.
crates/app/tests/data_date_edit.rs checks the data date move against hand-solved dates, and
crates/app/tests/progress_edit.rs and progress_rollup.rs the progress entries and the summary
figure.