Repository navigation
feat(batches,edge,users)!: add batches app, update telemetry units - #77
Merged
Merged
Conversation
- batches: scaffold the new batches Django app and register it in INSTALLED_APPS. - edge: rename Telemetry fields to power_kw, pressure_psi and height_cm (previously power_w, pressure_mpa and height_mm). - users: normalize UserCreateIn input. Emails are lowercased and stripped, and first/last names are title-cased per word. BREAKING CHANGE: Telemetry message fields were renamed and their units changed (W to kW, MPa to psi, mm to cm). Edge devices and consumers must send and read the new field names and units.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket
N/A
Description
Scaffolds the new
batchesapp and registers it inINSTALLED_APPS, switches the edgeTelemetrymessage topower_kw,pressure_psiandheight_cm, and adds input normalization toUserCreateIn(lowercased and trimmed email, capitalized first and last names). The telemetry change is breaking: both the field names and the units differ from the oldpower_w,pressure_mpaandheight_mm, so edge firmware and any consumers of this message need to be updated together with this PR.Related Issue
N/A
Type of Change
Image Change
N/A