Commit Graph

32 Commits

Author SHA1 Message Date
809803283b feat: Add JSON definitions for menu, password input, and popover components
- Introduced `menu.json` for menu component structure with bindings for trigger and content.
- Created `password-input.json` for password input handling visibility and value changes.
- Added `popover.json` for popover component with trigger and content bindings.

feat: Implement custom hooks for UI interactions

- Added `useAccordion` for managing accordion state with single/multiple item support.
- Created `useBindingEditor` for managing bindings in a dynamic editor.
- Implemented `useCopyState` for clipboard copy functionality with feedback.
- Developed `useFileUpload` for handling file uploads with drag-and-drop support.
- Introduced `useFocusState` for managing focus state in components.
- Created `useImageState` for handling image loading and error states.
- Added `useMenuState` for managing menu interactions and item clicks.
- Implemented `usePasswordVisibility` for toggling password visibility.
- Developed `usePopoverState` for managing popover visibility and interactions.

feat: Add constants and interfaces for JSON UI components

- Introduced constants for sizes, placements, styles, and object-fit handling.
- Created interfaces for various components including Accordion, Binding Editor, Copy Button, Data Source Editor, File Upload, and more.
- Added type definitions for menu items, popover props, and other UI elements to enhance type safety and maintainability.
2026-01-19 01:30:42 +00:00
copilot-swe-agent[bot]
56aeb492e6 Initial plan: Root cause analysis of JSON component system
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-18 21:52:57 +00:00
aa51074380 Remove 123 simple TypeScript components now defined in JSON
Deleted files:
- 71 simple atoms (ActionIcon, Alert, AppLogo, Avatar, Badge, Chip, etc.)
- 21 simple molecules (ActionBar, AppBranding, DataCard, etc.)
- 8 simple organisms (EmptyCanvasState, PageHeader, SchemaEditorCanvas, etc.)
- 23 simple UI components (accordion, alert, button, card, etc.)

Changes:
- Created cleanup-simple-components.ts script to automate deletion
- Created update-index-exports.ts script to update index files
- Updated index.ts in atoms/, molecules/, organisms/ to remove deleted exports
- Installed npm dependencies

Remaining TypeScript components (kept for complexity):
- 46 atoms wrapping UI or with hooks
- 20 molecules with complex logic
- 6 organisms with state management
- 11 UI components with advanced features

Total: 317 components now have JSON definitions, 123 TypeScript files deleted (39% reduction)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-18 19:45:25 +00:00
d725045671 Add schema validation for JSON UI 2026-01-18 12:40:51 +00:00
f58c7ac857 Generated by Spark: Implement Redux, Integrate redux into IndexedDB / Flask API system. 2026-01-17 21:01:23 +00:00
693001543b stuff 2026-01-17 20:41:48 +00:00
c06d538eea stuff 2026-01-17 19:35:08 +00:00
519ad0016d Generated by Spark: Ok I figured it out. Make a backend folder, put a flask backend in it with a Dockerfile. Main UI uses IndexedDB then with a UI setting, it can be moved to the flask backend. 2026-01-17 18:31:43 +00:00
6a17b4ea45 pkglock 2026-01-17 15:42:20 +00:00
0340146c40 Generated by Spark: Fix all reported errors. 2026-01-17 14:29:10 +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
copilot-swe-agent[bot]
48135a172b Initial plan for fixing TypeScript compilation errors
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-17 08:52:41 +00:00
copilot-swe-agent[bot]
3c16bcc9a7 Add regenerated package-lock.json with workspace dependencies
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-17 00:56:44 +00:00
copilot-swe-agent[bot]
5ee0a16040 Fix TypeScript types for window.spark API compatibility
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-17 00:55:31 +00:00
copilot-swe-agent[bot]
5816a241e0 Fix CI/CD issues: Add @github/spark package and ESLint config
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-17 00:36:18 +00:00
2f626534a6 Generated by Spark: Copilot Chat
Please find a solution for this failing job. Use the logs, job definition, and any referenced files where the failure occurred. Keep your response focused on the solution and include code suggestions when appropriate.
1 reference
The job failed because your package-lock.json file is not in sync with package.json. Specific issues from the logs include:

The lock file has @github/spark@0.0.1 but package.json asks for @github/spark@0.44.15.
Several dependencies (like octokit and its plugins) are required by package.json but missing from the lock file.
Solution:

On your local machine, run:

Code
npm install
This will update your package-lock.json to match your current package.json.

Commit both package.json and the updated package-lock.json, then push the changes to your repository.

Re-run the workflow.

This will ensure npm ci works as expected and resolves the lock file errors. If you have multiple contributors, make sure everyone uses the updated files to avoid future sync issues.
2026-01-17 00:18:55 +00:00
3ade27138b Generated by Spark: Fix all reported errors. 2026-01-16 23:11:17 +00:00
ce8a615d8e Merge pull request #1 from johndoe6345789/dependabot/npm_and_yarn/tailwindcss/postcss-4.1.18
Bump @tailwindcss/postcss from 4.1.17 to 4.1.18
2026-01-16 19:08:40 +00:00
f3e89945cb Merge pull request #2 from johndoe6345789/dependabot/npm_and_yarn/vite-7.3.1
Bump vite from 7.2.6 to 7.3.1
2026-01-16 19:08:26 +00:00
057936b4e2 Merge pull request #3 from johndoe6345789/dependabot/npm_and_yarn/zod-4.3.5
Bump zod from 3.25.76 to 4.3.5
2026-01-16 19:08:10 +00:00
644191c0fd Merge pull request #4 from johndoe6345789/dependabot/npm_and_yarn/globals-17.0.0
Bump globals from 16.5.0 to 17.0.0
2026-01-16 19:07:53 +00:00
dependabot[bot]
bb0d9de117 Bump @tailwindcss/postcss from 4.1.17 to 4.1.18
Bumps [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) from 4.1.17 to 4.1.18.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.18/packages/@tailwindcss-postcss)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-version: 4.1.18
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-16 16:15:41 +00:00
dependabot[bot]
59b60f7da2 Bump zod from 3.25.76 to 4.3.5
Bumps [zod](https://github.com/colinhacks/zod) from 3.25.76 to 4.3.5.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](https://github.com/colinhacks/zod/compare/v3.25.76...v4.3.5)

---
updated-dependencies:
- dependency-name: zod
  dependency-version: 4.3.5
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-16 16:15:41 +00:00
dependabot[bot]
0c624862e9 Bump globals from 16.5.0 to 17.0.0
Bumps [globals](https://github.com/sindresorhus/globals) from 16.5.0 to 17.0.0.
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v16.5.0...v17.0.0)

---
updated-dependencies:
- dependency-name: globals
  dependency-version: 17.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-16 16:15:41 +00:00
dependabot[bot]
2a52b7b56d Bump eslint from 9.39.1 to 9.39.2
Bumps [eslint](https://github.com/eslint/eslint) from 9.39.1 to 9.39.2.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v9.39.1...v9.39.2)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.39.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-16 16:15:38 +00:00
dependabot[bot]
b24290fcf0 Bump vite from 7.2.6 to 7.3.1
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 7.2.6 to 7.3.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v7.3.1/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.3.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 7.3.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-16 16:15:30 +00:00
7f1f37ba93 Generated by Spark: The arrows are super jank and dont work too well, probably needs rework. Can a 3rd party lib help? 2026-01-16 16:14:21 +00:00
3c8698554c Generated by Spark: I think your going to have to write a playwright test to ensure the app works and generates code properly 2026-01-16 03:12:14 +00:00
97530c2c9b Generated by Spark: Work on remaining roadmap 2026-01-16 02:00:33 +00:00
3905226082 Generated by Spark: Any non standard material UI CSS uses sass 2026-01-16 01:48:07 +00:00
e5557fbfa9 Generated by Spark: Make a React app that can code generate Next.js, Material UI and GHCR apps. It should have Monaco editor for programming actions. It needs a model designer (Prisma?). Try to keep it low code and add gui designers for stylin, component tree and other aspects of generating a react app. 2026-01-16 00:38:18 +00:00
0cc2aebec1 Initial commit 2026-01-16 00:32:24 +00:00