Repository navigation
feat: adiciona a área de cadastros do admin - #25
Quality Gate passed
Annotations
Check warning on line 201 in src/features/cadastros/historico/HistoricoPage.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-lQR_AIr62wLWFqU4&open=AaH-lQR_AIr62wLWFqU4&pullRequest=25
Check warning on line 40 in src/features/cadastros/referencias/Abas.tsx
sonarqubecloud / SonarCloud Code Analysis
Elements with the 'tablist' interactive role must be focusable.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH-lQSbAIr62wLWFqVi&open=AaH-lQSbAIr62wLWFqVi&pullRequest=25
Check warning on line 7 in src/api/historico.ts
sonarqubecloud / SonarCloud Code Analysis
Consider removing 'undefined' type or '?' specifier, one of them is redundant.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH-lQSlAIr62wLWFqVq&open=AaH-lQSlAIr62wLWFqVq&pullRequest=25
Check warning on line 75 in src/features/cadastros/estabelecimentos/EstabelecimentosPage.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-lQSJAIr62wLWFqU_&open=AaH-lQSJAIr62wLWFqU_&pullRequest=25
Check warning on line 106 in src/features/cadastros/CadastroDeVigencias.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-lQSMAIr62wLWFqVG&open=AaH-lQSMAIr62wLWFqVG&pullRequest=25
Check warning on line 103 in src/features/cadastros/usuarios/UsuariosPage.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-lQSXAIr62wLWFqVW&open=AaH-lQSXAIr62wLWFqVW&pullRequest=25
Check warning on line 111 in src/features/cadastros/capacidades/CapacidadesPage.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-lQSRAIr62wLWFqVM&open=AaH-lQSRAIr62wLWFqVM&pullRequest=25
Check warning on line 22 in src/features/cadastros/parametros/ParametrosPage.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-lQSeAIr62wLWFqVk&open=AaH-lQSeAIr62wLWFqVk&pullRequest=25
Check warning on line 135 in src/features/cadastros/usuarios/UsuariosPage.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-lQSXAIr62wLWFqVa&open=AaH-lQSXAIr62wLWFqVa&pullRequest=25
Check warning on line 135 in src/features/cadastros/capacidades/CapacidadesPage.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-lQSRAIr62wLWFqVN&open=AaH-lQSRAIr62wLWFqVN&pullRequest=25
Check warning on line 153 in src/features/cadastros/estabelecimentos/estabelecimentos.ts
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-lQSFAIr62wLWFqU9&open=AaH-lQSFAIr62wLWFqU9&pullRequest=25
Check warning on line 162 in src/features/cadastros/capacidades/CapacidadesPage.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-lQSRAIr62wLWFqVQ&open=AaH-lQSRAIr62wLWFqVQ&pullRequest=25
Check warning on line 15 in src/features/cadastros/usuarios/LinkDeAcesso.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-lQSSAIr62wLWFqVR&open=AaH-lQSSAIr62wLWFqVR&pullRequest=25
Check warning on line 81 in src/features/cadastros/referencias/AbaDeReferencia.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-lQSaAIr62wLWFqVf&open=AaH-lQSaAIr62wLWFqVf&pullRequest=25
Check warning on line 154 in src/features/cadastros/capacidades/CapacidadesPage.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-lQSRAIr62wLWFqVP&open=AaH-lQSRAIr62wLWFqVP&pullRequest=25
Check warning on line 132 in src/features/cadastros/estabelecimentos/estabelecimentos.ts
sonarqubecloud / SonarCloud Code Analysis
'valor' 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-lQSFAIr62wLWFqU8&open=AaH-lQSFAIr62wLWFqU8&pullRequest=25
Check warning on line 33 in src/features/cadastros/FormularioDeCampos.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-lQSjAIr62wLWFqVp&open=AaH-lQSjAIr62wLWFqVp&pullRequest=25
Check warning on line 34 in src/features/cadastros/usuarios/UsuariosPage.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-lQSXAIr62wLWFqVV&open=AaH-lQSXAIr62wLWFqVV&pullRequest=25
Check warning on line 25 in src/features/cadastros/Confirmacao.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-lQSgAIr62wLWFqVl&open=AaH-lQSgAIr62wLWFqVl&pullRequest=25
Check warning on line 21 in src/test/apiFalsa.ts
sonarqubecloud / SonarCloud Code Analysis
Review this async function: it has no await expression.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH-lQS8AIr62wLWFqVw&open=AaH-lQS8AIr62wLWFqVw&pullRequest=25
Check warning on line 181 in src/features/cadastros/capacidades/CapacidadesPage.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-lQSRAIr62wLWFqVO&open=AaH-lQSRAIr62wLWFqVO&pullRequest=25
Check warning on line 24 in src/features/cadastros/campos.ts
sonarqubecloud / SonarCloud Code Analysis
Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH-lQR9AIr62wLWFqUy&open=AaH-lQR9AIr62wLWFqUy&pullRequest=25
Check warning on line 29 in src/features/cadastros/usuarios/UsuarioFormulario.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-lQSTAIr62wLWFqVT&open=AaH-lQSTAIr62wLWFqVT&pullRequest=25
Check warning on line 52 in src/features/cadastros/usuarios/usuarios.ts
sonarqubecloud / SonarCloud Code Analysis
Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.
See more on https://sonarcloud.io/project/issues?id=pedrob21_OTO-Project-Front&issues=AaH-lQSVAIr62wLWFqVU&open=AaH-lQSVAIr62wLWFqVU&pullRequest=25
Check warning on line 40 in src/app/layout/NavMenu.tsx
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=pedrob21_OTO-Project-Front&issues=AaH-lQS6AIr62wLWFqVu&open=AaH-lQS6AIr62wLWFqVu&pullRequest=25