AF-VCD / pdf-bullets

Web-based utility for writing Air Force Bullets (EPR/OPR/Awards)
MIT License
44 stars 38 forks source link

Save to local storage/load feature not working #91

Open ckhordiasma opened 1 year ago

ckhordiasma commented 1 year ago

Encountered some issues when trying to save to local storage: message was that the storage limit was exceeded.

After doing some analysis, found that the editor saved state had a lot of instances of:

 "characterList": [
                            {
                                "style": [],
                                "entity": null
                            },
                            {
                                "style": [],
                                "entity": null
                            },
                            {
                                "style": [],
                                "entity": null
                            },
                            {
                                "style": [],
                                "entity": null
                            },
                            {
                                "style": [],
                                "entity": null
                            },]

that seemed to be filling up a lot of space. need to figure out why this is happening (possibly with new word duplication detection feature?) and maybe find ways to puge this information before storing to local storage