Skip to content

Created /cell/id/sensors endpoint#760

Open
dvdthr5 wants to merge 7 commits into
mainfrom
sensorsAttachedToCellEndpoint
Open

Created /cell/id/sensors endpoint#760
dvdthr5 wants to merge 7 commits into
mainfrom
sensorsAttachedToCellEndpoint

Conversation

@dvdthr5
Copy link
Copy Markdown
Member

@dvdthr5 dvdthr5 commented May 9, 2026

As title says, created the /cell/cell_id/sensors endpoint which returns a list of the sensors attached to that cell id. Changed cell selection logic to utilize this new endpoint. Previously requested all 16 possible sensor types, now requests sensors endpoint and then only requests data from those associated sensors.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 9, 2026

Codecov Report

❌ Patch coverage is 88.67925% with 6 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
frontend/src/pages/dashboard/Dashboard.jsx 57.14% 6 Missing ⚠️
Flag Coverage Δ
backend 70.99% <100.00%> (+0.24%) ⬆️
frontend 51.74% <68.42%> (+0.26%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
backend/api/__init__.py 80.91% <100.00%> (+0.29%) ⬆️
backend/api/resources/cell_sensors.py 100.00% <100.00%> (ø)
backend/api/schemas/sensor_schema.py 100.00% <100.00%> (ø)
backend/tests/test_sensor.py 100.00% <100.00%> (ø)
frontend/src/services/cell.js 33.80% <100.00%> (+5.01%) ⬆️
frontend/src/pages/dashboard/Dashboard.jsx 35.90% <57.14%> (+1.21%) ⬆️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dvdthr5
Copy link
Copy Markdown
Member Author

dvdthr5 commented May 9, 2026

Wokring on making another unit test to add more coverage

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