Skip to content

[TASK-84, TASK-85] feat, style: 상세 페이지 우측 버튼 그룹 및 관련 모달 컴포넌트 구현 #48

[TASK-84, TASK-85] feat, style: 상세 페이지 우측 버튼 그룹 및 관련 모달 컴포넌트 구현

[TASK-84, TASK-85] feat, style: 상세 페이지 우측 버튼 그룹 및 관련 모달 컴포넌트 구현 #48

Triggered via pull request January 26, 2025 15:04
Status Success
Total duration 1m 13s
Artifacts 1

qodana-code-review.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

17 errors, 25 warnings, and 15 notices
ESLint: src/types/collection.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/apis/collection/postCollectionAddArtwork.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/components/Modal/ShareModal.tsx#L1
ESLint: Install the 'eslint' package
ESLint: src/hooks/serverStateHooks/useToggleLike.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/apis/collection/postCreateCollection.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/hooks/serverStateHooks/usePostCollectionAddArtwork.tsx#L1
ESLint: Install the 'eslint' package
ESLint: src/hooks/serverStateHooks/usePostCreateCollection.tsx#L1
ESLint: Install the 'eslint' package
ESLint: src/apis/collection/getAllCollectionList.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/components/Modal/CreateCollectionModal.tsx#L1
ESLint: Install the 'eslint' package
ESLint: src/apis/artwork/postArtworkLike.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/apis/artwork/deleteArtworkLike.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/components/ArtworkDetailPage/ButtonGroup.tsx#L1
ESLint: Install the 'eslint' package
ESLint: src/components/Modal/CollectionModal/CreateCollectionUnit.tsx#L1
ESLint: Install the 'eslint' package
ESLint: src/hooks/serverStateHooks/useGetCollectionList.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/components/Modal/CollectionModal/CollectionUnit.tsx#L1
ESLint: Install the 'eslint' package
ESLint: src/utils/copyClipboard.ts#L1
ESLint: Install the 'eslint' package
ESLint: src/components/Modal/CollectionModal/index.tsx#L1
ESLint: Install the 'eslint' package
Exception used for local control-flow: src/apis/artwork/postArtworkLike.ts#L21
'throw' of exception caught locally
Exception used for local control-flow: src/utils/copyClipboard.ts#L8
'throw' of exception caught locally
Exception used for local control-flow: src/apis/artwork/deleteArtworkLike.ts#L19
'throw' of exception caught locally
qodana
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Constant conditional expression: src/components/Navbar/NavbarNoticeDetail/NoticeUnit.tsx#L6
`false ? ['bg-background-overlay', 'text-white', 'text-gray-300'] : ['bg-[##1B1A1D]', 'text-g...` can be simplified
Import can be shortened: src/types/buttons/OvalButtonProps.ts#L1
Import can be shortened
Exception used for local control-flow: src/apis/artwork/postArtworkLike.ts#L21
'throw' of exception caught locally
Exception used for local control-flow: src/apis/follow/postFollow.ts#L19
'throw' of exception caught locally
Exception used for local control-flow: src/utils/copyClipboard.ts#L8
'throw' of exception caught locally
Exception used for local control-flow: src/apis/artwork/deleteArtworkLike.ts#L19
'throw' of exception caught locally
Exception used for local control-flow: src/apis/follow/deleteFollow.ts#L21
'throw' of exception caught locally
Unused local symbol: src/mocks/handlers.ts#L61
Unused parameter request
Unused local symbol: src/mocks/handlers.ts#L16
Unused parameter request
Unused local symbol: src/mocks/handlers.ts#L26
Unused parameter request
Unused local symbol: src/app/auth/redirect/[provider]/page.tsx#L14
Unused constant isLoading
Unused local symbol: src/app/layout.tsx#L22
Unused parameter modal
Unused local symbol: src/components/Card/ArtistProfileCard.tsx#L24
Unused constant artworkImage
Redundant local variable: src/components/SocialSignInSection.tsx#L18
Local variable GOOGLE_AUTH_URL is redundant
Missing await for an async function call: public/mockServiceWorker.js#L43
Missing await for an async function call
Missing await for an async function call: public/mockServiceWorker.js#L134
Missing await for an async function call
Missing await for an async function call: public/mockServiceWorker.js#L131
Missing await for an async function call
Missing await for an async function call: public/mockServiceWorker.js#L63
Missing await for an async function call
Missing await for an async function call: public/mockServiceWorker.js#L89
Missing await for an async function call
Missing await for an async function call: public/mockServiceWorker.js#L50
Missing await for an async function call
Deprecated symbol used: next.config.ts#L5
Deprecated symbol used, consult docs for better alternative
Result of method call returning a promise is ignored: public/mockServiceWorker.js#L17
Promise returned from skipWaiting is ignored
Result of method call returning a promise is ignored: src/hooks/serverStateHooks/useToggleFollow.ts#L26
Promise returned from invalidateQueries is ignored
Referenced UMD global variable: src/stores/modalStore.ts#L12
Referenced UMD global variable
Vulnerable declared dependency: package.json#L31
Dependency npm:next:15.0.4 is vulnerable , safe version 15.1.2 * [GHSA-7m27-7ghc-44w9](https://osv.dev/vulnerability/GHSA-7m27-7ghc-44w9) 5.3 Next.js Allows a Denial of Service (DoS) with Server Actions Results powered by [Mend.io](https://www.mend.io/?utm_source=JetBrains)

Artifacts

Produced during runtime
Name Size
qodana-results
1.85 MB