hackmdio / hackmdio/hackmd-io-issues

Lose data when go offline while typing

Aperta
#72 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
bug
Lingua principale
Nessun dato sulla lingua
Stelle
40
Fork
9
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Non vengono indicati alcun file sorgente, test o punto di ingresso. Riproduci il problema nell'editor di testo HackMD seguendo i passaggi offline/online, quindi traccia il comportamento di recupero offline dell'editor; il lavoro è completato quando il testo digitato mentre si era offline viene conservato dopo la riconnessione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
frontend, web-dev
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
28/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.