Files
johndoe6345789 b7e9009900 refactor(emailclient): move demo data to JSON config files
Folders and emails constants extracted to folders.json and emails.json.
The TS loader hydrates relative hoursAgo into absolute timestamps.
Follows the 95% JSON / 5% code principle.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 15:55:37 +00:00

76 lines
3.7 KiB
JSON

[
{
"id": "1",
"testId": "1",
"from": "Alice Chen",
"to": ["you@metabuilder.io"],
"subject": "Sprint planning for next week",
"preview": "Hey team, I've put together the backlog items we need to discuss in our sprint planning session...",
"isRead": false,
"isStarred": true,
"hoursAgo": 2,
"body": "Hey team,\n\nI've put together the backlog items we need to discuss in our sprint planning session on Monday. Please review the board before the meeting.\n\nKey items:\n- DBAL multi-adapter support\n- Email client backend integration\n- Workflow engine performance improvements\n\nLet me know if you have anything to add.\n\nBest,\nAlice"
},
{
"id": "2",
"testId": "2",
"from": "GitHub",
"to": ["you@metabuilder.io"],
"subject": "[metabuilder] PR #847: Fix loadFromDirectory tenantId auto-add",
"preview": "mergify[bot] merged pull request #847. loadFromDirectory() was missing the tenantId field...",
"isRead": false,
"isStarred": false,
"hoursAgo": 5,
"body": "mergify[bot] merged pull request #847.\n\nloadFromDirectory() was missing the tenantId field auto-add logic that loadFromFile() already had, causing \"Unknown field: tenantId\" on all entities using the shorthand convention.\n\nFiles changed: 2\nAdditions: 51\nDeletions: 22"
},
{
"id": "3",
"testId": "3",
"from": "Bob Martinez",
"to": ["you@metabuilder.io"],
"cc": ["alice@metabuilder.io"],
"subject": "Re: Database adapter benchmarks",
"preview": "The PostgreSQL adapter is showing 3x throughput improvement with the new connection pool settings...",
"isRead": false,
"isStarred": false,
"hoursAgo": 24,
"body": "The PostgreSQL adapter is showing 3x throughput improvement with the new connection pool settings. Here are the results:\n\n- SQLite: 12,400 ops/sec (dev baseline)\n- PostgreSQL: 8,900 ops/sec → 26,700 ops/sec\n- MySQL: 7,200 ops/sec (unchanged)\n\nI'll push the config changes to the deployment branch.\n\nBob"
},
{
"id": "4",
"testId": "4",
"from": "Docker Hub",
"to": ["you@metabuilder.io"],
"subject": "Build succeeded: metabuilder/dbal:latest",
"preview": "Your automated build for metabuilder/dbal has completed successfully. Image size: 487MB...",
"isRead": true,
"isStarred": false,
"hoursAgo": 27,
"body": "Your automated build for metabuilder/dbal has completed successfully.\n\nImage: metabuilder/dbal:latest\nSize: 487MB\nBuild time: 4m 23s\nLayers: 12"
},
{
"id": "5",
"testId": "5",
"from": "Carol Wu",
"to": ["you@metabuilder.io"],
"subject": "FakeMUI component audit results",
"preview": "Finished the component audit — 167 components across 11 categories. All tests passing...",
"isRead": true,
"isStarred": true,
"hoursAgo": 48,
"body": "Finished the component audit — 167 components across 11 categories. All tests passing.\n\nBreakdown:\n- Core React: 145 components\n- Email: 22 components\n- Icons: 421\n- SCSS modules: 78\n\nThe QML ports are at 104 components. Python bindings cover 15 of the most-used ones.\n\nCarol"
},
{
"id": "6",
"testId": "6",
"from": "Sentry",
"to": ["you@metabuilder.io"],
"subject": "New issue: DBAL fetch failed: 422 Unprocessable Entity",
"preview": "A new error was detected in codegen-frontend. fetchFromDBAL threw an error for unknown entity...",
"isRead": true,
"isStarred": false,
"hoursAgo": 72,
"body": "A new error was detected in codegen-frontend.\n\nError: DBAL fetch failed: 422 Unprocessable Entity\nFile: src/store/middleware/dbalSync.ts:131\nOccurrences: 47\nUsers affected: 3\n\nStack trace:\nfetchFromDBAL @ dbalSync.ts:131\nloadSettings @ layout.tsx:33"
}
]