Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
Add tooltip for flowcontrol checkbox, updated version and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
bencefr committed Oct 6, 2020
1 parent 2cf4ed8 commit e6205f8
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 10 deletions.
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Version 1.1.7
### Updates
- Added flow control checkbox (@jaredwolff) #43

## Version 1.1.6
### Fixes
- Fix device filter for Thingy:91 #40
Expand Down
26 changes: 17 additions & 9 deletions lib/components/Settings.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,20 @@ import Slider from 'react-rangeslider';
import 'react-rangeslider/lib/index.css';

const popoverAutoRequests = (
<Popover id="tip-location-api" className="tip location-api">
<Popover id="tip-autoreq" className="tip autoreq">
<p>
The application automatically sends AT commands when connecting to the
device to query the state of the modem and to subscribe to notifications.
</p>
</Popover>
);

const popoverFlowControl = (
<Popover id="tip-flowcontrol" className="tip flowcontrol">
<p>You must reopen the device to take effect.</p>
</Popover>
);

const popoverToken = (
<Popover id="tip-location-api" className="tip location-api">
<p>
Expand Down Expand Up @@ -142,14 +148,16 @@ class Settings extends React.Component {
label="Terminal auto scroll"
/>
</Form.Group>
<Form.Group controlId="flowControlCheck">
<Form.Check
type="checkbox"
onChange={e => flowControlToggled(e.target.checked)}
checked={flowControl}
label="Flow control"
/>
</Form.Group>
<OverlayTrigger {...overlayProps} overlay={popoverFlowControl}>
<Form.Group controlId="flowControlCheck">
<Form.Check
type="checkbox"
onChange={e => flowControlToggled(e.target.checked)}
checked={flowControl}
label="Flow control"
/>
</Form.Group>
</OverlayTrigger>
Periodic signal quality request {signalQualityInterval > 0 ? `${signalQualityInterval}s` : 'off'}
<div className="slider-container">
<span>off</span>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pc-nrfconnect-linkmonitor",
"version": "1.1.6",
"version": "1.1.7",
"description": "LTE Link Monitor",
"displayName": "LTE Link Monitor",
"repository": {
Expand Down

0 comments on commit e6205f8

Please sign in to comment.