-
Notifications
You must be signed in to change notification settings - Fork 363
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Extend LogViewer to support scrollable search (#10005)
- Loading branch information
Showing
9 changed files
with
902 additions
and
27 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
:orphan: | ||
|
||
**Improvements** | ||
|
||
- Logs: Add a seperate pane for log search results, and clicking on the search result would bring | ||
user to the position of the log, where user can view the logs before and after. Also enables | ||
searching with Regex. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
.options { | ||
border-bottom: var(--theme-stroke-width) solid var(--theme-stage-border); | ||
margin-bottom: var(--spacing-md); | ||
padding-block: var(--spacing-md); | ||
} | ||
.base { | ||
background-color: var(--theme-stage); | ||
color: var(--theme-stage-on); | ||
position: relative; | ||
|
||
.logs { | ||
display: flex; | ||
flex-direction: column; | ||
font-family: var(--theme-font-family-code); | ||
font-size: 12px; | ||
height: 100%; | ||
min-height: 150px; | ||
overflow-y: auto; | ||
padding: var(--spacing-md); | ||
|
||
& > div { | ||
flex: 1; | ||
} | ||
} | ||
.buttons { | ||
bottom: var(--spacing-xl-3); | ||
display: flex; | ||
flex-direction: column; | ||
gap: var(--spacing-lg); | ||
position: absolute; | ||
right: var(--spacing-xl-3); | ||
|
||
button { | ||
background-color: var(--theme-float); | ||
border-color: var(--theme-float-border); | ||
box-shadow: var(--theme-elevation); | ||
color: var(--theme-float-on); | ||
transition: opacity 0.2s linear; | ||
user-select: none; | ||
} | ||
} | ||
} |
Oops, something went wrong.