This repository has been archived by the owner on Apr 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 301
Notifications #365
Merged
Merged
Notifications #365
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
7360ebf
First version of notifications log
FrigoEU e40cac5
Adds showing and hiding of notifications panel
FrigoEU 7b28658
Refactored logs in NeovimInstance and alert in Config to notifications
FrigoEU e7c0bf3
Rename notifications to logs
FrigoEU c91eb30
Improves styling of long stack traces and extracts variables to commo…
FrigoEU f172c15
Removes example logs
FrigoEU 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
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
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
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
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,6 @@ | ||
export type LogType = "success" | "info" | "warning" | "error" | "fatal" | ||
export interface ILog { | ||
type: LogType | ||
message: string | ||
details: string[] | null | ||
} |
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
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,75 @@ | ||
@import (reference) "./common.less"; | ||
|
||
.logs { | ||
background: @background-color; | ||
position: fixed; | ||
width: 100%; | ||
bottom: 0px; | ||
font-size: 13px; | ||
|
||
display: block; | ||
overflow-x: hidden; | ||
overflow-y: auto; | ||
|
||
table { | ||
width: 100%; | ||
border-spacing: 0px; | ||
border-collapse: collapse; | ||
table-layout: fixed; | ||
td{ | ||
border: 1px solid @border-color; | ||
} | ||
} | ||
|
||
.log-unfold-icon{ | ||
color: @text-color; | ||
margin-left: @component-padding/2; | ||
} | ||
|
||
.logs-header, .log-details-cell{ | ||
background-color: @background-color-lighter; | ||
color: @text-color; | ||
padding: @component-padding/2 @component-padding; | ||
border-top: 1px solid @border-color; | ||
} | ||
.log-details{ | ||
max-width: 100%; | ||
overflow-x: auto; | ||
} | ||
.logs-header-close { | ||
position: absolute; | ||
right: @component-padding; | ||
} | ||
|
||
.log-icon{ | ||
width: 30px; | ||
height: 100%; | ||
text-align: center; | ||
padding-top: @component-padding/2; | ||
} | ||
.log-message{ | ||
padding: @component-padding/2 @component-padding; | ||
outline: none; | ||
} | ||
|
||
.log-detail-line { | ||
white-space: pre; | ||
} | ||
|
||
.clickable{ | ||
cursor: pointer; | ||
} | ||
|
||
.log-fatal, .log-error { | ||
color: @text-color-error; | ||
} | ||
.log-success { | ||
color: @text-color-success; | ||
} | ||
.log-info { | ||
color: @text-color-info; | ||
} | ||
.log-warning { | ||
color: @text-color-warning; | ||
} | ||
} |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for hooking these up to the new logging infrastructure