fix(027): stabilize shared acceptance gates and compatibility collateral

This commit is contained in:
2026-03-17 11:07:49 +03:00
parent 023bacde39
commit 18bdde0a81
19 changed files with 749 additions and 552 deletions

View File

@@ -48,7 +48,7 @@ describe('AssistantChatPanel integration contract', () => {
const source = fs.readFileSync(COMPONENT_PATH, 'utf-8');
expect(source).toContain('<!-- [DEF' + ':AssistantChatPanel:Component] -->');
expect(source).toContain('@TIER' + ': CRITICAL');
expect(source).toContain('@COMPLEXITY: 5');
expect(source).toContain('@UX_STATE: LoadingHistory');
expect(source).toContain('@UX_STATE: Sending');
expect(source).toContain('@UX_STATE: Error');

View File

@@ -32,7 +32,8 @@
let { reports = [], selectedReportId = null, onselect } = $props();
function handleSelect(event) {
if (onselect) onselect({ report: event.detail.report });
const report = event?.detail?.report ?? event?.report ?? null;
if (onselect && report) onselect({ report });
}
</script>

View File

@@ -238,11 +238,15 @@ describe("profile-settings-state.integration", () => {
expect(mockedApi.updateProfilePreferences).toHaveBeenCalledWith({
superset_username: "new_user",
show_only_my_dashboards: true,
show_only_slug_dashboards: true,
git_username: null,
git_email: null,
start_page: "dashboards",
auto_open_task_drawer: true,
dashboards_table_density: "comfortable",
telegram_id: null,
email_address: null,
notify_on_fail: true,
});
});