fix(ui): resolve merge conflict markers in settings.html and add CI guard
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
@@ -46,6 +46,13 @@ jobs:
|
|||||||
- name: Show Ruff version (debug)
|
- name: Show Ruff version (debug)
|
||||||
run: ruff --version
|
run: ruff --version
|
||||||
|
|
||||||
|
- name: Check for merge conflict markers
|
||||||
|
run: |
|
||||||
|
if git grep -rn -E '^(<{7} |>{7} |={7}$)' -- '.'; then
|
||||||
|
echo "ERROR: Merge conflict markers found in tracked files."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Run Ruff Lint (check)
|
- name: Run Ruff Lint (check)
|
||||||
# ruff check can --fix locally, but CI should only check (no modifications)
|
# ruff check can --fix locally, but CI should only check (no modifications)
|
||||||
run: ruff check app/ tests/
|
run: ruff check app/ tests/
|
||||||
|
|||||||
@@ -139,7 +139,6 @@
|
|||||||
Enable {{ setting.key.replace('_', ' ').title() }}
|
Enable {{ setting.key.replace('_', ' ').title() }}
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<<<<<<< copilot/add-self-hosted-ocr-support
|
|
||||||
{% elif setting.metadata.type == 'multiselect' and setting.metadata.options %}
|
{% elif setting.metadata.type == 'multiselect' and setting.metadata.options %}
|
||||||
<!-- Multi-select checkboxes: stored as comma-separated string -->
|
<!-- Multi-select checkboxes: stored as comma-separated string -->
|
||||||
<div class="flex flex-wrap gap-2 mt-1">
|
<div class="flex flex-wrap gap-2 mt-1">
|
||||||
@@ -161,7 +160,6 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
<p class="mt-1 text-xs text-gray-400">Effective value: <code x-text="formData['{{ setting.key }}'] || '(none)'"></code></p>
|
<p class="mt-1 text-xs text-gray-400">Effective value: <code x-text="formData['{{ setting.key }}'] || '(none)'"></code></p>
|
||||||
=======
|
|
||||||
{% elif setting.metadata.type == 'model_picker' %}
|
{% elif setting.metadata.type == 'model_picker' %}
|
||||||
<!-- Model Picker: free-text input with datalist of common models -->
|
<!-- Model Picker: free-text input with datalist of common models -->
|
||||||
<div class="relative">
|
<div class="relative">
|
||||||
@@ -185,7 +183,6 @@
|
|||||||
Pick from the list or type any model name supported by your provider.
|
Pick from the list or type any model name supported by your provider.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
>>>>>>> main
|
|
||||||
{% elif setting.metadata.options %}
|
{% elif setting.metadata.options %}
|
||||||
<!-- Dropdown Select for fields with a fixed list of values -->
|
<!-- Dropdown Select for fields with a fixed list of values -->
|
||||||
<select
|
<select
|
||||||
|
|||||||
Reference in New Issue
Block a user