First useTemperature call dont get 404 #528

Closed
c24danli wants to merge 0 commits from 483-temperature-latest-return-error into team_2_week_3
Collaborator

The first render when useTemperature dont know what sensor names that exist in the db "any" is used, this is changed to a wild card in the querry to give any sensor. Renders after the first use the actual sensorId's
Changes in generateMockup is only the names can be anything.

The first render when useTemperature dont know what sensor names that exist in the db "any" is used, this is changed to a wild card in the querry to give any sensor. Renders after the first use the actual sensorId's Changes in generateMockup is only the names can be anything.
The first render when useTemperature dont know what sensor names that exist in the db "any" is used, this is changed to a wild card in the querry to give any sensor. Renders after the first use the actual sensorId's
Changes in generateMockup is only the names can be anything.
Collaborator

Review on #528

What's done

Tested on macOS using Chrome

  • Verified that no 404 error shows on first render
  • Temperature data is shown correctly on first render and after refresh

Inspected files

TemperatureView
tempSensorMockup
tempService

What needs to be done

No issue was found

Conclusion

The changes looks correct and the code is ready be be merged.

## Review on #528 ### What's done Tested on macOS using Chrome - Verified that no 404 error shows on first render - Temperature data is shown correctly on first render and after refresh #### Inspected files TemperatureView tempSensorMockup tempService #### What needs to be done No issue was found #### Conclusion The changes looks correct and the code is ready be be merged.
c24elipe approved these changes 2026-04-24 09:42:22 +00:00
Collaborator

Merged!

Merged!
a24vinla closed this pull request 2026-04-24 10:48:30 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Andras/BoundlessFlowCampus2K!528
No description provided.