-
Notifications
You must be signed in to change notification settings - Fork 27
Add regexp mode to system logs search #1272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from 33 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
f6f21fb
refactor(api-server): use struct instead of json string for logs action
stephdl 86f621f
feat(api-server): add regexp field to LogsStartAction
stephdl ea1eba9
fix(socket): report logcli errors instead of dropping them
stephdl 41ba333
docs(api-server): document instance and regexp filter params
stephdl 08f2f91
feat(i18n): add regexp search and log lines count strings
stephdl 0e76e8d
fix(LogHighlightMark): support RegExp searchTerm for exact-match high…
stephdl cef204c
fix(system-logs): allow RegExp for highlight prop and grow scrollbar …
stephdl f6a39de
feat(system-logs): add regexp search and query error feedback
stephdl 6498aa7
feat(system-logs): replace filter menu with toggle buttons and stacke…
stephdl f97df0a
fix(system-logs): replace regexp tooltip with inline hint and add sub…
stephdl bbd222f
feat(system-logs): add a worker to locate search matches off the main…
stephdl a775249
refactor(LogHighlightMark): render precomputed match offsets
stephdl af9cc4d
fix(system-logs): render one mark per line and bound the highlight cost
stephdl 6557971
feat(i18n): add the strings for the unavailable-highlight notice
stephdl 2d77e1f
fix(system-logs): hide the timezone field in follow mode
stephdl 4b839d7
fix(system-logs): translate the invalid regexp error
stephdl 7e2af90
fix(system-logs): move the query error notice below the search button
stephdl 7278244
docs(api-server): list the instance and regexp flags in the CLI help
stephdl 926d565
fix(socket): report a logcli exit caused by an unexpected signal
stephdl 25689ae
fix(i18n): quote the regexp hint examples
stephdl 0897698
fix(system-logs): stop restarting a highlight worker that already gav…
stephdl 4253b5c
docs(api-server): align the logs help block with the actual output
stephdl 4d01b4e
fix(system-logs): keep the highlight notice out of substring searches
stephdl 7cf9a2b
feat(system-logs): tell when the browser cannot run the search pattern
stephdl d401c95
perf(system-logs): build the highlighted line as markup
stephdl 66cf23f
fix(system-logs): drop the highlight notice when the search found not…
stephdl 1c4c8c7
fix(system-logs): fill the mark budget from the end of the buffer
stephdl f2065a4
fix(socket): raise the websocket message limit above a search payload
stephdl d751a27
docs(system-logs): trim the comments to what the code cannot say
stephdl 96e2425
revert(system-logs): drop match highlighting in regexp mode
stephdl 1890449
fix(socket): print a failed logs query once on the CLI
stephdl 975657f
fix(system-logs): follow mode shows timestamps in the browser timezone
stephdl f228fd9
fix(i18n): keep the regexp helper text about the syntax only
stephdl 1b014f2
refactor(system-logs): report a query failure as log text
DavidePrincipi 0977d99
fix(socket): send logcli errors to the log output
DavidePrincipi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.