hackmdio / hackmdio/hackmd-io-issues
Lose data when go offline while typing
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 40
- Forks
- 9
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### Is this a hackmd.io issue?
- [x] Yes, the bug happens on https://hackmd.io
- [ ] No. If it's a self-hosted CodiMD instance, please fire up the issue in the repo of CodiMD: https://github.com/hackmdio/codimd
### What's the problem
Sometimes, while I'm typing, the status (in the top right of the page) changes to `offline`.
When it comes back to `online`, if I continue typing, sometimes it loses some text that I typed when it was `offline`.
#### Current behaviour
Steps to reproduce:
1. Go to text editing
2. Type some text
3. Disconnect your pc from internet
4. Continue typing until Hackmd blocks the typing
5. Reconnect to the internet
6. Then you will lose some text you typed
#### Expected behaviour
To not lose text when it comes back to online
#### Environment
I use HackMD on:
**Desktop**
- OS: ubuntu 16.04 LTS
- Browser: chrome
- Browser Version: 71
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Es wird keine Quelldatei, kein Test und kein Einstiegspunkt genannt. Reproduziere das Problem im HackMD-Texteditor, indem du die Offline-/Online-Schritte befolgst, und verfolge anschließend das Verhalten des Editors bei der Offline-Wiederherstellung; abgeschlossen ist die Aufgabe, wenn während der Offline-Zeit eingegebener Text nach der erneuten Verbindung erhalten bleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Bereich
- frontend, web-dev
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 28/100