MaddyUnderStars / MaddyUnderStars/shoot

Allow unblocking

Open
#95 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

  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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.