Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(home): open the integrations settings tab (#8499)

Wolf Mermelsteinb8c0083f9750
diff --git a/apps/web/src/features/home/components/HomeSetupPromotion.test.tsx b/apps/web/src/features/home/components/HomeSetupPromotion.test.tsx
index c347074d8d..d96a3af570 100644
--- a/apps/web/src/features/home/components/HomeSetupPromotion.test.tsx
+++ b/apps/web/src/features/home/components/HomeSetupPromotion.test.tsx
@@ -44,11 +44,11 @@ afterEach(() => {
});
describe('HomeSetupPromotion', () => {
- it('opens Connections and Team settings', () => {
+ it('opens Integrations and Team settings', () => {
render(() => <HomeSetupPromotion />);
fireEvent.click(screen.getByRole('button', { name: 'Connect tools' }));
fireEvent.click(screen.getByRole('button', { name: 'Invite team' }));
- expect(host.openSettings.mock.calls).toEqual([['Connections'], ['Team']]);
+ expect(host.openSettings.mock.calls).toEqual([['Connected'], ['Team']]);
});
it('hides invites from members of a team that limits them to admins', () => {
diff --git a/apps/web/src/features/home/components/HomeSetupPromotion.tsx b/apps/web/src/features/home/components/HomeSetupPromotion.tsx
index ef59057fc7..381dcc3ff1 100644
--- a/apps/web/src/features/home/components/HomeSetupPromotion.tsx
+++ b/apps/web/src/features/home/components/HomeSetupPromotion.tsx
@@ -13,7 +13,7 @@ import { useCurrentTeamQuery, useIsTeamAdmin } from '@queries/team/teams';
import { untrack } from 'solid-js';
import { z } from 'zod';
-/** Home's prompt to connect tools (Settings → Connections) and invite teammates (Settings → Team). */
+/** Home's prompt to connect tools (Settings → Integrations) and invite teammates (Settings → Team). */
export function HomeSetupPromotion(props: { class?: string }) {
const promotions = useFeatureFlag(enableSidebarPromotions);
const { openSettings } = useSettingsState();
@@ -47,7 +47,7 @@ export function HomeSetupPromotion(props: { class?: string }) {
dismissLabel="Dismiss workspace setup"
action={{
label: COPY.action,
- onClick: () => openSettings('Connections'),
+ onClick: () => openSettings('Connected'),
}}
secondaryAction={
canInvite()