Skip to content
This repository was archived by the owner on Apr 19, 2024. It is now read-only.

Commit 04ec295

Browse files
authored
Remove protobuf notification (#440)
* remove protobuf notification * 2.28.6 * fix warnings
1 parent 9cfb9f0 commit 04ec295

File tree

7 files changed

+3
-108
lines changed

7 files changed

+3
-108
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@netdata/dashboard",
3-
"version": "2.28.5",
3+
"version": "2.28.6",
44
"homepage": ".",
55
"main": "./lib/src/index-npm.js",
66
"files": [

src/components/header/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import styled from "styled-components"
33
import { Flex, Box } from "@netdata/netdata-ui"
44
import Node from "./node"
55
import Options from "./options"
6-
import ProtoBuf from "./protoBuf"
76
import Version from "./version"
87
import GlobalControls from "./globalControls"
98
import Alarms from "./alarms"
@@ -35,7 +34,6 @@ const Header = () => (
3534
<Version />
3635
<News />
3736
<Options />
38-
<ProtoBuf />
3937
<Timezone />
4038
<GlobalControls />
4139
<Alarms />

src/components/header/protoBuf/dropdown.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/components/header/protoBuf/index.js

Lines changed: 0 additions & 83 deletions
This file was deleted.

src/domains/chart/components/lib-charts/dygraph-chart.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import { DygraphArea, NetdataDygraph } from "types/vendor-overrides"
1515
import { TimeRange } from "types/common"
1616
import { useDateTime } from "utils/date-time"
1717
import { debounce } from "utils/debounce"
18-
import { hasHashParam } from "utils/hash-utils"
1918

2019
import {
2120
selectCommonMin,
@@ -748,7 +747,7 @@ export const DygraphChart = ({
748747
const w = g.toDomCoords(g.xAxisRange()[1], null)[0] - axisAfterOffset
749748

750749
// Percentage from the left.
751-
return w == 0 ? 0 : x / w
750+
return w === 0 ? 0 : x / w
752751
}
753752

754753
const normalDef =

src/domains/global/selectors.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,6 @@ export const selectIsCloudEnabled = createSelector(
9090
)
9191
export const selectHasFetchedInfo = createSelector(selectRegistry, prop("hasFetchedInfo"))
9292
export const selectFullInfoPayload = createSelector(selectRegistry, prop("fullInfoPayload"))
93-
export const selectLacksProtoBufSupport = createSelector(
94-
selectFullInfoPayload,
95-
info => info["agent-claimed"] && !info["aclk-ng-new-cloud-protocol"]
96-
)
9793

9894
export const selectHasStartedAlarms = createSelector(
9995
selectGlobal,

0 commit comments

Comments
 (0)