TryQuiet / zbay

GNU General Public License v3.0
18 stars 3 forks source link

Stop using electron store and just use persist for saving state #562

Open holmesworcester opened 4 years ago

holmesworcester commented 4 years ago

Be thoughtful so that we aren't saving all UI state, e.g. input fields.

We may want to save selected channel so that user returns to the same place they were when they quit.

holmesworcester commented 4 years ago

@NorbertBodziony can you make a list of advantages or optimizations we can achieve from this?

NorbertBodziony commented 4 years ago
holmesworcester commented 4 years ago

How does splitting state into multiple files work in this case, and what are the advantages?

On Nov 10, 2020, at 10:13 AM, NorbertBodziony notifications@github.com wrote:

Consistent state Instant load on start no need for special flow Easier to add new fields Will be able to split state into multiple files — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ZbayApp/zbay/issues/562#issuecomment-724766219, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABUFLV2I5YR5THDJORIQALSPFKCVANCNFSM4TQYBMCA.

holmesworcester commented 3 years ago

@NorbertBodziony what's the status of this project? Have we done this yet?