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

Gateway antenna location settings (without maps) #716

Merged
merged 5 commits into from
May 23, 2019

Conversation

kschiffer
Copy link
Contributor

@kschiffer kschiffer commented May 20, 2019

Summary

Closes #713
Dependent on #643 (hence draft PR)

Changes

  • Add a gateway location view and route
  • Add redux primitives to patch gateways
  • Fix field mask generation from patches in SDK (= disregarding array elements)

Notes for Reviewers

Complementary implementation to #643.

Release Notes

  • Added view to update the antenna location information of gateways

@kschiffer kschiffer added c/console This is related to the Console c/sdk/js This is related to the JavaScript SDK labels May 20, 2019
@kschiffer kschiffer added this to the May 2019 milestone May 20, 2019
@kschiffer kschiffer requested a review from bafonins May 20, 2019 22:54
@kschiffer kschiffer self-assigned this May 20, 2019
@kschiffer kschiffer force-pushed the feature/643-device-location-settings branch 2 times, most recently from c34eef6 to f9781dc Compare May 22, 2019 11:52
@kschiffer kschiffer force-pushed the feature/713-gateway-location-settings branch from 8ccfa20 to 79416c3 Compare May 22, 2019 12:47
@kschiffer kschiffer removed the request for review from bafonins May 22, 2019 12:48
@kschiffer kschiffer changed the base branch from feature/643-device-location-settings to master May 22, 2019 15:56
@kschiffer kschiffer marked this pull request as ready for review May 22, 2019 15:57
@kschiffer kschiffer requested a review from bafonins as a code owner May 22, 2019 15:57
Copy link
Contributor

@bafonins bafonins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only small remarks

@htdvisser do we support only a single gateway antenna?

@connect(
({ gateway, application }, props) => ({
gateway: gateway.gateway,
application: application.application,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not used

@@ -13,6 +13,7 @@
// limitations under the License.

/* eslint-disable no-invalid-this */
/* eslint-disable array-callback-return */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this because of how traverse works?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. It uses a mapping function that does not expect a return value which will cause the linter to nag.

@kschiffer
Copy link
Contributor Author

@htdvisser do we support only a single gateway antenna?

We agreed to have only one antenna location for MVP on slack.

@kschiffer kschiffer force-pushed the feature/713-gateway-location-settings branch from 79416c3 to 70cfb29 Compare May 23, 2019 12:12
@kschiffer kschiffer requested a review from bafonins May 23, 2019 12:12
@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 73.289% when pulling 70cfb29 on feature/713-gateway-location-settings into ea1643b on master.

@kschiffer kschiffer merged commit fe7afc8 into master May 23, 2019
@kschiffer kschiffer deleted the feature/713-gateway-location-settings branch May 23, 2019 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/console This is related to the Console c/sdk/js This is related to the JavaScript SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set gateway antenna location (without maps)
3 participants