Skip to content

The schedule (gantt) lens is page-scoped at 100 rows, so its timeline range and owner groups are computed over a slice #96

Description

@os-warren

Found on the way through #62's browser pass. Filed unassigned, not claiming, and not fully diagnosed — see "what I did not establish" below.

Observation

The schedule lens footer reads, on the seeded demo:

100 records — Showing first 100 records. More data may be available.

Visible bottom-left in the reproduction screenshot on that card: https://raw.githubusercontent.com/objectstack-ai/duly/b6c452d638777d47a003af42ca53333bdb72d7a6/62-repro-full.png

The store holds 186 tasks (measured in #75's seed and recorded in the by_unit comment in src/views/task.view.ts). The schedule lens filters to rows carrying both visible_from and due_date, so its true result set is some subset of those 186 — and evidently more than the 100 that were fetched.

Why it is worth a card rather than a shrug

The gantt does not just display the fetched rows, it derives from them:

  • the timeline range is min(start) and max(end) over the fetched page, so which span the chart covers is decided by a slice;
  • groupByField: 'owner' buckets over the fetched page, so an owner whose rows all sort past row 100 has no row on the screen and nothing says a person is missing.

That second one is the same shape as #86 on the by_unit grid — the failure there was not a wrong number, it was an absent group with no disclosure — and it is the reason that card scoped the lens to open work rather than raising the page size.

This lens exists so a manager can spot an overloaded fortnight before it arrives. A silently partial one answers that question wrongly in the reassuring direction.

What I did not establish

All three are cheap to settle with the demo running; I stopped because it is outside #62.

Note

This is independent of the two rendering defects on #62 (objectstack-ai/objectui#7203, objectstack-ai/objectui#7204). Those are plugin-gantt drawing the fetched data wrongly; this is about which data is fetched.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions