devtools-next icon indicating copy to clipboard operation
devtools-next copied to clipboard

Can the devtools settings export the data saved under the.local?

Open eachann1024 opened this issue 1 year ago • 4 comments

In the business scenario, logging out will clear the localstorage, resulting in the settings needing to be reset again.

In the development scenario, debugging often also clears the localstorage.

If the settings can be exported to a.local file, there will be no these problems.

eachann1024 avatar Jul 01 '24 07:07 eachann1024

@alexzhang1030 This should not be the same requirement. JSON also needs to be imported. If .local is supported, the settings can be automatically read every time you enter.

eachann1024 avatar Jul 01 '24 09:07 eachann1024

@alexzhang1030 This should not be the same requirement. JSON also needs to be imported. If .local is supported, the settings can be automatically read every time you enter.

We have browser extension & electron app, so I am trying to make this feature more general instead of just serving on the vite-plugin.

alexzhang1030 avatar Jul 01 '24 09:07 alexzhang1030

@alexzhang1030 This should not be the same requirement. JSON also needs to be imported. If .local is supported, the settings can be automatically read every time you enter.

We have browser extension & electron app, so I am trying to make this feature more general instead of just serving on the vite-plugin.

Haha, I just found out that there are actually extensions, that's great! And I hope there is an option for json import settings haha!

eachann1024 avatar Jul 01 '24 10:07 eachann1024

@alexzhang1030 This should not be the same requirement. JSON also needs to be imported. If .local is supported, the settings can be automatically read every time you enter.

We have browser extension & electron app, so I am trying to make this feature more general instead of just serving on the vite-plugin.

Haha, I just found out that there are actually extensions, that's great! And I hope there is an option for json import settings haha!

Which one?

LukerSpringtree avatar Dec 11 '24 12:12 LukerSpringtree