fix(027): stabilize shared acceptance gates and compatibility collateral
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user