Skip to content

add user resource - #105

Closed
doljko wants to merge 1 commit into
mainfrom
user-resource
Closed

add user resource#105
doljko wants to merge 1 commit into
mainfrom
user-resource

Conversation

@doljko

@doljko doljko commented Apr 17, 2024

Copy link
Copy Markdown
Contributor

No description provided.

@roncodes roncodes closed this Apr 19, 2024
@roncodes
roncodes deleted the user-resource branch April 19, 2024 06:53
roncodes added a commit that referenced this pull request Sep 5, 2026
Thirty-three tests. The modal block: opening an order, rescheduling from a
date or a picker wrapper, saving (success, info when the date is cleared, a
straight close when nothing changed, a refusal that keeps the modal open),
unscheduling, the shift modal's save and delete including both failures,
one-off and recurring shifts (new schedule and reusing an existing one), bulk
assign, and the conflict modal's assignAnyway/autoAdjust.

Then the residue: four statements were `@tracked` initialisers nothing reads,
and thirty branches were sparse-data fallbacks — no id or tracking, no
workload, an order answering through get(), a timeline with no inner grid or
none at all, an event dragged off every resource row.

The last branch is genuinely unreachable — DEFECTS #105. `formatToParts` is
built from a literal options object requesting exactly the six types the
helper asks for, so the `?? '0'` cannot run. Hoisted into a local const so the
pragma attaches, with the trace in the comment. Behaviour unchanged.

scheduler/index.js 240/325 -> 326/326 statements, 126/197 -> 195/195
branches, 65/79 -> 79/79 functions, 290/290 lines.
Global: statements 7755 -> 7841 (42.25%), branches 4905 -> 4974,
functions 2150 -> 2164, lines 7342 -> 7422. Fully covered files 312 -> 313.
Tests 1490 -> 1523; 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.

2 participants