Open tongpu opened 2 weeks ago
If i understand this correctly, the frontend should store the currently entered report? like when its not saved?
should be possible by saving it to localStorage
AFAICT
/cc @adfinis/dev-timed
If i understand this correctly, the frontend should store the currently entered report? like when its not saved?
should be possible by saving it to
localStorage
AFAICT/cc @adfinis/dev-timed
localstorage
sounds overkill to me. Simply createRecord
and reuse this one when entering the timesheet fetching for the first record matching isNew.
Your proposed enhancement
When I start to enter some entry in the Timesheet tab and switch to e.g. the Activity/Attendence to check something then the entry I started in the Timesheet is lost, because it was not sent to the backend. It would be great if the frontend could somehow temporarily store this information.
Enhancement Impact
Propably adds some complexity to the frontend. :grimacing:
Additional context
No response
Required