Skip to content

Conversation

niallroche
Copy link

  • Add Template Metadata editor with form fields for template properties
  • Add Template Logic editor with TypeScript/JavaScript code editor
  • Add API Upload component with template upload and agreement creation
  • Implement configurable API server URL via VITE_API_SERVER_URL env var
  • Add Vite proxy configuration to avoid CORS issues
  • Update store to include template metadata and logic state
  • Add templateApi utility functions for API communication
  • Fix agreement creation with required fields (uri, agreementStatus, template, metadata.values)
  • Generate unique template URIs with timestamps to prevent duplicates
  • Update README with API configuration documentation
  • Add comprehensive API upload features documentation

- Add Template Metadata editor with form fields for template properties
- Add Template Logic editor with TypeScript/JavaScript code editor
- Add API Upload component with template upload and agreement creation
- Implement configurable API server URL via VITE_API_SERVER_URL env var
- Add Vite proxy configuration to avoid CORS issues
- Update store to include template metadata and logic state
- Add templateApi utility functions for API communication
- Fix agreement creation with required fields (uri, agreementStatus, template, metadata.values)
- Generate unique template URIs with timestamps to prevent duplicates
- Update README with API configuration documentation
- Add comprehensive API upload features documentation
@niallroche niallroche requested a review from a team as a code owner July 23, 2025 20:21
Copy link

netlify bot commented Jul 23, 2025

Deploy Preview for ap-template-playground ready!

Name Link
🔨 Latest commit b38e9d7
🔍 Latest deploy log https://app.netlify.com/projects/ap-template-playground/deploys/688147da0486ed00084d0b57
😎 Deploy Preview https://deploy-preview-395--ap-template-playground.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

- Add 'for-each' package to optimizeDeps.exclude to fix dependency resolution
- Fix React refresh preamble duplication causing variable declaration errors
- Ensure development server runs without build errors
- Maintain API proxy configuration for APAI server integration
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a great feature!

I haven't tested the functionality, but looking at the UI, I have a little suggestion.

Having Template Logic with the other three existing editors makes perfect sense but should we think about some other place for Template Metadata and API Upload features? They could perhaps be popups with their buttons placed somewhere in the "Load Sample" row.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants