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
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* First version of notifications log * Adds showing and hiding of notifications panel * Refactored logs in NeovimInstance and alert in Config to notifications * Rename notifications to logs * Improves styling of long stack traces and extracts variables to common.less * Removes example logs
- Loading branch information
Showing
13 changed files
with
377 additions
and
14 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
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.