Skip to content

move models, fix users page, add followers & following

Sign in for the full log view
GitHub Actions / Qodana for JS completed Jun 22, 2024 in 0s

43 new problems found by Qodana for JS

Qodana for JS

43 new problems were found

Inspection name Severity Problems
Unused local symbol 🔶 Warning 23
ESLint 🔶 Warning 9
Unused import 🔶 Warning 1
Signature mismatch ◽️ Notice 10

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 11 in src/components/header/data.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused import

Unused import specifier UsersIcon

Check warning on line 138 in src/components/account/profile/mfaAlert.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Using \`\<img\>\` could result in slower LCP and higher bandwidth. Consider using \`\<Image /\>\` from \`next/image\` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element (@next/next/no-img-element)

Check warning on line 153 in src/components/account/uploadAvatar.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Using \`\<img\>\` could result in slower LCP and higher bandwidth. Consider using \`\<Image /\>\` from \`next/image\` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element (@next/next/no-img-element)

Check warning on line 153 in src/components/account/uploadBanner.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Using \`\<img\>\` could result in slower LCP and higher bandwidth. Consider using \`\<Image /\>\` from \`next/image\` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element (@next/next/no-img-element)

Check warning on line 160 in src/app/[lang]/(account)/account/gallery/upload/page.client.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Using \`\<img\>\` could result in slower LCP and higher bandwidth. Consider using \`\<Image /\>\` from \`next/image\` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element (@next/next/no-img-element)

Check warning on line 15 in src/app/[lang]/(main)/gallery/[galleryId]/page.client.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Using \`\<img\>\` could result in slower LCP and higher bandwidth. Consider using \`\<Image /\>\` from \`next/image\` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element (@next/next/no-img-element)

Check warning on line 54 in src/app/[lang]/(main)/announcements/[announcementId]/page.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Using \`\<img\>\` could result in slower LCP and higher bandwidth. Consider using \`\<Image /\>\` from \`next/image\` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element (@next/next/no-img-element)

Check warning on line 198 in src/app/[lang]/(account)/account/idcard/page.client.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Using \`\<img\>\` could result in slower LCP and higher bandwidth. Consider using \`\<Image /\>\` from \`next/image\` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element (@next/next/no-img-element)

Check warning on line 130 in src/app/[lang]/(account)/account/gallery/[galleryId]/page.client.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Using \`\<img\>\` could result in slower LCP and higher bandwidth. Consider using \`\<Image /\>\` from \`next/image\` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element (@next/next/no-img-element)

Check warning on line 163 in src/app/[lang]/(account)/account/idcard/page.client.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

ESLint

ESLint: Using \`\<img\>\` could result in slower LCP and higher bandwidth. Consider using \`\<Image /\>\` from \`next/image\` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element (@next/next/no-img-element)

Check notice on line 129 in src/app/[lang]/(account)/account/idcard/page.client.jsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Signature mismatch

Argument type { method: string, body: FormData } is not assignable to parameter type RequestInit \| undefined  
...  
Type FormData is not assignable to type BodyInit \| null \| undefined  
Type FormData is not assignable to type  
ReadableStream\<any\> \| Blob \| ArrayBufferView \| ArrayBuffer \| FormData \| URLSearchParams \| string

Type FormData is not assignable to type string

Check notice on line 15 in src/app/api/user/oauth/route.js

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Signature mismatch

Argument type string is not assignable to parameter type any

Check notice on line 16 in src/app/api/user/oauth/route.js

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Signature mismatch

Argument type string is not assignable to parameter type any

Check notice on line 23 in src/app/api/user/signin/route.js

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Signature mismatch

Argument type string is not assignable to parameter type any

Check notice on line 22 in src/app/api/user/signin/route.js

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Signature mismatch

Argument type string is not assignable to parameter type any

Check notice on line 14 in src/app/api/user/logoutUser/route.js

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Signature mismatch

Argument type string is not assignable to parameter type any

Check notice on line 24 in src/app/api/user/signin/route.js

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Signature mismatch

Argument type  
{  
path: string,  
maxAge: Date,  
sameSite: string,  
domain: string,  
httpOnly: boolean,  
secure: boolean  
}
is not assignable to parameter type any

Check notice on line 15 in src/app/api/user/logoutUser/route.js

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Signature mismatch

Argument type  
{  
path: string,  
expires: Date,  
domain: string,  
httpOnly: boolean,  
secure: boolean  
}
is not assignable to parameter type any

Check notice on line 13 in src/app/api/user/logoutUser/route.js

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Signature mismatch

Argument type string is not assignable to parameter type any

Check notice on line 17 in src/app/api/user/oauth/route.js

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Signature mismatch

Argument type  
{  
path: string,  
maxAge: Date,  
sameSite: string,  
domain: string,  
httpOnly: boolean,  
secure: boolean  
}
is not assignable to parameter type any

Check warning on line 19 in src/components/account/views/frontpage.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused local symbol

Unused constant hiddenPronouns

Check warning on line 58 in src/components/ui/calendar.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused local symbol

Unused parameter props

Check warning on line 50 in src/components/header/header-nav.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused local symbol

Unused parameter e

Check warning on line 89 in src/components/header/data.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused local symbol

Unused parameter translations

Check warning on line 56 in src/components/header/data.tsx

See this annotation in the file changed.

@github-actions github-actions / Qodana for JS

Unused local symbol

Unused parameter translations