Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#1,151 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Read components/project-details.js, abilities/task.js, and abilities/project.js, then compare how each finds the current user's project membership. Review issue #1150 before deciding whether this work is still needed; done means the duplicated logic is reduced without changing membership behavior.

Written by the indexing model from the issue text.

Description

Difficulty: Medium

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.

Dominant language
JavaScript
Stars
120
Forks
75
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from code-corps/code-corps-ember

All issues in code-corps/code-corps-ember

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.