From 9c2fdee2f862a74fc55a38ff43fa5ed8401647c9 Mon Sep 17 00:00:00 2001 From: johndoe6345789 Date: Fri, 9 Jan 2026 15:04:18 +0000 Subject: [PATCH] Add dynamic JSON-driven autocomplete: Update metadata.json with suggestion lists, refactor HTML templates to use metadata-driven datalists, and extend UI tests to cover autocomplete verification. --- prompt.yml | 3 ++ src/autometabuilder/metadata.json | 13 ++++++++ src/autometabuilder/web/templates/index.html | 33 +++++++------------- tests/ui/test_web_ui.py | 33 ++++++++++++++++++++ 4 files changed, 61 insertions(+), 21 deletions(-) diff --git a/prompt.yml b/prompt.yml index 19794d2..d3b2c5b 100644 --- a/prompt.yml +++ b/prompt.yml @@ -22,6 +22,9 @@ messages: properly documented. Update ROADMAP.md as you complete tasks. model: openai/gpt-4o +# Test Comment +# Test Comment +# Test Comment # Test Comment # Test Comment # Test Comment diff --git a/src/autometabuilder/metadata.json b/src/autometabuilder/metadata.json index 45e7a61..49c03da 100644 --- a/src/autometabuilder/metadata.json +++ b/src/autometabuilder/metadata.json @@ -10,6 +10,19 @@ }, "project_name": "AutoMetabuilder", "version": "1.0.0", + "suggestions": { + "languages": ["en", "es", "fr", "nl", "de", "it", "ja", "zh", "pirate"], + "env_keys": ["GITHUB_TOKEN", "OPENAI_API_KEY", "LOG_LEVEL"], + "env_values": ["INFO", "DEBUG", "WARNING", "ERROR"], + "task_names": [ + "Initialize Project", + "Analyze Requirements", + "Generate Code", + "Run Tests", + "Deploy", + "Iterative Refinement" + ] + }, "step_definitions": { "load_context": { "label": "Load Project Context", diff --git a/src/autometabuilder/web/templates/index.html b/src/autometabuilder/web/templates/index.html index 11ec76b..83b5942 100644 --- a/src/autometabuilder/web/templates/index.html +++ b/src/autometabuilder/web/templates/index.html @@ -50,14 +50,9 @@
-
@@ -99,18 +94,17 @@ {% for key in env_vars.keys() %}