Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .agents/skills/testing-guidelines/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ uses(UnitTestCase::class)->in('Unit');
- For element traits, create minimal test elements that override only what is needed.
- Use Laravel event fakes/listeners to assert dispatch, cancellation, or data changes.
- Use Pest's `->with()` data providers to consolidate tests that share the same structure but differ only in input/expected values. Use named dataset entries for clarity.
- Avoid long chains of `toContain()` / `not()->toContain()` assertions against rendered HTML. They tend to test incidental markup, labels, ordering, and template structure instead of behavior. Prefer assertions that target the semantic contract directly, such as input names, selected values, option values, or data attributes. Keep raw string containment assertions for small, stable strings that are themselves the contract.
- Tests that assert Yii2 backwards-compatibility surfaces (legacy aliases, `ValidateMixin` helpers like `hasErrors()`, other adapter-only behavior) must live in `yii2-adapter/tests-laravel/`, not `tests/Feature/` or `tests/Unit/`.

## When to Load References
Expand Down
35 changes: 13 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"axios": "^1.15.2",
"laravel-vite-plugin": "^3.1.0",
"lit": "^3.3.2",
"overtype": "^2.3.10",
"tailwindcss": "^4.2.4",
"vue": "^3.5.33"
}
Expand Down
8 changes: 8 additions & 0 deletions resources/build/assets/AdminTable-3rUkyUV7.js

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions resources/build/assets/AdminTable-C5dgSydv.js

This file was deleted.

1 change: 0 additions & 1 deletion resources/build/assets/AppLayout-BtboO7mz.js

This file was deleted.

1 change: 1 addition & 0 deletions resources/build/assets/AppLayout-DjmoYmre.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions resources/build/assets/Badge-BNWBhVu1.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion resources/build/assets/Badge-CZivKMDx.js

This file was deleted.

1 change: 0 additions & 1 deletion resources/build/assets/CpGlobalSidebar-7AFxlz3R.js

This file was deleted.

1 change: 1 addition & 0 deletions resources/build/assets/CpGlobalSidebar-BJPMRU9_.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions resources/build/assets/CpGlobalSidebar-CJo7CirN.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import"./CpGlobalSidebar-BJPMRU9_.js";
1 change: 1 addition & 0 deletions resources/build/assets/CpQueueIndicator-C3SDsUsY.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import{t as e}from"./CpQueueIndicator-CXouFr79.js";export{e as default};
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{n as e}from"./rolldown-runtime-DXc-PV0M.js";import{h as t,p as n}from"./cp-C98QgSGF.js";import{c as r,f as i,r as a,t as o}from"./lit-BpPOIUnZ.js";import{a as s,o as c}from"./decorators-BOwDFZC2.js";import{t as l}from"./decorate-BM_SnROF.js";var u={Pending:1,Reserved:2,Done:3,Failed:4,Delayed:5,Cancelled:6},d=e({default:()=>p}),f=class extends o{constructor(...e){super(...e),this.displayedJob=null,this.hasReservedJobs=!1,this.hasWaitingJobs=!1,this.#e=n.getInstance(),this.#t=t.getInstance(),this.#n=e=>{this.displayedJob=e.detail.displayedJob}}static{this.styles=i`
import{f as e,m as t}from"./cp-DBw9TANf.js";import{c as n,f as r,r as i,t as a}from"./lit-BpPOIUnZ.js";import{a as o,o as s}from"./decorators-BOwDFZC2.js";import{t as c}from"./decorate-CpzDR30L.js";var l={Pending:1,Reserved:2,Done:3,Failed:4,Delayed:5,Cancelled:6},u=class extends a{constructor(...n){super(...n),this.displayedJob=null,this.hasReservedJobs=!1,this.hasWaitingJobs=!1,this.#e=e.getInstance(),this.#t=t.getInstance(),this.#n=e=>{this.displayedJob=e.detail.displayedJob}}static{this.styles=r`
:host {
display: contents;
}
Expand All @@ -11,7 +11,7 @@ import{n as e}from"./rolldown-runtime-DXc-PV0M.js";import{h as t,p as n}from"./c
font-size: 0.85em;
opacity: 0.7;
}
`}#e;#t;connectedCallback(){super.connectedCallback(),this.displayedJob||=this.#e.displayedJob,this.#e.addEventListener(`job-update`,this.#n),this.#i(),this.#r()}disconnectedCallback(){super.disconnectedCallback(),this.#e.removeEventListener(`job-update`,this.#n)}update(e){super.update(e),(e.has(`hasReservedJobs`)||e.has(`hasWaitingJobs`))&&this.#r(),e.has(`displayedJob`)&&this.#i()}#n;#r(){this.hasReservedJobs?this.#e.startTracking():this.hasWaitingJobs&&this.#e.runQueue()}#i(){this.displayedJob?this.setAttribute(`visible`,``):this.removeAttribute(`visible`)}get#a(){return this.displayedJob?this.displayedJob.status.value===u.Failed?100:this.displayedJob.progress??0:0}get#o(){return this.displayedJob?.status.value===u.Failed}get#s(){return this.#e.canAccessQueueManager?null:this.#t.getCpUrl(`utilities/queue-manager`)}render(){return this.displayedJob?r`
`}#e;#t;connectedCallback(){super.connectedCallback(),this.displayedJob||=this.#e.displayedJob,this.#e.addEventListener(`job-update`,this.#n),this.#i(),this.#r()}disconnectedCallback(){super.disconnectedCallback(),this.#e.removeEventListener(`job-update`,this.#n)}update(e){super.update(e),(e.has(`hasReservedJobs`)||e.has(`hasWaitingJobs`))&&this.#r(),e.has(`displayedJob`)&&this.#i()}#n;#r(){this.hasReservedJobs?this.#e.startTracking():this.hasWaitingJobs&&this.#e.runQueue()}#i(){this.displayedJob?this.setAttribute(`visible`,``):this.removeAttribute(`visible`)}get#a(){return this.displayedJob?this.displayedJob.status.value===l.Failed?100:this.displayedJob.progress??0:0}get#o(){return this.displayedJob?.status.value===l.Failed}get#s(){return this.#e.canAccessQueueManager?null:this.#t.getCpUrl(`utilities/queue-manager`)}render(){return this.displayedJob?n`
<craft-nav-item .href=${this.#s}>
<craft-progress
slot="prefix"
Expand All @@ -21,9 +21,9 @@ import{n as e}from"./rolldown-runtime-DXc-PV0M.js";import{h as t,p as n}from"./c
></craft-progress>
<div class="label">
<span class="title">${this.displayedJob.description}</span>
${this.displayedJob.progressLabel?r`<span class="progress-label"
${this.displayedJob.progressLabel?n`<span class="progress-label"
>${this.displayedJob.progressLabel}</span
>`:a}
>`:i}
</div>
</craft-nav-item>
`:a}};l([s({type:Object,attribute:`displayed-job`})],f.prototype,`displayedJob`,void 0),l([s({type:Boolean,attribute:`has-reserved-jobs`})],f.prototype,`hasReservedJobs`,void 0),l([s({type:Boolean,attribute:`has-waiting-jobs`})],f.prototype,`hasWaitingJobs`,void 0),f=l([c(`cp-queue-indicator`)],f);var p=f;export{d as t};
`:i}};c([o({type:Object,attribute:`displayed-job`})],u.prototype,`displayedJob`,void 0),c([o({type:Boolean,attribute:`has-reserved-jobs`})],u.prototype,`hasReservedJobs`,void 0),c([o({type:Boolean,attribute:`has-waiting-jobs`})],u.prototype,`hasWaitingJobs`,void 0),u=c([s(`cp-queue-indicator`)],u);var d=u;export{d as t};
1 change: 1 addition & 0 deletions resources/build/assets/CraftCombobox-BkCjs3xZ.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion resources/build/assets/CraftCombobox-D1ggFDh2.js

This file was deleted.

1 change: 0 additions & 1 deletion resources/build/assets/CraftInput-5KetvMVv.js

This file was deleted.

1 change: 1 addition & 0 deletions resources/build/assets/CraftInput-CGOATOXU.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions resources/build/assets/CraftInputHandle-B8rgmia_.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading