code-corps / code-corps/code-corps-ember

Cleanup: Partial code duplication related to finding current user's project membership

Open
#1,151 0 comments 0 reactions 0 assignees View on GitHub
Difficulty: Medium
Dominant language
JavaScript
Stars
120
Forks
75
PR merge metrics
No merged PRs in 30d

Description

# Problem

The following files have a minor amount of code duplication:

```
components/project-details.js
abilities/task.js
abilities/project.js
```

The code is not identical in all 3 cases, but is quite similar and is related to finding the current user's membership in a project.

It's not urgent, but we should look into ways of eliminating it.

Depending on how we deal with #1150, this might not end up being an issue at all.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.