MaddyUnderStars / MaddyUnderStars/shoot
Allow unblocking
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 61
- Forks
- 5
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 1
Description
There is no current way to unblock a user.
The way blocks are modeled does not allow this to be done very well either, unfortunately. There is no way to restore a relationship to it's pre-blocked state because that state gets overwritten by the block state.
Instead, blocks should be a flag on the relationship i.e. `from_blocked`, `to_blocked` bools. The queries shouldn't change much to accommodate
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the relationship and block model, then inspect the queries that handle blocked relationships. Done means a user can be unblocked and the relationship returns to its pre-blocked state without breaking those queries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100