-
Notifications
You must be signed in to change notification settings - Fork 4
feat: report remodel recipe v3 facts #45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
9177ed8
feat: report remodel recipe v3 facts
KagamiChan 20a1d75
feat: add opt-in remodel debug recorder
KagamiChan 9befa8c
feat: expose remodel recorder settings UI
KagamiChan af343c1
fix: type recorder settings as react component
KagamiChan 4686cca
test: add recorder storybook preview
KagamiChan f9f7a8f
refactor: simplify recorder settings component
KagamiChan f7d1b15
refactor: write recorder settings in tsx
KagamiChan 3fae4ae
perf: skip recorder storage reads for unrelated APIs
KagamiChan 3e80609
fix: address recorder review follow-ups
KagamiChan 354d4a5
fix: use decorators for recorder stories
KagamiChan 6ee19eb
fix: align react bundling with plugin config
KagamiChan 53f22a9
fix: address final recorder review nits
KagamiChan 574ceb4
build: bundle reporters into plugin output
KagamiChan 6b71da4
fix: export recorder settings for poi
KagamiChan 9c072ef
feat: localize remodel recorder settings
KagamiChan 1e12973
fix: harden remodel debug edge cases
KagamiChan 6fa7c91
test: declare lodash for source tests
KagamiChan 9fbb302
fix: deep copy recorder snapshots
KagamiChan 35d20d6
fix: reject placeholder remodel item ids
KagamiChan a9dd98a
perf: avoid cloning records for settings count
KagamiChan 12df214
fix: harden recorder notifications and stories
KagamiChan 55e07e4
fix: read reporter version in unbundled tests
KagamiChan f459a89
fix: lazy load reporter globals
KagamiChan 5db9c78
build: remove stale chunk output config
KagamiChan 355dc47
fix: keep debug captures with partial context
KagamiChan c2b9f71
test: derive reporter version in harness
KagamiChan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| import type { StorybookConfig } from '@storybook/react-vite' | ||
|
|
||
| const config: StorybookConfig = { | ||
| stories: ['../src/**/*.stories.@(ts|tsx)'], | ||
| framework: { | ||
| name: '@storybook/react-vite', | ||
| options: {}, | ||
| }, | ||
| } | ||
|
|
||
| export default config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| import type { Preview } from '@storybook/react-vite' | ||
|
|
||
| const preview: Preview = { | ||
| parameters: { | ||
| controls: { | ||
| matchers: { | ||
| color: /(background|color)$/i, | ||
| date: /Date$/i, | ||
| }, | ||
| }, | ||
| }, | ||
| } | ||
|
|
||
| export default preview |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,8 @@ | ||
| { | ||
| "Captured records": "Captured records: {{count}}", | ||
| "Clear": "Clear", | ||
| "Enable remodel debug recorder": "Enable remodel debug recorder", | ||
| "Export": "Export", | ||
| "Remodel recipe debug recorder": "Remodel recipe debug recorder", | ||
| "Remodel recipe debug recorder description": "Opt-in local recorder for validating Akashi remodel API sequences. It captures only allowlisted remodel fields, keeps records in memory, and writes a file only when Export is clicked." | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,10 @@ | ||
| { | ||
| "Data Report": "統計データベースツール", | ||
| "Report data to database(http://db.kcwiki.moe)": "統計データベース(http://db.kcwiki.moe)登録用ツール" | ||
| "Report data to database(http://db.kcwiki.moe)": "統計データベース(http://db.kcwiki.moe)登録用ツール", | ||
| "Captured records": "記録数: {{count}}", | ||
| "Clear": "クリア", | ||
| "Enable remodel debug recorder": "改修デバッグレコーダーを有効化", | ||
| "Export": "エクスポート", | ||
| "Remodel recipe debug recorder": "改修レシピデバッグレコーダー", | ||
| "Remodel recipe debug recorder description": "明石の改修APIシーケンス検証用のローカルレコーダーです。許可された改修フィールドだけをメモリ上に記録し、エクスポートをクリックしたときだけファイルへ書き出します。" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,10 @@ | ||
| { | ||
| "Data Report": "数据汇报", | ||
| "Report data to database(http://db.kcwiki.moe)": "汇报建造数据、海域掉落数据、开发数据" | ||
| "Report data to database(http://db.kcwiki.moe)": "汇报建造数据、海域掉落数据、开发数据", | ||
| "Captured records": "已捕获记录:{{count}}", | ||
| "Clear": "清空", | ||
| "Enable remodel debug recorder": "启用改修调试记录器", | ||
| "Export": "导出", | ||
| "Remodel recipe debug recorder": "改修配方调试记录器", | ||
| "Remodel recipe debug recorder description": "用于验证明石改修 API 顺序的本地可选记录器。只捕获允许的改修字段,记录仅保存在内存中,并且只会在点击导出时写入文件。" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,10 @@ | ||
| { | ||
| "Data Report": "數據匯報", | ||
| "Report data to database(http://db.kcwiki.moe)": "匯報建造數據、海域掉落數據、開發數據" | ||
| "Report data to database(http://db.kcwiki.moe)": "匯報建造數據、海域掉落數據、開發數據", | ||
| "Captured records": "已擷取記錄:{{count}}", | ||
| "Clear": "清除", | ||
| "Enable remodel debug recorder": "啟用改修除錯記錄器", | ||
| "Export": "匯出", | ||
| "Remodel recipe debug recorder": "改修配方除錯記錄器", | ||
| "Remodel recipe debug recorder description": "用於驗證明石改修 API 順序的本機選用記錄器。只擷取允許的改修欄位,記錄只保存在記憶體中,且只會在點擊匯出時寫入檔案。" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.