35 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
f181bb870a Merge pull request #201 from johndoe6345789/codex/add-json-registry-validation-script
Add JSON component registry export validation
2026-01-18 18:49:57 +00:00
b8dc6f38e6 Generate JSON UI component types 2026-01-18 18:46:02 +00:00
73959e3d48 Add registry export validation script 2026-01-18 18:45:39 +00:00
dc0cb8d873 Merge branch 'main' into codex/validate-json-schemas-at-build-time 2026-01-18 12:41:10 +00:00
d725045671 Add schema validation for JSON UI 2026-01-18 12:40:51 +00:00
ec78ec0f9b Add JSON UI schema linting 2026-01-18 12:40:16 +00:00
a92c95c28a Add supported component validation check 2026-01-18 12:27:20 +00:00
copilot-swe-agent[bot]
8b00890b9c Fix component registry to include all atoms, molecules, and organisms with JSON compatibility analysis
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-17 22:10:51 +00:00
copilot-swe-agent[bot]
933f6ed1a0 Add script to list JSON-compatible components
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-17 21:49:59 +00:00
f58c7ac857 Generated by Spark: Implement Redux, Integrate redux into IndexedDB / Flask API system. 2026-01-17 21:01:23 +00:00
0d1a4c4c2b Generated by Spark: Remove packages folder and packages folder references. Use IndexedDB by default. Give user option to use Flask API, if Flask fails, switch back to IndexedDB. 2026-01-17 19:13:16 +00:00
3485cdd3fa Generated by Spark: Remove packages folder and packages folder references 2026-01-17 19:09:25 +00:00
855257f392 Generated by Spark: Is there a simpler way for the docker image to serve up the app? Its really glitchy when deploying to caprover 2026-01-17 17:00:11 +00:00
66bd3f3e42 Generated by Spark: I did some reasearch - we can remove --legacy-peer-deps by using stuff like "overrides": {
"some-package": {
    "react": "^18.2.0"
  }
}
2026-01-17 13:32:33 +00:00
f6108cd08e Generated by Spark: Fix all reported errors. 2026-01-17 09:52:30 +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]
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
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
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