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

Decode Sparkplug Longs to Numbers #712

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
Next Next commit
enlarge value window
  • Loading branch information
AlexGodbehere committed Feb 22, 2023
commit 60b0d674546f762f9362751fc297903e31ae32ea
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ test.png
.awcache
.scannerwork
screen*.png
.idea
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"mochatest": "mocha --require ts-node/register src/**/*.spec.ts"
},
"engines": {
"node": "16"
"node": "19"
},
"author": "",
"license": "CC-BY-ND-4.0",
Expand Down
1 change: 0 additions & 1 deletion app/src/components/Sidebar/CodeDiff/style.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export const style = (theme: Theme) => {
},
codeWrapper: {
display: 'flex',
maxHeight: '15em',
overflow: 'auto',
backgroundColor: `${codeBlockColors.background}`,
},
Expand Down
2 changes: 1 addition & 1 deletion app/src/components/Sidebar/ValueRenderer/ValueRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class ValueRenderer extends React.Component<Props, State> {
}

public render() {
return <div style={{ padding: '0px 0px 8px 0px', width: '100%' }}>
return <div style={{ padding: '0px 0px 8px 0px', width: '100%', height: '100%'}}>
{this.props.message?.payload?.decoder === Decoder.SPARKPLUG && "Decoded SparkplugB"}
{this.renderValue()}
</div>
Expand Down
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"postinstall": "yarn build"
},
"engines": {
"node": "16"
"node": "19"
},
"author": "",
"license": "CC-BY-ND-4.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Explore your message queues",
"main": "dist/src/electron.js",
"engines": {
"node": "16"
"node": "19"
},
"scripts": {
"start": "electron .",
Expand Down