Repository navigation
feat: adiciona o inventário do admin - #30
Quality Gate passed
Annotations
Check warning on line 173 in src/features/inventario/EditorDeInventario.tsx
sonarqubecloud / SonarCloud Code Analysis
Use <output> instead of the "status" role to ensure accessibility across all devices.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_m_OpMOjdVvYTGoJi&open=AaH_m_OpMOjdVvYTGoJi&pullRequest=30
Check warning on line 29 in src/features/inventario/EditorDeInventario.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_m_OpMOjdVvYTGoJf&open=AaH_m_OpMOjdVvYTGoJf&pullRequest=30
Check warning on line 20 in src/features/estabelecimento/MeuEstabelecimentoPage.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_xb5qyQVRiaVp3dvF&open=AaH_xb5qyQVRiaVp3dvF&pullRequest=30
Check warning on line 190 in src/features/cadastros/inventario/InventarioPage.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_m_JTMOjdVvYTGoJb&open=AaH_m_JTMOjdVvYTGoJb&pullRequest=30
Check warning on line 194 in src/features/estabelecimento/MeuEstabelecimentoCard.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_xb5dyQVRiaVp3dvE&open=AaH_xb5dyQVRiaVp3dvE&pullRequest=30
Check warning on line 74 in src/features/estabelecimento/MeuEstabelecimentoCard.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_xb5dyQVRiaVp3dvB&open=AaH_xb5dyQVRiaVp3dvB&pullRequest=30
Check warning on line 36 in src/features/cadastros/inventario/GrupoDoCatalogo.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_m_OmMOjdVvYTGoJc&open=AaH_m_OmMOjdVvYTGoJc&pullRequest=30
Check warning on line 71 in src/features/estabelecimento/MeuEstabelecimentoPage.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_xb5qyQVRiaVp3dvH&open=AaH_xb5qyQVRiaVp3dvH&pullRequest=30
Check warning on line 96 in src/features/estabelecimento/CapacidadeDoEstabelecimento.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_xb50yQVRiaVp3dvK&open=AaH_xb50yQVRiaVp3dvK&pullRequest=30
Check warning on line 39 in src/features/estabelecimento/MeuEstabelecimentoCard.tsx
sonarqubecloud / SonarCloud Code Analysis
'bruto' will use Object's default stringification format ('[object Object]') when stringified.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_xb5dyQVRiaVp3du9&open=AaH_xb5dyQVRiaVp3du9&pullRequest=30
Check warning on line 90 in src/features/cadastros/inventario/GrupoDoCatalogo.tsx
sonarqubecloud / SonarCloud Code Analysis
Move this component definition out of the parent component and pass data as props.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_m_OmMOjdVvYTGoJe&open=AaH_m_OmMOjdVvYTGoJe&pullRequest=30
Check warning on line 228 in src/features/cadastros/estabelecimentos/estabelecimentos.ts
sonarqubecloud / SonarCloud Code Analysis
Provide multiple methods instead of using "somenteDados" to determine which action to take.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_xb4dyQVRiaVp3du7&open=AaH_xb4dyQVRiaVp3du7&pullRequest=30
Check warning on line 131 in src/features/estabelecimento/MeuEstabelecimentoCard.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_xb5dyQVRiaVp3dvC&open=AaH_xb5dyQVRiaVp3dvC&pullRequest=30
Check warning on line 86 in src/features/inventario/EditorDeInventario.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_m_OpMOjdVvYTGoJg&open=AaH_m_OpMOjdVvYTGoJg&pullRequest=30
Check warning on line 40 in src/features/estabelecimento/MeuEstabelecimentoCard.tsx
sonarqubecloud / SonarCloud Code Analysis
'bruto' will use Object's default stringification format ('[object Object]') when stringified.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_xb5dyQVRiaVp3du-&open=AaH_xb5dyQVRiaVp3du-&pullRequest=30
Check warning on line 71 in src/features/estabelecimento/MeuEstabelecimentoPage.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_xb5qyQVRiaVp3dvG&open=AaH_xb5qyQVRiaVp3dvG&pullRequest=30
Check warning on line 32 in src/features/estabelecimento/CapacidadeDoEstabelecimento.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_xb50yQVRiaVp3dvI&open=AaH_xb50yQVRiaVp3dvI&pullRequest=30
Check warning on line 34 in src/features/estabelecimento/MeuEstabelecimentoCard.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_xb5dyQVRiaVp3du8&open=AaH_xb5dyQVRiaVp3du8&pullRequest=30
Check failure on line 145 in src/features/inventario/EditorDeInventario.tsx
sonarqubecloud / SonarCloud Code Analysis
Refactor this code to not nest functions more than 5 levels deep.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_m_OpMOjdVvYTGoJh&open=AaH_m_OpMOjdVvYTGoJh&pullRequest=30
Check warning on line 87 in src/features/estabelecimento/CapacidadeDoEstabelecimento.tsx
sonarqubecloud / SonarCloud Code Analysis
Refactor this code to not use nested template literals.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_xb50yQVRiaVp3dvL&open=AaH_xb50yQVRiaVp3dvL&pullRequest=30
Check warning on line 48 in src/features/cadastros/inventario/GrupoDoCatalogo.tsx
sonarqubecloud / SonarCloud Code Analysis
Move this component definition out of the parent component and pass data as props.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_m_OmMOjdVvYTGoJd&open=AaH_m_OmMOjdVvYTGoJd&pullRequest=30
Check warning on line 74 in src/features/estabelecimento/CapacidadeDoEstabelecimento.tsx
sonarqubecloud / SonarCloud Code Analysis
Use <output> instead of the "status" role to ensure accessibility across all devices.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_xb50yQVRiaVp3dvJ&open=AaH_xb50yQVRiaVp3dvJ&pullRequest=30
Check warning on line 147 in src/features/cadastros/inventario/InventarioPage.tsx
sonarqubecloud / SonarCloud Code Analysis
Use <output> instead of the "status" role to ensure accessibility across all devices.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_m_JTMOjdVvYTGoJa&open=AaH_m_JTMOjdVvYTGoJa&pullRequest=30
Check warning on line 52 in src/features/estabelecimento/MeuEstabelecimentoCard.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_xb5dyQVRiaVp3dvA&open=AaH_xb5dyQVRiaVp3dvA&pullRequest=30
Check warning on line 174 in src/features/estabelecimento/MeuEstabelecimentoCard.tsx
sonarqubecloud / SonarCloud Code Analysis
Use <output> instead of the "status" role to ensure accessibility across all devices.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH_xb5dyQVRiaVp3dvD&open=AaH_xb5dyQVRiaVp3dvD&pullRequest=30