CATcher-org / CATcher-org/WATcher

Hiding labels do not work as expected

Open
#240 5 comments 0 reactions 0 assignees View on GitHub
category.Bug good first issue s.ToDiscuss
Dominant language
TypeScript
Stars
10
Forks
39
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When hiding a label, from the dropdown on the top right corner, only the labels are hidden, but not the related issues & PRs.

**To Reproduce**

1. Open any repository with active labels.
2. Click on hiding any label.

**Expected behavior**
It should hide the issues & PRs that have the label. The current behaviour is that only the label becomes hidden, but not the related issues & PRs.

I think it makes more sense that when a user clicks on hiding a label, the user wants to hide the relevant issues & PRs with the label.

**Screenshots**

![image](https://github.com/CATcher-org/WATcher/assets/87511888/884a8fb6-b22b-40fb-858e-f1f3d68cd6ec)

After hiding the label `difficulty.Easy`:

![image](https://github.com/CATcher-org/WATcher/assets/87511888/b4d39df5-bab7-457b-a788-d945ad904668)

**Desktop (please complete the following information):**

- OS: Windows 10
- Browser Chrome
- Version 1.1.0

**Additional context**
As discussed in #230

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue from the repository's label-hiding dropdown using the steps in the report, then trace the label filtering entry point in the frontend. Confirm how hidden labels currently affect labels versus issues and pull requests. Done means hiding a label also removes related issues and pull requests from the displayed results, with the existing behavior checked against the report.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.