Skip to content
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

chore: remove extraneous console log from debug plugin #2290

Merged
merged 3 commits into from
Mar 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// Licensed under the MIT License.
// @skip-file-minify

import { getIEVersion } from "@microsoft/applicationinsights-core-js";

const BG_INFO = "#F0F6FF",
BG_ERROR = "#FEF0F1",
ICON_ERROR = "#E00B1C",
Expand All @@ -15,8 +13,6 @@
BORDER_GREY_160 = "1px solid #605E5C",
BORDER_GREY_60 = "1px solid #B3B0AD";

console.log(getIEVersion());

export const tempStyle = (prefix: string) => `
.${prefix}-dbg-lgr-dashboard {
z-index: 1000
Expand Down Expand Up @@ -57,7 +53,7 @@
font-family: monospace;
font-size: 16px;
overflow-y: scroll;
overflow-x: ${(getIEVersion()) ? "scroll" : "hidden"};

Check failure on line 56 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (14)

Cannot find name 'getIEVersion'.

Check failure on line 56 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (16)

Cannot find name 'getIEVersion'.

Check failure on line 56 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (18)

Cannot find name 'getIEVersion'.

Check failure on line 56 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (20)

Cannot find name 'getIEVersion'.
border: ${BORDER_GREY_160};
border-radius: 2px;
}
Expand All @@ -66,7 +62,7 @@
outline: 2px solid black;
}

${getIEVersion() && getIEVersion() < 9

Check failure on line 65 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (14)

Cannot find name 'getIEVersion'.

Check failure on line 65 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (14)

Cannot find name 'getIEVersion'.

Check failure on line 65 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (16)

Cannot find name 'getIEVersion'.

Check failure on line 65 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (16)

Cannot find name 'getIEVersion'.

Check failure on line 65 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (18)

Cannot find name 'getIEVersion'.

Check failure on line 65 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (18)

Cannot find name 'getIEVersion'.

Check failure on line 65 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (20)

Cannot find name 'getIEVersion'.

Check failure on line 65 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (20)

Cannot find name 'getIEVersion'.
? ""
: `.${prefix}-dbg-lgr .tree-root div::before {
content: '';
Expand Down Expand Up @@ -111,7 +107,7 @@
background-color: ${TEXT_MATCHED};
}

${getIEVersion() && getIEVersion() < 9

Check failure on line 110 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (14)

Cannot find name 'getIEVersion'.

Check failure on line 110 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (14)

Cannot find name 'getIEVersion'.

Check failure on line 110 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (16)

Cannot find name 'getIEVersion'.

Check failure on line 110 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (16)

Cannot find name 'getIEVersion'.

Check failure on line 110 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (18)

Cannot find name 'getIEVersion'.

Check failure on line 110 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (18)

Cannot find name 'getIEVersion'.

Check failure on line 110 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (20)

Cannot find name 'getIEVersion'.

Check failure on line 110 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (20)

Cannot find name 'getIEVersion'.
? ""
: `.${prefix}-dbg-lgr .expandable.open::before {
content: '[-] ';
Expand Down Expand Up @@ -218,7 +214,7 @@
border-radius: 2px;
}

${getIEVersion() && getIEVersion() < 9

Check failure on line 217 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (14)

Cannot find name 'getIEVersion'.

Check failure on line 217 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (14)

Cannot find name 'getIEVersion'.

Check failure on line 217 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (16)

Cannot find name 'getIEVersion'.

Check failure on line 217 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (16)

Cannot find name 'getIEVersion'.

Check failure on line 217 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (18)

Cannot find name 'getIEVersion'.

Check failure on line 217 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (18)

Cannot find name 'getIEVersion'.

Check failure on line 217 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (20)

Cannot find name 'getIEVersion'.

Check failure on line 217 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (20)

Cannot find name 'getIEVersion'.
? ""
: `.${prefix}-dbg-lgr-dashboard .filterlist-input::after {
content: '';
Expand Down Expand Up @@ -254,7 +250,7 @@
padding: 3px 8px;
height: 32px;
width: 100%;
${(getIEVersion()) ? "" : "box-sizing: border-box;"}

Check failure on line 253 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (14)

Cannot find name 'getIEVersion'.

Check failure on line 253 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (16)

Cannot find name 'getIEVersion'.

Check failure on line 253 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (18)

Cannot find name 'getIEVersion'.

Check failure on line 253 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (20)

Cannot find name 'getIEVersion'.
}

.${prefix}-dbg-lgr-dashboard .filterlist-toggle:focus {
Expand Down Expand Up @@ -289,14 +285,14 @@
border-radius: 2px;
vertical-align: middle;
margin-right: 8px;
${(getIEVersion()) ? "" : "box-sizing: border-box;"}

Check failure on line 288 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (14)

Cannot find name 'getIEVersion'.

Check failure on line 288 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (16)

Cannot find name 'getIEVersion'.

Check failure on line 288 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (18)

Cannot find name 'getIEVersion'.

Check failure on line 288 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (20)

Cannot find name 'getIEVersion'.
}

.${prefix}-dbg-lgr-dashboard .checkbox.on {
background-color: #0078D4;
}

${getIEVersion() && getIEVersion() < 9

Check failure on line 295 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (14)

Cannot find name 'getIEVersion'.

Check failure on line 295 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (16)

Cannot find name 'getIEVersion'.

Check failure on line 295 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (18)

Cannot find name 'getIEVersion'.

Check failure on line 295 in extensions/applicationinsights-debugplugin-js/src/components/styleNodeSrc.ts

View workflow job for this annotation

GitHub Actions / build (20)

Cannot find name 'getIEVersion'.
? ""
: `.${prefix}-dbg-lgr-dashboard .checkbox.on::after {
content: '';
Expand Down
Loading