Commit Graph

39 Commits

Author SHA1 Message Date
ae965726ec Merge pull request #59 from johndoe6345789/codex/refactor-templateexplorer-and-templateselector
Make TemplateSelector/Explorer UI JSON-driven and componentized
2026-01-18 00:44:43 +00:00
e46f01fd2c Refactor template UI text and sections 2026-01-18 00:44:31 +00:00
e427fc326f Merge pull request #58 from johndoe6345789/codex/refactor-jsondemopage-to-improve-structure
Refactor JSON demo and showcase into configs and smaller components
2026-01-18 00:44:13 +00:00
8b0cc856da Refactor JSON demo and showcase configs 2026-01-18 00:44:03 +00:00
dc96dc2498 Refactor feature toggle settings data 2026-01-18 00:42:29 +00:00
copilot-swe-agent[bot]
d4512a3e98 Remove duplicate components, prefer JSON versions
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-17 21:31:38 +00:00
98f4b49edf Generated by Spark: Create Redux persistence middleware to sync state with database automatically 2026-01-17 21:14:31 +00:00
45454ac34b Generated by Spark: Add conflict resolution UI for handling sync conflicts between local and remote data 2026-01-17 21:08:10 +00:00
4dfded3533 Generated by Spark: @johndoe6345789 ➜ /workspaces/low-code-react-app-b (main) $ npm run build
> spark-template@0.0.0 prebuild
> mkdir -p /tmp/dist || true

> spark-template@0.0.0 build
> tsc -b --noCheck && vite build

vite v7.3.1 building client environment for production...
<script src="/runtime-config.js"> in "/index.html" can't be bundled without type="module" attribute
✓ 37 modules transformed.
✗ Build failed in 1.07s
error during build:
[vite]: Rollup failed to resolve import "@github/spark/hooks" from "/workspaces/low-code-react-app-b/src/hooks/use-project-state.ts".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`
    at viteLog (file:///workspaces/low-code-react-app-b/node_modules/vite/dist/node/chunks/config.js:33635:57)
    at file:///workspaces/low-code-react-app-b/node_modules/vite/dist/node/chunks/config.js:33669:73
    at onwarn (file:///workspaces/low-code-react-app-b/node_modules/@vitejs/plugin-react-swc/index.js:76:7)
    at file:///workspaces/low-code-react-app-b/node_modules/vite/dist/node/chunks/config.js:33669:28
    at onRollupLog (file:///workspaces/low-code-react-app-b/node_modules/vite/dist/node/chunks/config.js:33664:63)
    at onLog (file:///workspaces/low-code-react-app-b/node_modules/vite/dist/node/chunks/config.js:33467:4)
    at file:///workspaces/low-code-react-app-b/node_modules/rollup/dist/es/shared/node-entry.js:20961:32
    at Object.logger [as onLog] (file:///workspaces/low-code-react-app-b/node_modules/rollup/dist/es/shared/node-entry.js:22848:9)
    at ModuleLoader.handleInvalidResolvedId (file:///workspaces/low-code-react-app-b/node_modules/rollup/dist/es/shared/node-entry.js:21592:26)
    at file:///workspaces/low-code-react-app-b/node_modules/rollup/dist/es/shared/node-entry.js:21550:26
@johndoe6345789 ➜ /workspaces/low-code-react-app-b (main) $
2026-01-17 19:39:46 +00:00
bad1e7b0f7 Generated by Spark: View ROADMAP.md - work on Near-Term (Next 2-3 Iterations) 2026-01-17 17:18:02 +00:00
640c861ac2 Generated by Spark: Load molecule and organism component trees from json 2026-01-17 16:54:00 +00:00
b240fb0b9b Generated by Spark: Make atomic component library until done. If done, just wire them into other components. 2026-01-17 16:13:03 +00:00
8e677175fc Generated by Spark: half the app is gone, it was a code gen 2026-01-17 15:08:28 +00:00
fcdb50557a Generated by Spark: Error: src/components/JSONFlaskDesigner.tsx(5,28): error TS2322: Type '{ config: { id: string; name: string; layout: { type: string; }; dataSources: ({ id: string; type: string; key: string; defaultValue: { appName: string; version: string; port: number; debug: boolean; cors: boolean; blueprints: never[]; }; compute?: undefined; dependencies?: undefined; } | { ...; } | { ...; } | { ......' is not assignable to type 'IntrinsicAttributes & ComponentRendererProps'.
Property 'config' does not exist on type 'IntrinsicAttributes & ComponentRendererProps'.
Error: src/components/JSONLambdaDesigner.tsx(5,28): error TS2322: Type '{ config: { name: string; layout: { type: string; }; dataSources: ({ id: string; key: string; type: string; defaultValue?: undefined; compute?: undefined; dependencies?: undefined; } | { id: string; type: string; defaultValue: null; key?: undefined; compute?: undefined; dependencies?: undefined; } | { ...; } | { ......' is not assignable to type 'IntrinsicAttributes & ComponentRendererProps'.
  Property 'config' does not exist on type 'IntrinsicAttributes & ComponentRendererProps'.
Error: src/components/JSONStyleDesigner.tsx(5,28): error TS2322: Type '{ config: { id: string; name: string; layout: { type: string; }; dataSources: ({ id: string; type: string; key: string; defaultValue: { activeVariantId: string; variants: { id: string; name: string; colors: { ...; }; }[]; typography: { ...; }; }; compute?: undefined; dependencies?: undefined; } | { ...; } | { ...; }...' is not assignable to type 'IntrinsicAttributes & ComponentRendererProps'.
  Property 'config' does not exist on type 'IntrinsicAttributes & ComponentRendererProps'.
Error: src/components/JSONWorkflowDesigner.tsx(11,18): error TS2352: Conversion of type '{ name: string; layout: { type: string; }; dataSources: ({ id: string; key: string; type: string; defaultValue?: undefined; compute?: undefined; dependencies?: undefined; } | { id: string; type: string; defaultValue: null; key?: undefined; compute?: undefined; dependencies?: undefined; } | { ...; } | { ...; } | { .....' to type 'PageSchema' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
  Property 'id' is missing in type '{ name: string; layout: { type: string; }; dataSources: ({ id: string; key: string; type: string; defaultValue?: undefined; compute?: undefined; dependencies?: undefined; } | { id: string; type: string; defaultValue: null; key?: undefined; compute?: undefined; dependencies?: undefined; } | { ...; } | { ...; } | { .....' but required in type 'PageSchema'.
Error: src/components/ProjectDashboard.tsx(81,11): error TS2322: Type '{ icon: Element; title: string; value: number; description: string; color: string; }' is not assignable to type 'IntrinsicAttributes & StatCardProps'.
  Property 'title' does not exist on type 'IntrinsicAttributes & StatCardProps'.
Error: src/components/ProjectDashboard.tsx(89,11): error TS2322: Type '{ icon: Element; title: string; value: number; description: string; color: string; }' is not assignable to type 'IntrinsicAttributes & StatCardProps'.
  Property 'title' does not exist on type 'IntrinsicAttributes & StatCardProps'.
Error: src/components/ProjectDashboard.tsx(97,11): error TS2322: Type '{ icon: Element; title: string; value: number; description: string; color: string; }' is not assignable to type 'IntrinsicAttributes & StatCardProps'.
  Property 'title' does not exist on type 'IntrinsicAttributes & StatCardProps'.
Error: src/components/ProjectDashboard.tsx(105,11): error TS2322: Type '{ icon: Element; title: string; value: number; description: string; color: string; }' is not assignable to type 'IntrinsicAttributes & StatCardProps'.
  Property 'title' does not exist on type 'IntrinsicAttributes & StatCardProps'.
Error: src/components/ProjectDashboard.tsx(113,11): error TS2322: Type '{ icon: Element; title: string; value: number; description: string; color: string; }' is not assignable to type 'IntrinsicAttributes & StatCardProps'.
  Property 'title' does not exist on type 'IntrinsicAttributes & StatCardProps'.
Error: src/components/ProjectDashboard.tsx(121,11): error TS2322: Type '{ icon: Element; title: string; value: number; description: string; color: string; }' is not assignable to type 'IntrinsicAttributes & StatCardProps'.
  Property 'title' does not exist on type 'IntrinsicAttributes & StatCardProps'.
Error: src/components/index.ts(2,1): error TS2308: Module './atoms' has already exported a member named 'EmptyState'. Consider explicitly re-exporting to resolve the ambiguity.
Error: src/components/index.ts(2,1): error TS2308: Module './atoms' has already exported a member named 'LoadingState'. Consider explicitly re-exporting to resolve the ambiguity.
Error: src/components/index.ts(2,1): error TS2308: Module './atoms' has already exported a member named 'StatCard'. Consider explicitly re-exporting to resolve the ambiguity.
Error: Process completed with exit code 2.
2026-01-17 13:13:39 +00:00
b8168ded76 Generated by Spark: Ensure / route is wired up with some JSON config. 2026-01-17 12:54:05 +00:00
afe2bf1724 Generated by Spark: Fix all reported errors. 2026-01-17 12:45:11 +00:00
944e164deb Generated by Spark: Load more of UI from JSON declarations and break up large components into atomic and create hooks as needed 2026-01-17 12:01:34 +00:00
165c8d3847 Edited Spark 2026-01-17 11:57:11 +00:00
1819e3d598 Generated by Spark: Convert remaining pages (Lambdas, Styling, Flask API) to JSON-driven configuration 2026-01-17 11:55:55 +00:00
c1653ac226 Edited Spark 2026-01-17 11:49:01 +00:00
83dd57f259 Generated by Spark: Convert more pages to JSON-driven configuration (Models, Components, Workflows) 2026-01-17 11:46:36 +00:00
3ae07db657 Generated by Spark: Load more of UI from JSON declarations and break up large components into atomic and create hooks as needed 2026-01-17 11:38:28 +00:00
d84c221e6e Generated by Spark: Add data source binding UI to connect components to KV storage and computed values 2026-01-17 11:10:54 +00:00
9b9f0da541 Generated by Spark: Build a visual schema editor to create JSON UI configs through drag-and-drop 2026-01-17 11:03:10 +00:00
1176959d4a Generated by Spark: Load more of UI from JSON declarations 2026-01-17 10:22:57 +00:00
eb895f70f5 Generated by Spark: Add workflow filtering by status (success, failed, running) 2026-01-17 10:06:37 +00:00
d159c5e8c7 Generated by Spark: Github build status information on dashboard - https://github.com/johndoe6345789/low-code-react-app-b/actions 2026-01-17 09:56:58 +00:00
017d0c9b31 Generated by Spark: Add route-based code splitting with React Router for even better performance 2026-01-17 09:23:25 +00:00
da8532dd11 Generated by Spark: I see loading screen, which is fine but we need really good console.log trace logging so i can trace the initialisation flow 2026-01-17 02:03:46 +00:00
128d2ae6f4 Generated by Spark: Got weird problem - Publish to https://low-code-react-app-b--johndoe6345789.github.app/ works fine but preview just shows Purple dot and loading.. + white page 2026-01-17 00:07:35 +00:00
90e3cb9c4d Generated by Spark: Create seed data templates for different project types (e-commerce, blog, dashboard) 2026-01-16 23:57:29 +00:00
d2e29363f5 Generated by Spark: Now just use said json data as seed data and load it all from database 2026-01-16 23:45:29 +00:00
838abcb618 Generated by Spark: Add props configuration to pages.json for dynamic component props 2026-01-16 23:30:20 +00:00
5bb96235e0 Generated by Spark: Oh wow I clicked publish and it works. Can we make better use of the new declarative system? 2026-01-16 23:18:26 +00:00
3ade27138b Generated by Spark: Fix all reported errors. 2026-01-16 23:11:17 +00:00
8d568fbdbb Generated by Spark: Fix blockers preventing page from loading / implement missing functionality 2026-01-16 19:16:07 +00:00
c5e486859f Generated by Spark: Too risky making changes without refactoring now. Create hook library, All components <150LOC. Consider orchestrating pages using json. JSON can describe actions, hooks, component tree, seed data you name it. 2026-01-16 19:04:10 +00:00
e29e8b7361 Generated by Spark: Too risky making changes without refactoring now. Create hook library, All components <150LOC. Consider orchestrating pages using json. JSON can describe actions, hooks, component tree, seed data you name it. 2026-01-16 18:49:21 +00:00
84de7766c8 Generated by Spark: Too risky making changes without refactoring now. Create hook library, All components <150LOC. Consider orchestrating pages using json. 2026-01-16 18:19:27 +00:00