mirror of
https://github.com/dartdavros/chatballs.git
synced 2026-10-05 09:14:58 +03:00
💄 feat(ui): drop residual Hub branding in sidebars, auth and notifications
The Hub→CustoCRM rebrand (192497e) missed five user-facing strings and the
matching Playwright selector. The sidebars still offered «Назад в Hub»,
the auth recovery/reset success states still referred to «в Hub», and the
MAX/Telegram notifier hint told staff to open «профиль в Hub».
Replace the last Hub references with the product name CustoCRM (auth,
notifier hint) or drop the qualifier entirely (sidebar back button, which
just returns to the command center). Update the Playwright selector that
asserted the «Назад в Hub» button is absent for operators.
- layout/SalesSidebar.tsx, layout/SupportSidebar.tsx: «Назад в Hub» → «Назад»
- features/auth/AuthPasswordRecovery.tsx, AuthResetPassword.tsx: «в Hub» → «в CustoCRM»
- notifications/binding.py: «профиль в Hub» → «профиль в CustoCRM»
- tests/e2e/internal-ui.spec.ts: selector «Назад в Hub» → «Назад»
This commit is contained in:
1 parent
a79015e044
commit
8d14e16cd3
6 files changed
+6
-6
No files matched your search
@@ -162,7 +162,7 @@ test("OPERATOR logs in and lands on sales dialogs with the sales sidebar", async
|
||||
// Операторская навигация показывает только рабочее пространство продаж.
|
||||
await expect(page.getByText("Рабочее пространство")).toBeVisible();
|
||||
await expect(page.getByText("Уровень компании")).toHaveCount(0);
|
||||
await expect(page.getByRole("button", { name: "Назад в Hub" })).toHaveCount(0);
|
||||
await expect(page.getByRole("button", { name: "Назад" })).toHaveCount(0);
|
||||
});
|
||||
|
||||
test("OPERATOR opening an owner-only route sees the 403 permission screen", async ({ page }) => {
|
||||
|
||||
Reference in new issue
Block a user