feat(frontend): English UI + 'Datamart Builder with Human In The Loop' tagline
The interface is now fully English regardless of the chat language (session titles stay in whatever language the user typed). Changed the right-rail subtitle to 'Datamart Builder with Human In The Loop'. Translated all chrome: new-question/settings dialogs, workflow phase strip (F1-F8), session rail, steer input, widgets (select/multiselect/freetext/fallback/reserved controls) and viewers (SQL, results, schema linking). Test matchers updated in lockstep. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -31,12 +31,12 @@ test("F1: create session -> widget via SSE -> respond -> POST /response", async
|
||||
render(<App />);
|
||||
|
||||
// Open the "Nuova domanda" dialog
|
||||
await userEvent.click(screen.getByRole("button", { name: /nuova/i }));
|
||||
await userEvent.click(screen.getByRole("button", { name: /new/i }));
|
||||
|
||||
// Fill in the question and submit
|
||||
const textarea = await screen.findByLabelText(/domanda/i);
|
||||
const textarea = await screen.findByLabelText(/question/i);
|
||||
await userEvent.type(textarea, "Quante vendite?");
|
||||
await userEvent.click(screen.getByRole("button", { name: /^crea$/i }));
|
||||
await userEvent.click(screen.getByRole("button", { name: /^create$/i }));
|
||||
|
||||
// Wait for the session to be created and SSE to connect
|
||||
await waitFor(() => expect(FakeEventSource.instances).toHaveLength(1));
|
||||
|
||||
Reference in New Issue
Block a user