Skip to content

v0.4.26 - #104

Merged
roncodes merged 3 commits into
mainfrom
dev-v0.4.26
Apr 16, 2024
Merged

v0.4.26#104
roncodes merged 3 commits into
mainfrom
dev-v0.4.26

Conversation

@roncodes

Copy link
Copy Markdown
Member
  • Added user_id property to driver resource
  • Fixed driver verify token and setting of auth token

@roncodes
roncodes merged commit af22992 into main Apr 16, 2024
@roncodes
roncodes deleted the dev-v0.4.26 branch April 16, 2024 06:44
roncodes added a commit that referenced this pull request Sep 5, 2026
Seventeen unit tests over the scheduler controller: active and unscheduled
orders, the sidebar search and its debounce, the type filter, driver rows and
workload bars, the resource-label and event-tile HTML, selection, the
view-range mapping, and calendar navigation (including with no calendar
attached, which is the state before the template mounts).

A unit test rather than a rendering one: the controller only ever talks to
@event-calendar/core through setOption/getOption/prev/next, so a stand-in for
that API exercises its own logic without pretending to run the calendar.

Three findings, recorded not fixed. DEFECTS #102: `driver.max_daily_orders`
appears on one line in the whole codebase and is not an attribute, so every
capacity bar is measured against 10. #103: the priority filter reads
`o.priority`, which OrderModel does not have. #104 (NEEDS DECISION): nothing
ever assigns to `activeFilters`, so the filter block never runs at all — which
is why #103 is harmless today.

scheduler/index.js 0/325 -> 94/325 statements, 0/197 -> 55/197 branches,
0/79 -> 43/79 functions; create-full-calendar-event-from-order.js and
to-calendar-date.js now fully covered.
Global: statements 7508 -> 7609 (41.00%), branches 4772 -> 4834,
functions 2084 -> 2128, lines 7125 -> 7210. Tests 1450 -> 1467;
failures unchanged at 81, none new. Lint 0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant