filecoin-project / filecoin-project/boost

Add flag reason to flagged pieces in inspect

Open
#1,307 0 comments 0 reactions 0 assignees View on GitHub
area/indexing area/ui area/ux kind/enhancement
Dominant language
Go
Stars
121
Forks
79
Avg merge
10d 14h
Merged PRs (30d)
1

Description

## Summary
When a piece is flagged for an SP to review, it's not clear why (see screenshot below) it was flagged. We should include a reason when a piece is flagged so it's clearer what Action an SP should take to fix any potential problems. We should also ensure there's a clear way for SP's to mark flags as resolved or dismiss them if possible and not done automatically.

![image](https://user-images.githubusercontent.com/639834/226347122-94b6ce56-620d-4a3d-aaad-20f8501eb1b8.png)

Contributor guide

Open the contributing guide

Research direction

Start by locating the inspect view that renders flagged pieces and tracing how flag information reaches it. Clarify the supported flag reasons and the intended resolved or dismissed states before changing the display. Done means reviewers can understand why a piece was flagged and can resolve or dismiss it when that is not automatic.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devtools
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.