Skip to content

Commit

Permalink
feat: Document "Fix issues" button (#2116)
Browse files Browse the repository at this point in the history
* feat: Document "Fix issues" button

* feat: Apply suggestions from review

Co-authored-by: Cláudia Carpinteiro <[email protected]>

* feat: Apply review feedback and add screenshots

---------

Co-authored-by: Cláudia Carpinteiro <[email protected]>
  • Loading branch information
nicklem and claudiacarpinteiro authored May 30, 2024
1 parent 22fba06 commit 3e39dd6
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions docs/repositories/issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ To restore an ignored issue, select **Unignore issue** from the options menu:

![Restoring an ignored issue](images/issues-unignore.png)

## Fixing issues automatically

!!! info "This section applies to GitHub repositories only"

If Codacy detects code patterns that have suggested fixes, a **Fix issues** button appears above the issue list. Click this button to open a pull request including the suggested fixes and targeting the selected branch.

![Fix issues button](images/issues-fix-issues-button.png)

## See also

- [Which metrics does Codacy calculate?](../faq/code-analysis/which-metrics-does-codacy-calculate.md)
Expand Down
8 changes: 8 additions & 0 deletions docs/repositories/pull-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ Click a specific commit to see [detailed information about that commit](commits.

![Commits tab](images/pull-requests-tab-commits.png)

## Fixing issues automatically

!!! info "This section applies to GitHub repositories only"

If Codacy detects code patterns that have suggested fixes, a **Fix issues** button appears above the issue list. Click this button to commit the suggested fixes to the pull request.

![Fix issues button](images/issues-fix-issues-button.png)

## See also

- [Which metrics does Codacy calculate?](../faq/code-analysis/which-metrics-does-codacy-calculate.md)
2 changes: 2 additions & 0 deletions docs/repositories/repository-dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ The **Issues breakdown** area displays the total number of issues found on the s

Click **See all issues** to see the full [list of issues](issues.md) found, or click a category to see the issues in that category.

If Codacy detects code patterns that have suggested fixes, a **Fix issues** button appears below the total issue count. Click this button to open a pull request including the suggested fixes and targeting the selected branch.

![Issues breakdown](images/repository-dashboard-issues-breakdown.png)

## Coverage
Expand Down

0 comments on commit 3e39dd6

Please sign in to comment.