Uh oh!
There was an error while loading. Please reload this page.
Add ignore and stop-ignoring actions - #176
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds CLI and TUI actions for ignoring threads through the typed SDK mute operations.
Changes:
- Adds bulk
ignoreandstop-ignoringcommands. - Adds contextual TUI shortcuts, state labels, and explicit action effects.
- Updates documentation, metadata, and tests.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
.surface | Adds commands to the public surface. |
API-COVERAGE.md | Documents mute API coverage. |
README.md | Documents CLI and TUI actions. |
skills/hey/SKILL.md | Adds ignore workflows and triggers. |
internal/cmd/help.go | Lists the new commands. |
internal/cmd/help_test.go | Updates help expectations. |
internal/cmd/ignore.go | Implements bulk ignoring. |
internal/cmd/ignore_test.go | Tests both CLI commands. |
internal/cmd/root.go | Registers the commands. |
internal/cmd/stop_ignoring.go | Implements bulk stop-ignoring. |
internal/tui/content.go | Labels ignored threads. |
internal/tui/mail.go | Adds TUI actions and effects. |
internal/tui/mail_test.go | Tests TUI behavior. |
tests/smoke/ignore_test.go | Adds end-to-end state validation. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Uh oh!
There was an error while loading. Please reload this page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
hey ignore <id>...andhey stop-ignoring <id>...commands-Ignore and+Stop Ignoring shortcuts[Ignored], and offer the context-appropriate reversal actionValidation
make checkmake race-testmutedchanged to true and then returned to false-and+; verified the row stayed visible,[Ignored]and contextual help rendered, and the account state was restoredThe HEY web UI labels these actions “Ignore” and “Stop Ignoring”; mute/unmute remains only the underlying SDK/API terminology.
Summary by cubic
Add ignore and stop-ignoring actions in CLI and TUI to match HEY’s web UI. Previously “-” muted a thread and removed it; now “-” ignores the thread but keeps it visible with “[Ignored]”, and “+” stops ignoring.
hey ignore <id>...andhey stop-ignoring <id>...backed by SDK mute/unmute; requires at least one box item ID; returns concise JSON summaries; curated help, README,.surface, andskills/heyupdated./postings/mutings.jsonPOST/DELETE coverage; adds command unit tests and TUI tests for effects; adds a smoke test that asserts ignored threads remain visible and verifies summaries and state transitions.Written for commit bcd7073. Summary will update on new commits.