Skip to content

feat: allow site name and sidebar colour to be set #151

feat: allow site name and sidebar colour to be set

feat: allow site name and sidebar colour to be set #151

Triggered via pull request October 28, 2024 12:09
Status Failure
Total duration 1m 17s
Artifacts

deployment.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 5 warnings
ʦ TypeScript: tests/unit/utils.spec.ts#L63
Argument of type 'string' is not assignable to parameter of type 'ServerRuntimeMetaMatches<Record<string, unknown>>'.
ʦ TypeScript
Process completed with exit code 2.
tests/unit/utils.spec.ts > Page Title > should generate a page title: app/lib/utils/page-title.ts#L11
TypeError: matches.filter is not a function ❯ Module.pageTitle app/lib/utils/page-title.ts:11:1 ❯ tests/unit/utils.spec.ts:63:12
🧪Test
Process completed with exit code 1.
⬣ ESLint: app/lib/utils/contrast-color.ts#L6
Unexpected var, use let or const instead
⬣ ESLint: app/lib/utils/contrast-color.ts#L19
Unexpected var, use let or const instead
⬣ ESLint: app/lib/utils/contrast-color.ts#L20
Unexpected var, use let or const instead
⬣ ESLint: app/routes/app.system.tsx#L72
`"` can be escaped with `&quot;`, `&ldquo;`, `&#34;`, `&rdquo;`
⬣ ESLint: app/routes/app.system.tsx#L72
`"` can be escaped with `&quot;`, `&ldquo;`, `&#34;`, `&rdquo;`
⬣ ESLint: app/routes/app_.login.tsx#L22
'pageTitle' is defined but never used
⬣ ESLint
Process completed with exit code 1.
⬣ ESLint: app/routes/app.$assetslug.import.tsx#L127
React Hook useEffect has missing dependencies: 'asset.slug' and 'columnMappings'. Either include them or remove the dependency array
⬣ ESLint: app/routes/app.documents.$document.attach.tsx#L17
'/home/runner/work/net-doc/net-doc/app/lib/components/button.tsx' imported multiple times
⬣ ESLint: app/routes/app.documents.$document.attach.tsx#L18
'/home/runner/work/net-doc/net-doc/app/lib/utils/upload-handler.server.ts' imported multiple times
⬣ ESLint: app/routes/app.documents.$document.attach.tsx#L19
'/home/runner/work/net-doc/net-doc/app/lib/utils/upload-handler.server.ts' imported multiple times
⬣ ESLint: app/routes/app.documents.$document.attach.tsx#L20
'/home/runner/work/net-doc/net-doc/app/lib/components/button.tsx' imported multiple times