Feat: Proactively Save `item.text` on device to avoid losing data
as noted in #247 I have lost data typed into the item.text <textarea> on several occasions. 🤦♂️
this is hugely frustrating and as a person using this MVP I would quit the App immediately if it happened to me. 👎
Story
As a person using the @dwyl App/MVP
I want to have the item.text I'm writing
So that I don't lose any of it!
Todo
- [ ] Once the
PaperTrailintegration https://github.com/dwyl/mvp/issues/252 has been merged, we should be able to store the versions ofitem.textso storing an incompleteitem.texte.g: `Buy mil" will become "Buy Milk from Waitrose" when fully captured. - [ ] Implement a mechanism to save
item.texton the Device 📱 so that if the page refreshes you check the device first to see if there is some unfinishedtext. - [ ] When the
itemis saved we can clear the storage on the device.
Questions:
-
If the person has multiple tabs open for the
MVP, how do we allow them to have multipleitem.textin "draft" on the device? 💭 -
Do we want to sync draft text between connected clients so that I can start typing on one device and pick-up on another? or is this overcomplicating? Perhaps we can address this in the future. 💭
@SimonLab please LMK if you think this is satisfied by your recent PR #254 🙏
The PR https://github.com/dwyl/mvp/pull/254 fixed
as noted in https://github.com/dwyl/mvp/issues/247 I have lost data typed into the item.text
I think this issue can be closed