Skip to content

Task/270/log in using google auth/implement frontend#22

Closed
InnetaSh wants to merge 10 commits into
devfrom
task/270/LogIn-using-Google-Auth/Implement-frontend
Closed

Task/270/log in using google auth/implement frontend#22
InnetaSh wants to merge 10 commits into
devfrom
task/270/LogIn-using-Google-Auth/Implement-frontend

update goodle login + add secret key

f956b06
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 16, 2026 in 56s

Quality Gate failed

Failed conditions
2 Security Hotspots
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 1 in src/features/StreetcodePage/Comments/CommentDrawerContainer.styles.scss

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Empty source

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTo05m6NRVhQ0YXeA&open=AZ7RTo05m6NRVhQ0YXeA&pullRequest=22

Check warning on line 88 in src/features/AdminPage/ArtGallery/components/TemplateGrid/TemplateGrid.styles.scss

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Duplicate property "transition"

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTozXm6NRVhQ0YXd6&open=AZ7RTozXm6NRVhQ0YXd6&pullRequest=22

Check warning on line 82 in src/app/stores/tags-store.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTo2Qm6NRVhQ0YXeD&open=AZ7RTo2Qm6NRVhQ0YXeD&pullRequest=22

Check warning on line 32 in src/app/common/components/modals/EditImageModal/TemplatesModal.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Avoid non-native interactive elements. If using native HTML is not possible, add an appropriate role and support for tabbing, mouse, keyboard, and touch inputs to an interactive content element.

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTo3jm6NRVhQ0YXeJ&open=AZ7RTo3jm6NRVhQ0YXeJ&pullRequest=22

Check warning on line 59 in src/app/stores/image-template-store.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTo2im6NRVhQ0YXeF&open=AZ7RTo2im6NRVhQ0YXeF&pullRequest=22

Check warning on line 4 in src/features/AdminPage/ArtGallery/components/ImageGallery/ImageCard.styles.scss

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Duplicate property "position"

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RToy8m6NRVhQ0YXdz&open=AZ7RToy8m6NRVhQ0YXdz&pullRequest=22

Check warning on line 18 in src/features/AdminPage/ArtGallery/components/Carousel/TemplateCard.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Avoid non-native interactive elements. If using native HTML is not possible, add an appropriate role and support for tabbing, mouse, keyboard, and touch inputs to an interactive content element.

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTozSm6NRVhQ0YXd5&open=AZ7RTozSm6NRVhQ0YXd5&pullRequest=22

Check warning on line 86 in src/features/StreetcodePage/TimelineBlock/TimelineSwiper/TimelineSwiper.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `.at(…)` over `[….length - index]`.

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTo1Tm6NRVhQ0YXeB&open=AZ7RTo1Tm6NRVhQ0YXeB&pullRequest=22

Check warning on line 34 in src/features/AdminPage/ArtGallery/components/ImageGallery/ImageCard.styles.scss

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Text does not meet the minimal contrast requirement with its background.

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RToy8m6NRVhQ0YXdy&open=AZ7RToy8m6NRVhQ0YXdy&pullRequest=22

Check warning on line 8 in src/features/AdminPage/ArtGallery/hooks/useArtGallery.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected the Promise rejection reason to be an Error.

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RToywm6NRVhQ0YXdw&open=AZ7RToywm6NRVhQ0YXdw&pullRequest=22

Check warning on line 160 in src/features/AdminPage/PartnersPage/Partners.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'link.targetUrl' will use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTowfm6NRVhQ0YXdu&open=AZ7RTowfm6NRVhQ0YXdu&pullRequest=22

Check warning on line 102 in src/features/AdminPage/ArtGallery/components/Carousel/SavedTemplatesCarousel.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not use Array index in keys

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTozIm6NRVhQ0YXd3&open=AZ7RTozIm6NRVhQ0YXd3&pullRequest=22

Check warning on line 23 in src/features/AdminPage/ForFansPage/ForFansPage/CategoryAdminModal.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless assignment to variable "image".

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTozom6NRVhQ0YXd-&open=AZ7RTozom6NRVhQ0YXd-&pullRequest=22

Check warning on line 14 in src/index.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since the receiver accepts the original type of the expression.

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTo5pm6NRVhQ0YXeN&open=AZ7RTo5pm6NRVhQ0YXeN&pullRequest=22

Check warning on line 341 in src/features/AdminPage/ArtGallery/ArtGallery.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTozem6NRVhQ0YXd9&open=AZ7RTozem6NRVhQ0YXd9&pullRequest=22

Check warning on line 80 in src/app/stores/image-store.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTo3bm6NRVhQ0YXeG&open=AZ7RTo3bm6NRVhQ0YXeG&pullRequest=22

Check warning on line 4 in src/features/AdminPage/ArtGallery/components/Carousel/TemplateCard.styles.scss

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Duplicate property "position"

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTozOm6NRVhQ0YXd4&open=AZ7RTozOm6NRVhQ0YXd4&pullRequest=22

Check warning on line 124 in src/app/stores/image-store.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Member 'transformToImage' is never reassigned; mark it as `readonly`.

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTo3bm6NRVhQ0YXeI&open=AZ7RTo3bm6NRVhQ0YXeI&pullRequest=22

Check warning on line 45 in src/app/stores/sources-store.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTo2cm6NRVhQ0YXeE&open=AZ7RTo2cm6NRVhQ0YXeE&pullRequest=22

Check warning on line 27 in src/features/AdminPage/ArtGallery/components/ImageGallery/AddButtonCard.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Avoid non-native interactive elements. If using native HTML is not possible, add an appropriate role and support for tabbing, mouse, keyboard, and touch inputs to an interactive content element.

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTozBm6NRVhQ0YXd1&open=AZ7RTozBm6NRVhQ0YXd1&pullRequest=22

Check warning on line 137 in src/features/AdminPage/TeamPage/TeamPage.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'link.targetUrl' will use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTo0wm6NRVhQ0YXd_&open=AZ7RTo0wm6NRVhQ0YXd_&pullRequest=22

Check warning on line 2 in src/app/layout/footer/Footer.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'useEffect'.

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTo33m6NRVhQ0YXeL&open=AZ7RTo33m6NRVhQ0YXeL&pullRequest=22

Check warning on line 18 in src/index.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTo5pm6NRVhQ0YXeO&open=AZ7RTo5pm6NRVhQ0YXeO&pullRequest=22

Check warning on line 35 in src/features/AdminPage/ArtGallery/ArtGallery.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless assignment to variable "loading".

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTozem6NRVhQ0YXd7&open=AZ7RTozem6NRVhQ0YXd7&pullRequest=22

Check warning on line 32 in src/app/common/components/modals/EditImageModal/TemplatesModal.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Visible, non-interactive elements with click handlers must have at least one keyboard listener.

See more on https://sonarcloud.io/project/issues?id=project-studying-dotnet_Streetcode-Client-May2026&issues=AZ7RTo3jm6NRVhQ0YXeK&open=AZ7RTo3jm6NRVhQ0YXeK&pullRequest=22