iD
iD copied to clipboard
Release as Electron app
Packaging iD as an Electron application has two benefits I can think of (besides the obvious)
- swiping back with two fingers on a touchpad shouldn't act as a back button like it does on macos. i've lost data because of this
- you can have more undo history because localsessionstorage is 50MB instead of 10MB. you could also write to disk and get effectively unlimited history
- This annoying behaviour can be disabled in settings for all apps, or just for chrome
- We could easily fix this by using
IndexedDBinstead oflocalStorage, then there would be effectively no size limit†. UsingIndexedDBwould also improve performance, since we no longer need to callJSON.stringifyon an a huge object everytime you drag a node. Incidentally, that's one of the biggest performance bottlenecks that I've noticed in iD
I'm not going to disable it for Chrome because I like it on all websites except iD.
(besides the obvious)
Which one is obvious for you?
less taps to open, less data to load
At the current point, i think it would be too much effort to maintain this for the relatively little benefits it provides.