fix(web): compact model availability warning (#2857)

This commit is contained in:
Carlos Florêncio
2026-08-20 19:52:28 +01:00
committed by GitHub
parent 98b2f3d895
commit fc663a9bba
8 changed files with 381 additions and 62 deletions
+7 -3
View File
@@ -368,8 +368,11 @@ judges added lines even in unmigrated files.
This difference is advisory only.
- Every profile remains selectable.
- A missing host model shows an amber warning and visible secondary text.
- The warning says that the executor decides availability at launch.
- A missing host model shows one amber warning icon beside the profile name.
- On fine pointers, hovering or focusing the warning icon reveals the full
localized advisory that the executor decides availability at launch. On
coarse pointers, tapping the icon opens the same advisory in a drawer. The
advisory is not shown as an always-visible secondary row in the option list.
- The warning does not promise that an explicit fallback will be available.
- The warning does not change the saved profile model.
@@ -439,7 +442,8 @@ E2E (Playwright, `apps/web/e2e`):
- Mock backend (`KANDEV_E2E_MOCK=true`): create a profile whose start model
is not in the host catalog. Make sure that the task-create picker keeps the
profile selectable and shows the advisory warning.
profile selectable, shows one warning icon, and reveals the advisory warning
through the fine-pointer tooltip or coarse-pointer drawer.
- Launch with an executor catalog that omits the profile model. Make sure that
no model-selection call occurs, the task continues, and chat shows one warning.
- Reload the task page. Make sure that the warning remains in chat.