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

Make sure that the mode label fields are prefixed by label_ #844

Merged
merged 1 commit into from
Dec 15, 2021

Conversation

shankari
Copy link
Contributor

So that the client can know that they are labels.
In the sensed mode labels, we use caps to distinguish them
https://github.com/e-mission/e-mission-phone/blob/42706f3f40423f91d02db443e011f45b8385505d/www/js/metrics.js#L826

Using a prefix allows us to distinguish between:

  • non-mode labels
  • sensed mode labels
  • labeled labels
  • fix tests to match

So that the client can know that they are labels.
In the sensed mode labels, we use caps to distinguish them
https://github.com/e-mission/e-mission-phone/blob/42706f3f40423f91d02db443e011f45b8385505d/www/js/metrics.js#L826

Using a prefix allows us to distinguish between:
- non-mode labels
- sensed mode labels
- labeled labels

+ fix tests to match
@shankari shankari merged commit 2081983 into e-mission:master Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant