-
Notifications
You must be signed in to change notification settings - Fork 372
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
Add service request history to asset #5417
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for care-egov-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Kudos, SonarCloud Quality Gate passed!
|
👋 Hi, @Ashesh3, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
Added edit history as per discussion. Updated Screenshots in PR description. |
LGTM |
WHAT
🤖 Generated by Copilot at b4eb554
Added functionality to view and manage asset service logs in the frontend. Updated the asset data type to include the last service log as a nested object. Added new actions and routes to handle the asset service API requests. Modified the
AssetManage
,AssetCreate
, andAssetTypes
components to reflect the changes.Fixes #5363
Backend PR: ohcnetwork/care#1277
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
HOW
🤖 Generated by Copilot at b4eb554
AssetService
type to./AssetTypes
to represent service log data (link, link)last_serviced_on
andnotes
fromAssetData
type and replace withlast_service
of typeAssetService
to include last service log as a nested object (link)AssetManage
component to fetch and display service logs for an asset usinglistAssetService
action (link, link, link, link, link, link, link)AssetManage
andAssetCreate
components to uselast_service.serviced_on
andlast_service.note
instead oflast_serviced_on
andnotes
to access last service log data (link, link, link)listAssetService
andgetAssetService
actions to../../Redux/actions
to make API requests to asset service endpoints (link)listAssetService
andgetAssetService
routes to../../Redux/api
to define path and method for asset service endpoints (link)