mirror of
https://github.com/Sea-Haven-Industries/meal-order-manager.git
synced 2026-09-30 08:53:13 +00:00
Some checks are pending
Deploy / deploy (push) Waiting to run
* refactor(form): extract Jinja templates and lock form JS in CI Split the monolithic generate_form f-string into form.html.j2/css/js plus admin.js, inject a single window.CONFIG blob, and add structural plus Playwright coverage so qty delegation and clamp stay green in CI. * Update src/server/generate_form.py Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * fix(form): isolate admin script bindings * fix(form): address admin and form review findings * fix(form): resolve remaining review nitpicks * ci(workflow): restore required check context Keep the reusable workflow caller job compatible with the organization-required ci / ci status check. * fix(form): address remaining review findings * fix: apply CodeRabbit auto-fixes Fixed 1 file(s) based on 1 unresolved review comment. Co-authored-by: CodeRabbit <noreply@coderabbit.ai> --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
60 lines
No EOL
1.3 KiB
JSON
60 lines
No EOL
1.3 KiB
JSON
{
|
|
"scraped_at": "2026-07-27T12:00:00+00:00",
|
|
"meal_count": 5,
|
|
"meals": [
|
|
{
|
|
"name": "Chicken Bowl",
|
|
"price": 12.0,
|
|
"calories": "500",
|
|
"protein": "40g",
|
|
"description": "Simple bowl",
|
|
"dietary_tags": [
|
|
"High Protein"
|
|
],
|
|
"image_url": "",
|
|
"is_new": false
|
|
},
|
|
{
|
|
"name": "Luis' Lomo Saltado",
|
|
"price": 14.5,
|
|
"calories": "620",
|
|
"protein": "35g",
|
|
"description": "With onions",
|
|
"dietary_tags": [],
|
|
"image_url": "",
|
|
"is_new": true
|
|
},
|
|
{
|
|
"name": "Meal with \"quotes\"",
|
|
"price": 11.0,
|
|
"calories": "400",
|
|
"protein": "20g",
|
|
"description": "Quoted",
|
|
"dietary_tags": [
|
|
"<b>tag</b>"
|
|
],
|
|
"image_url": "",
|
|
"is_new": false
|
|
},
|
|
{
|
|
"name": "</script><script>alert(1)</script>",
|
|
"price": 9.0,
|
|
"calories": "300",
|
|
"protein": "10g",
|
|
"description": "Hostile script",
|
|
"dietary_tags": [],
|
|
"image_url": "",
|
|
"is_new": false
|
|
},
|
|
{
|
|
"name": "<!--<script>alert(1)</script>-->",
|
|
"price": 9.0,
|
|
"calories": "300",
|
|
"protein": "10g",
|
|
"description": "Hostile script comment",
|
|
"dietary_tags": [],
|
|
"image_url": "",
|
|
"is_new": false
|
|
}
|
|
]
|
|
} |