Skip to content

Show matching config snippets in search results - #448

Open
bpbp-boop wants to merge 3 commits into
ytti:masterfrom
bpbp-boop:conf-search-snippets
Open

Show matching config snippets in search results#448
bpbp-boop wants to merge 3 commits into
ytti:masterfrom
bpbp-boop:conf-search-snippets

Conversation

@bpbp-boop

Copy link
Copy Markdown

Pre-Request Checklist

  • Passes rubocop code analysis (try rubocop --auto-correct)
  • Tests added or adapted (try rake test)
  • Changes are reflected in the documentation
  • User-visible changes appended to CHANGELOG.md

Description

Config search now returns each matching line with two lines of context, line numbers and highlighted matches. The results page gets its own search form with an option to disable regex matching (regex remains the default). Invalid regexes return 400 instead of crashing.

image

Config search now returns each matching line with two lines of
context, line numbers and highlighted matches. The results page
gets its own search form with an option to disable regex matching
(regex remains the default). Invalid regexes return 400 instead
of crashing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant