When an assignment is created on the schedule, a suggested time entry is created for each day in the assignment. The budget graphs in the sidebar are based on data from a reports endpoint that calculates future scheduled and budget. These graphs rely on the suggestions being fully created before calculations will be accurate. So, at what point can we know with certainty that the requisite data has been created before attempting to re-render the graphs?
Cost scale: 1-5. 1=low, 5=high
Overview: When an assignment is created, determine the number of expected time entries to be created. Then poll the assignments show endpoint (e.g., /api/v1/projects/1234?with_suggestions=true
). When the number of suggestions matches the expected, re-render the graphs.