Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lint issues #7786

Merged
merged 11 commits into from Jan 17, 2022
Merged

Fix lint issues #7786

merged 11 commits into from Jan 17, 2022

Conversation

haakemon
Copy link
Contributor

@haakemon haakemon commented Jan 10, 2022

Fix a bunch of eslint issues that cause lots of noise during development

This fixes many eslint issues, adds some more test coverage, and minor refactors to some components that were very outdated.
Some components are refactored a bit more, because of incorrect usage/depenencies for react hooks.

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)
  • All tests run green

@github-actions github-actions bot added area/receipt Area: Related to building and show receipts, summaries of an app (e.g. PDFs). solution/app-frontend The React app frontend for apps developed in Altinn Studio. labels Jan 10, 2022
@haakemon haakemon marked this pull request as ready for review January 11, 2022 15:44
@haakemon
Copy link
Contributor Author

@jeevananthank This PR contains some refactors, both in altinn-app-frontend and receipt. All tests pass, but not sure if there are any manual verification that should be done as well?

@jeevananthank
Copy link
Contributor

@jeevananthank This PR contains some refactors, both in altinn-app-frontend and receipt. All tests pass, but not sure if there are any manual verification that should be done as well?

i think it is fine to merge as long as the regression tests have run ok and there is no functional changes.

Copy link
Contributor

@lorang92 lorang92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicee

  • Bump app-frontend version before merging

Also, I noticed that some QA pipelines was not triggered, trying to run with /AzurePipelines run.
Assuming this is related to the other issues we had with azure devops.

@lorang92
Copy link
Contributor

/AzurePipelines run

@azure-pipelines
Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

@haakemon
Copy link
Contributor Author

/AzurePipelines run

@azure-pipelines
Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

@sonarcloud
Copy link

sonarcloud bot commented Jan 17, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

75.3% 75.3% Coverage
0.0% 0.0% Duplication

@haakemon haakemon merged commit 35b0cec into master Jan 17, 2022
@haakemon haakemon deleted the fix-lint-issues branch January 17, 2022 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/receipt Area: Related to building and show receipts, summaries of an app (e.g. PDFs). solution/app-frontend The React app frontend for apps developed in Altinn Studio.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants