You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Sales home: stop restating the page name once the console draws the shared page header (objectstack #36111) #2729
objectstack #36111 (PR objectstack-ai/objectstack#36131, epic objectstack-ai/objectstack#36107) gives every custom page the console's shared page header, and that header shows the page name. The maintainer's ruling on #36111 (comment 7064921354) is that the platform never hides content an author wrote. The sales home writes its own page:header with title: 'Sales Home' (src/sales/pages/home.page.ts:96-107), which is the page's own name on purpose (#2125). After the console upgrade, a rep sees "Sales Home" twice at the top of the page: small in the shared header, then large in the authored header.
What to do
Once hotcrm runs on a console release that includes objectstack #36111:
Rewrite test/sales-home-header.test.ts. It pins the authored heading per locale. Its intent is "the heading matches the nav label in every locale", and after the upgrade that now holds through the shared header.
Check the other interface-mode page, account_workbench.page.ts:49, for the same duplicate.
Not in scope
The platform side is objectstack #36111 and is not changed here. The objectstack showcase pages that had the same duplicate (my-work, project-workspace) are fixed by hand in objectstack-ai/objectstack#36131.
Acceptance
At 1280 and 375, in en and zh-CN, the sales home shows its name once.
test/sales-home-header.test.ts (or its replacement) is green and still ties the visible name to the nav label.
Wait for: objectstack #36111 merged and released into hotcrm's console dependency.
Activity