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

listAssetBedPresets and ListBedPresets mismatch #2619

Open
Jacobjeevan opened this issue Nov 27, 2024 · 5 comments
Open

listAssetBedPresets and ListBedPresets mismatch #2619

Jacobjeevan opened this issue Nov 27, 2024 · 5 comments
Assignees

Comments

@Jacobjeevan
Copy link
Contributor

Describe the bug
Navigate to the Dev camera on Care, and check the preset options available on the feed page vs ones on the camera configuration page.

/api/v1/assetbed/{assetbed_id}/camera_presets/ called in Configure Page(AssetBedCameraPresetViewSet)
/api/v1/bed/{bed_id}/camera_presets/ called in Feed Tab(CameraPresetViewSet)

Image

Image

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://care.ohc.network
  2. Login with devdistrictadmin credentials
  3. Navigate to Patient named 'Gigin'
  4. Click on Feed Tab (alternatively, direct link to the feed page: https://care.ohc.network/facility/0c95c7f0-e1d2-4aff-83fa-933cef60d3a8/patient/7e8fc20f-02da-47f7-8c33-f2d8c7e52dd8/consultation/edfe0bd6-0f50-4a4c-8cd0-2d4ad0e9cea1/feed)
  5. Compare Bed Presets to ones under 'Bed 1' in Camera Configuration Page (click on the information icon and then 'Configure Camera')

Expected behavior
Bed Presets in the Feed tab should be the same as Bed Presets for corresponding Bed in the camera configuration page.

@DraKen0009
Copy link
Contributor

@Jacobjeevan is this issue still valid? I can see the related fe issue is closed.

@Jacobjeevan
Copy link
Contributor Author

@Jacobjeevan is this issue still valid? I can see the related fe issue is closed.

@DraKen0009 Still valid.

@DraKen0009
Copy link
Contributor

Alright. can you assign this to me , I'll try to get it fixed. Also I'm assuming this is not priority issue and can be fixed by the weekend

@Jacobjeevan
Copy link
Contributor Author

Alright. can you assign this to me , I'll try to get it fixed. Also I'm assuming this is not priority issue and can be fixed by the weekend

Yea, that's fine. I don't have perms, pinging @sainak

@DraKen0009
Copy link
Contributor

Alright. Thanks

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

No branches or pull requests

2 participants