-
Notifications
You must be signed in to change notification settings - Fork 310
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
Remove linking references #3614
Conversation
@@ -25,8 +25,6 @@ import EntityTitleSection from '@console/components/entity-title-section' | |||
import sharedMessages from '@ttn-lw/lib/shared-messages' | |||
import PropTypes from '@ttn-lw/lib/prop-types' | |||
|
|||
import ApplicationStatus from './status' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can then also remove the status
folder. Or can we still fetch up/down counts and last received timestamp from ApplicationLinkStats
? cc @adriansmares
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ApplicationLinkStats
is deprecated. There are no plans in bringing it back at the moment.
@@ -110,22 +101,15 @@ ApplicationTitleSection.propTypes = { | |||
devicesErrored: PropTypes.bool.isRequired, | |||
devicesTotalCount: PropTypes.number, | |||
fetching: PropTypes.bool.isRequired, | |||
lastSeen: PropTypes.string, | |||
linkStats: PropTypes.applicationLinkStats, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also edit the applicationLink
and applicationLinkStats
prop-type definitions to match the current types.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ApplicationLink
does not require network_server_address
and api_key
as those will be deprecated in v3.11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tested it locally and works as expected. Test procedure:
- Create application
- Create end device
- Set application uplink payload formatters to the default JS formatter
- Send simulated uplink and check uplink contents (contains correct
decoded_payload
)
19b7592
to
7096dd2
Compare
Summary
Closes #3542
Changes
Before:
After:
Before:
After:
Before:
After:
Testing
Manually tested
Notes for Reviewers
Checklist
README.md
for the chosen target branch.CHANGELOG.md
.CONTRIBUTING.md
, there are no fixup commits left.