I wonder if this can be used to allow ChatGPT to design/edit the UI for projects, not just generate/edit code:
www.b4x.com
Yeah, ChatGPT could generate all the views via code at runtime, but then you loose the advantages of being able to use the designer to touch things up visually.
Maybe create two batch files:
1) Convert the .BAL files for the current project to JSON, then zip up the project so it can be uploaded to ChatGPT for edits.
2) When ChatGPT is done with the edits you requested (UI and/or code), it will generate the new JSON files (if it modified the UI) and a second batch file will convert them back to .BAL files.
Hmmm....
[B4X] BalConverter - Convert the layouts files to JSON (and vice versa)
Automation tool: https://www.b4x.com/android/forum/threads/b4x-jsonlayouts-synchronize-json-and-binary-layouts.167398/#content BalConverter is a B4J app (desktop app) that converts between the designer layout files and JSON format. This allows you to edit the layout with a text editor. Note...
Yeah, ChatGPT could generate all the views via code at runtime, but then you loose the advantages of being able to use the designer to touch things up visually.
Maybe create two batch files:
1) Convert the .BAL files for the current project to JSON, then zip up the project so it can be uploaded to ChatGPT for edits.
2) When ChatGPT is done with the edits you requested (UI and/or code), it will generate the new JSON files (if it modified the UI) and a second batch file will convert them back to .BAL files.
Hmmm....