cloudposse / cloudposse/github-commenter

Feature request: hiding (instead of editing/deleting) existing comment

Open
#45 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
112
Forks
17
PR merge metrics
No merged PRs in 30d

Description

## Describe the Feature

Being able to hide comments matching a regex, as an alternative to `delete-comment-regex` (or `edit-comment-regex` added in #26).

## Expected Behavior

Hiding existing comments, for example by using a `hide-comment-regex`.

## Use Case

Sometimes keeping old comments might make sense for historical/compliance reasons.

## Describe Ideal Solution

Not sure, open for thoughts.

## Alternatives Considered

1. `delete-comment-regex`
2. `edit-comment-regex` (added in #26)

But they don't keep the history in an equally accessible way.

## Additional Context

...

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing `delete-comment-regex` and `edit-comment-regex` behavior, then review the GitHub API support for hiding comments. Define the command interface and visibility semantics, including permissions and historical access; done means matching existing comments can be hidden without deleting or editing them.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, go
Domain
api, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.