Repository navigation
feat: add a hide-pinned flag to docs search - #772
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #772 +/- ##
==========================================
+ Coverage 78.95% 78.98% +0.02%
==========================================
Files 241 241
Lines 18365 18371 +6
==========================================
+ Hits 14501 14511 +10
+ Misses 3864 3860 -4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
mwbrooks
marked this pull request as ready for review
November 11, 2026 05:16
Contributor
|
Is there a way to tell if the user already has the plugin? I'm thinking that we'd still want it to come in at the top of the search for users who don't have it. If not, that's ok! |
Member
Author
|
@haleychaas The CLI can't tell, so it keeps the pin by default. Only the |
Member
Author
|
Thanks @zimeg for the review and @haleychaas for checking that people without the plugin still see it first! 🙇 |
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 free
to 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.
Changelog
New
--hide-pinnedflag onslack docs searchleaves out the pages docs.slack.dev pins to the top of some searches.Summary
This pull request adds a
--hide-pinnedflag toslack docs search, so coding agents that already have the Slack MCP and Skills Plugin can leave out the plugin page that docs.slack.dev is starting to pin to the top of searches about coding agents.pin=false.slack-docsskill already sendspin=falsewhen it calls the API directly (fix: leave the docs search pin out of slack-docs searches slack-skills-plugin#215). It will pass--hide-pinnedonce it starts usingslack docs search.Testing
slack docs search "mcp" --category=guides --hide-pinned --output=jsonand confirm it returns results. The API ignorespin=falseuntil the docs.slack.dev change deploys.slack docs search --helpand confirm the flag and its example.Notes
--hide-pinnedor--hide-pin?--hide-pinnednames the results you see, so the CLI doesn't depend on the API'spinparameter name.--hide-pinmatches that parameter. I lean toward--hide-pinned, and Codex's review agreed, but I'd like your take.--output=browseropens the site's search page, which has its own pin behaviour.Requirements