BoxPistols / BoxPistols/4Stroke
データのexport/import
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
https://gist.github.com/ohpauleez/4040960
---
https://stackoverflow.com/questions/13335967/export-data-in-localstorage-for-later-re-import
```js
copy(JSON.stringify(JSON.stringify(localStorage)));
var data = JSON.parse(/*previously copied stringified JSON from clipboard*/);
Object.keys(data).forEach(function (k) {
localStorage.setItem(k, data[k]);
});
```
```json
"{\"stroke2\":\"月曜フロー\\nTD以外\\n ATP / Figma\\n 4Stroke\\n Next / Material UI\\n\",\"@storybook/ui/store\":\"{\\\"versions\\\":{\\\"current\\\":{\\\"version\\\":\\\"5.2.8\\\"},\\\"latest\\\":{\\\"version\\\":\\\"6.2.9\\\",\\\"info\\\":{\\\"plain\\\":\\\"### Bug Fixes\\\\n\\\\n- Angular: set the @ViewChild with a non-empty value in StorybookWrapperComponent ([#14586](https://github.com/storybookjs/storybook/pull/14586))\\\\n- Addon-docs: Fix ArgsTable sorting when using of={Component} ([#14669](https://github.com/storybookjs/storybook/pull/14669))\\\\n- Server: Fix string escaping in CSF compiler ([#14615](https://github.com/storybookjs/storybook/pull/14615))\\\\n\\\\n### Maintenance\\\\n\\\\n- Examples: Move from placehold.it to place-hold.it for mock images ([#14637](https://github.com/storybookjs/storybook/pull/14637))\\\"}},\\\"next\\\":{\\\"version\\\":\\\"6.2.0-rc.13\\\",\\\"info\\\":{\\\"plain\\\":\\\"### Bug Fixes\\\\n\\\\n- Controls: QA fixes for Object and Color controls ([#14392](https://github.com/storybookjs/storybook/pull/14392))\\\"}}},\\\"lastVersionCheck\\\":1620570030598}\",\"kioku-title1\":\"xxx\",\"docsify.search.expires\":\"1639052217268\",\"stroke5\":\"エラー\",\"storybook-layout\":\"{\\\"resizerPanel\\\":{\\\"x\\\":0,\\\"y\\\":433},\\\"resizerNav\\\":{\\\"x\\\":200,\\\"y\\\":0}}\",\"stroke3\":\" ATP / Figma\",\"stroke-title2\":\"Next JS\",\"kioku-title3\":\"\",\"stroke10\":\"\",\"stroke4\":\"TD \\n Slack 写真/進行共有\",\"todos\":\"[{\\\"text\\\":\\\"star this repository\\\",\\\"done\\\":true},{\\\"text\\\":\\\"fork this repository\\\",\\\"done\\\":true},{\\\"text\\\":\\\"follow author\\\",\\\"done\\\":true},{\\\"text\\\":\\\"vue-typescript-admin-template\\\",\\\"done\\\":true},{\\\"text\\\":\\\"vue\\\",\\\"done\\\":true},{\\\"text\\\":\\\"element-ui\\\",\\\"done\\\":true},{\\\"text\\\":\\\"axios\\\",\\\"done\\\":true},{\\\"text\\\":\\\"webpack\\\",\\\"done\\\":true}]\",\"docsify.search.index\":\"{\\\"/\\\":{\\\"#/?id=docsify\\\":{\\\"slug\\\":\\\"#/?id=docsify\\\",\\\"title\\\":\\\"docsify\\\",\\\"body\\\":\\\"公式ドキュメント\\\\nhttps://docsify.js.org\\\\n\\\"},\\\"#/?id=what-is-this\\\":{\\\"slug\\\":\\\"#/?id=what-is-this\\\",\\\"title\\\":\\\"What is this\\\",\\\"body\\\":\\\"- ドキュメント静的サイトジェネレーター\\\\n- Markdown ドキュメント\\\\n- gitbook-cli のような UIUX のライブラリ\\\\n- 日本語検索に対応\\\\n\\\\n\\\\n\\\"}},\\\"/guide\\\":{\\\"#/guide?id=%e5%b0%8e%e5%85%a5%e3%83%95%e3%83%ad%e3%83%bc\\\":{\\\"slug\\\":\\\"#/guide?id=%e5%b0%8e%e5%85%a5%e3%83%95%e3%83%ad%e3%83%bc\\\",\\\"title\\\":\\\"導入フロー\\\",\\\"body\\\":\\\"\\\"},\\\"#/guide?id=%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e6%a7%8b%e9%80%a0%e3%82%b5%e3%83%b3%e3%83%97%e3%83%ab\\\":{\\\"slug\\\":\\\"#/guide?id=%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e6%a7%8b%e9%80%a0%e3%82%b5%e3%83%b3%e3%83%97%e3%83%ab\\\",\\\"title\\\":\\\"ファイル構造サンプル\\\",\\\"body\\\":\\\"workspace\\\\n└─ docs\\\\n ├─ README.md\\\\n ├─ guide.md\\\\n └─ index.html\\\"},\\\"#/guide?id=cli-install\\\":{\\\"slug\\\":\\\"#/guide?id=cli-install\\\",\\\"title\\\":\\\"CLI install\\\",\\\"body\\\":\\\"yarn\\\\ninstall:\\\\n\\\\nyarn add -D docsify-cli\\\\n初期化:\\\\n\\\\nyarn docsify init ./docs\\\\nローカルサーバー起動:(アドレス指定の場合)\\\\n\\\\nyarn docsify serve docs -p 3003\\\\n\\\\nnpx\\\\n初期化:\\\\n\\\\nnpx docsify-cli init ./docs\\\\nローカルサーバー起動:(アドレス指定の場合)\\\\n\\\\nnpx docsify-cli serve docs -p 3003\\\"}},\\\"/frontend\\\":{\\\"#/frontend?id=frontend\\\":{\\\"slug\\\":\\\"#/frontend?id=frontend\\\",\\\"title\\\":\\\"frontend\\\",\\\"body\\\":\\\"フロントエンド設計レギュレーション\\\"}},\\\"/docsify\\\":{\\\"#/docsify?id=docsify\\\":{\\\"slug\\\":\\\"#/docsify?id=docsify\\\",\\\"title\\\":\\\"docsify\\\",\\\"body\\\":\\\"これはdocsifyで作成されたドキュメントです。\\\"}},\\\"/option\\\":{\\\"#/option?id=%e3%82%aa%e3%83%97%e3%82%b7%e3%83%a7%e3%83%b3\\\":{\\\"slug\\\":\\\"#/option?id=%e3%82%aa%e3%83%97%e3%82%b7%e3%83%a7%e3%83%b3\\\",\\\"title\\\":\\\"オプション\\\",\\\"body\\\":\\\"\\\"},\\\"#/option?id=%e3%82%bf%e3%83%96%e8%a1%a8%e7%a4%ba\\\":{\\\"slug\\\":\\\"#/option?id=%e3%82%bf%e3%83%96%e8%a1%a8%e7%a4%ba\\\",\\\"title\\\":\\\"タブ表示\\\",\\\"body\\\":\\\"\\\\n\\\\n# ** English **\\\\n\\\\nHello!\\\\n\\\\n# ** French **\\\\n\\\\nBonjour!\\\\n\\\\n# ** Italian **\\\\n\\\\nCiao!\\\\n\\\\n\\\\n\\\\n\\\\n\\\"},\\\"#/option?id=-english-\\\":{\\\"slug\\\":\\\"#/option?id=-english-\\\",\\\"title\\\":\\\"** English **\\\",\\\"body\\\":\\\"Hello!\\\\n\\\"},\\\"#/option?id=-french-\\\":{\\\"slug\\\":\\\"#/option?id=-french-\\\",\\\"title\\\":\\\"** French **\\\",\\\"body\\\":\\\"Bonjour!\\\\n\\\"},\\\"#/option?id=-italian-\\\":{\\\"slug\\\":\\\"#/option?id=-italian-\\\",\\\"title\\\":\\\"** Italian **\\\",\\\"body\\\":\\\"Ciao!\\\\n\\\\n\\\\n\\\"}},\\\"/css\\\":{\\\"#/css?id=css-design\\\":{\\\"slug\\\":\\\"#/css?id=css-design\\\",\\\"title\\\":\\\"CSS Design\\\",\\\"body\\\":\\\"\\\"},\\\"#/css?id=atomic\\\":{\\\"slug\\\":\\\"#/css?id=atomic\\\",\\\"title\\\":\\\"Atomic\\\",\\\"body\\\":\\\"- page\\\\n- layout(template)\\\\n- organism\\\\n- molecule\\\\n- atom\\\\n\\\"}}}\",\"kioku1\":\"ddd\",\"stroke1\":\"TD\\nATP\",\"stroke9\":\"Toyko\",\"kioku-title2\":\"\",\"stroke-title3\":\"Figma UI Token \",\"stroke-title1\":\"月曜タスク\",\"stroke6\":\"エラーがあるよ\"}"
```
Contributor guide
No contributing guide indexed for this repository
Research direction
No source files or tests are named. Start by locating the application's localStorage usage and clarify the intended export and import flow from the linked examples. Done should include an agreed format and a working way to export stored data and restore it later.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100