95c48c77d9
Two unrelated UX issues in the Knowledge Base manage tab:
1. Double-commit 400 error. The polling tick at index.js:1217 was
blindly overwriting a locally-set 'committing' status with whatever
the server reported. If the GET /batch poll raced ahead of the POST
commitJob reaching the DB, the card flipped back to 'awaiting_review',
the "אשר הכל" button re-enabled, and a second click triggered a duplicate
commit which the backend rejected with HTTP 400 ("job N is in status
'done', expected 'awaiting_review'"). Fix: never downgrade
'committing' → 'awaiting_review' from the polling response.
2. Admin tab scrolling. The "מקורות בנושא", "תוויות תת-נושא" and
"משימות אחרונות" panels were always expanded on tab entry, pushing
the actual upload form far down the page. Wrapped each in a
collapsible body with a chevron toggle, default collapsed. Data
lazy-loads on first expand.
Refs Task Master #21
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
15 lines
426 B
JSON
15 lines
426 B
JSON
{
|
|
"name": "KnowledgeBase",
|
|
"module": "KnowledgeBase",
|
|
"version": "0.8.1",
|
|
"acceptableVersions": [
|
|
">=8.0.0"
|
|
],
|
|
"php": [
|
|
">=8.1"
|
|
],
|
|
"releaseDate": "2026-04-26",
|
|
"author": "klear",
|
|
"description": "Knowledge Base — Israeli National Insurance law, regulations, and circulars. Hybrid search + ask-shira, powered by shira-hermes KB.",
|
|
"displayLabel": "מאגר ידע"
|
|
} |