feat: app Header Update (#4189)

* feat: add new customization components

- Added CustomOrgSelector component
- Added CustomProfileIcon component
- Added CustomProductSelector component
- Added CustomHeaderMenuItemsTitle component
- Added CustomFeedbackDialog component

This commit adds new customization components to the codebase.

* [autofix.ci] apply automated fixes

* refactor: update AppHeader component styling

* refactor: update AppHeader component styling

* refactor: update HeaderMenu component styling

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Deon Sanchez 2024-10-21 13:34:07 -06:00 • committed by GitHub
commit d48ec86121
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
39 changed files with 827 additions and 399 deletions

View file

@ -33,7 +33,11 @@ test("should delete a component", async ({ page }) => {
await page.getByText("Store").nth(0).click();
await page.getByTestId("install-Basic RAG").click();
await page.waitForTimeout(5000);
await page.getByText("My Collection").nth(0).click();
await page.waitForSelector('[data-testid="icon-ChevronLeft"]', {
timeout: 100000,
});
await page.getByTestId("icon-ChevronLeft").first().click();
await page.getByText("Components").first().click();
await page.getByText("Basic RAG").first().isVisible();

View file

@ -39,9 +39,11 @@ test("should delete a flow", async ({ page }) => {
await page.getByTestId("install-Website Content QA").click();
await page.getByText("Flow Installed Successfully.").nth(0).click();
await page.waitForSelector("text=My Collection", { timeout: 30000 });
await page.waitForSelector('[data-testid="icon-ChevronLeft"]', {
timeout: 100000,
});
await page.getByText("My Collection").nth(0).click();
await page.getByTestId("icon-ChevronLeft").first().click();
await page.waitForSelector("text=Website Content QA", { timeout: 30000 });

View file

@ -162,13 +162,13 @@ The future of AI is both exciting and uncertain. As the technology continues to
titleNumber = await page.getByText(randomTitle).count();
expect(titleNumber).toBe(3);
await page.getByTestId("note_node").last().click();
await page.getByTestId("note_node").nth(0).focus();
await page.getByTestId("more-options-modal").click();
await page.getByText("Delete").last().click();
await page.waitForTimeout(1000);
await page.getByTestId("note_node").last().click();
await page.getByTestId("note_node").nth(0).click();
await page.getByTestId("more-options-modal").click();
await page.getByText("Delete").last().click();

View file

@ -109,8 +109,11 @@ test("should like and add components and flows", async ({ page }) => {
await page.waitForTimeout(1000);
await page.getByText("Component Installed Successfully").isVisible();
await page.getByText("My Collection").click();
await page.waitForTimeout(1000);
await page.waitForSelector('[data-testid="icon-ChevronLeft"]', {
timeout: 100000,
});
await page.getByTestId("icon-ChevronLeft").first().click();
await page.waitForSelector("text=Website Content QA", { timeout: 30000 });