diff --git a/.changeset/37227-home-drop-build-entries.md b/.changeset/37227-home-drop-build-entries.md
new file mode 100644
index 00000000000..cbce07126a6
--- /dev/null
+++ b/.changeset/37227-home-drop-build-entries.md
@@ -0,0 +1,31 @@
+---
+'@object-ui/app-shell': patch
+'@object-ui/i18n': patch
+---
+
+fix(app-shell)!: Home no longer offers 「Build with AI」 or 「Build an app」
+
+Clause-②: yes (narrowing)
+Metadata-protocol: none
+
+
+
+**BREAKING** for a deployment that overrides one of the removed translation keys below: the override no longer applies, because nothing reads the key any more.
+
+The home page shows on a phone, and on a desktop as the 「No applications yet」 screen when you have no app. On it:
+
+- **「Build with AI」** is gone: the button shown beside the greeting, and in the phone's 「No applications yet」 welcome, when the build agent is deployed.
+- **「Build an app」** is gone: the chip beside the greeting that opened Studio when the build agent is deployed.
+- **The phone welcome makes no AI-building promise any more.** On a phone with no app yet, an administrator on a deployment with the build agent was welcomed with 「Build your business system with AI」 and "Describe your business in one sentence — AI generates …". That welcome now reads 「No applications yet」 with the description other deployments show: set up your first application from the Administration menu, plus the AI-assistant sentence where an ask agent is deployed. Deployments without the build agent keep their welcome unchanged.
+
+Everything else stays. 「Start with a template」 is still there, and so is 「New blank app」 where it showed before. 「Ask AI」 shows exactly where it did before.
+
+Nothing to do on upgrade, unless your deployment overrides one of the keys below.
+
+## Removed translation keys
+
+Removed from every language pack of `@object-ui/i18n` (ar, de, en, es, fr, ja, ko, pt-BR, ru, zh-Hans, zh-Hant). Each shipped in 18.6.0.
+
+- `home.build.title` (en: "Build an app")
+- `home.buildWithAI` (en: "Build with AI")
+- `home.welcomeAdminDescription` (en: "Describe your business in one sentence — AI generates the objects, screens, APIs and agent tools. Or set things up yourself from the menu on the left.")
diff --git a/ui/packages/app-shell/src/console/home/HomePage.tsx b/ui/packages/app-shell/src/console/home/HomePage.tsx
index 306ea43aeb8..1f30b198684 100644
--- a/ui/packages/app-shell/src/console/home/HomePage.tsx
+++ b/ui/packages/app-shell/src/console/home/HomePage.tsx
@@ -21,8 +21,9 @@
* From 768 px up the page is retired (objectstack#36732): the host redirects
* `/home` into an app whenever the viewer has a product app, so a desktop
* reaches this page only with none, and draws the no-apps empty state
- * ({@link DesktopNoApps}): build with AI, start from a template, the app
- * marketplace, for the viewers who may add an app.
+ * ({@link DesktopNoApps}): a new blank app, start from a template, the app
+ * marketplace, for the viewers who may add an app. Neither 「Build with AI」
+ * nor 「Build an app」 is drawn on this page (objectstack#37227).
*
* @module
*/
@@ -83,7 +84,7 @@ import {
TooltipTrigger,
cn,
} from '@object-ui/components';
-import { Sparkles, MessageSquareText, Hammer, LayoutGrid } from 'lucide-react';
+import { MessageSquareText, Hammer, LayoutGrid } from 'lucide-react';
import { usePendingDrafts } from '../../preview/usePendingDrafts.js';
import { usePublishAllDrafts } from '../../preview/usePublishAllDrafts.js';
import { fetchPackages } from '../../views/studio-design/packages-io.js';
@@ -93,7 +94,6 @@ import { useNewPackageDoorPath } from '../../hooks/useNewPackageDoorPath.js';
import { useOpenAssistant } from '../../layout/chatDockControl.js';
import { isProductApp } from '../../utils/homePath.js';
import { useAddAppEntries, useMayAddApp } from '../../hooks/useAddAppEntries.js';
-import { studioLandingPath } from '../../views/studio-design/studioAddress.js';
import { catalogServesBuild } from '../../hooks/surfaceAgent.js';
/**
@@ -101,13 +101,14 @@ import { catalogServesBuild } from '../../hooks/surfaceAgent.js';
* source of truth) — gated PER agent, because the community edition can be in
* any of three states:
* - `askAvailable` — a data/query agent (`ask`/`data_chat`) is deployed → "Ask AI".
- * - `buildAvailable` — a build/authoring agent is deployed → "Build with AI".
- * That's a cloud / AI-Studio feature, ABSENT on open-source builds.
+ * - `buildAvailable` — a build/authoring agent is deployed. That's a cloud /
+ * AI-Studio feature, ABSENT on open-source builds. Home draws no build
+ * button for it (objectstack#37227); it withholds "Ask AI" from a maker.
* - `aiEnabled` — any agent at all (AI is on here in some form).
* - `buildServed` — the catalog lists the build agent itself, alias-aware
- * (`catalogServesBuild`, objectstack#36969): what the "Build an app" chip
- * promises. Where in-app building is closed the catalog keeps `ask` and
- * drops `build`, so `aiEnabled` alone would promise a build nothing serves.
+ * (`catalogServesBuild`, objectstack#36969). Where in-app building is
+ * closed the catalog keeps `ask` and drops `build`; there the builder chip
+ * takes its Studio form, "New blank app".
* All false while the catalog loads or when AI isn't enabled, so nothing
* flashes and no AI CTA appears where there's no agent to back it.
*
@@ -143,8 +144,8 @@ function useHomeAiAvailability(): {
/**
* One 32 px builder chip at the greeting's right (objectui#12601): "Start with
- * a template" outlined, "Build an app" on the soft primary tint with its icon in
- * the primary colour. Admins only — the caller decides that.
+ * a template" outlined, "New blank app" on the soft primary tint with its icon
+ * in the primary colour. Admins only — the caller decides that.
*
* Disabled (not hidden) when the session cannot use it: a vanished front door
* reads as a broken page, while a dimmed one explains the deployment's
@@ -286,20 +287,17 @@ function NoAppsAddActions() {
}
/**
- * Home AI call-to-action(s). "Build with AI" only when a build agent is
- * deployed AND the session may author metadata; "Ask AI" only when a
- * data/query agent is deployed. Renders nothing when neither exists (AI off, or
- * only custom agents — those are reachable via the assistant launcher / FAB).
- * `layout="stack"` is used by the empty-state; the hero uses the default inline
- * row. Availability is passed in so the host fetches the catalog once.
+ * Home's AI call-to-action: "Ask AI", only when a data/query agent is
+ * deployed. Renders nothing when none is (AI off, or only custom agents —
+ * those are reachable via the assistant launcher / FAB). `layout="stack"` is
+ * used by the empty-state; the hero uses the default inline row. Availability
+ * is passed in so the host fetches the catalog once.
*
- * "Build with AI" routes to the AI authoring studio, whose output is
- * draft metadata nobody without `manage_metadata` can publish — so it is one of
- * the "any other metadata-authoring CTA" the objectstack#8270 ruling covers.
- * It is HIDDEN rather than disabled: unlike the builder chips it is not the
- * page's structural front door, the chips beside it already carry the reason,
- * and a disabled hero button next to a live "Ask AI" would read as a transient
- * failure. "Ask AI" is read-only and never gated.
+ * There is no "Build with AI" button here any more (objectstack#37227): the
+ * maintainer ruled it off the home page. "Ask AI" keeps the gate it had beside
+ * it, the cloud#1674 maker convergence below: a session for which the build
+ * agent is deployed and that may author metadata is not offered "Ask AI",
+ * since the ask agent would converge that maker straight back onto build.
*/
function HomeAiActions({
askAvailable,
@@ -313,41 +311,29 @@ function HomeAiActions({
buildAvailable: boolean;
canAuthorMetadata: boolean;
/** objectstack#34608 — opens the console's chat drawer on this agent, in place. */
- openAssistant: (agent: 'build' | 'ask') => void;
+ openAssistant: (agent: 'ask') => void;
t: (key: string, opts?: any) => string;
layout?: 'row' | 'stack';
}) {
- const showBuild = buildAvailable && canAuthorMetadata;
- if (!askAvailable && !showBuild) return null;
+ const maker = buildAvailable && canAuthorMetadata;
+ if (!askAvailable || maker) return null;
const container =
layout === 'stack'
? 'mt-6 flex flex-col sm:flex-row items-center gap-3'
: 'flex shrink-0 items-center gap-2';
- // In the greeting row the buttons take the builder chips' 32 px height;
+ // In the greeting row the button takes the builder chips' 32 px height;
// below `sm` both layouts take the 44 px touch target.
const buttonClass = layout === 'stack' ? 'max-sm:h-11' : 'h-8 px-3 text-sm max-sm:h-11';
return (
- {showBuild && (
-
- )}
- {/* cloud#1674 maker convergence: with the build CTA shown, "Ask AI" is
- not a second door — the build composer answers data questions too
- (data superset since cloud#1673), and the ask agent would converge a
- maker straight back onto build. Non-authoring sessions keep it. */}
- {askAvailable && !showBuild && (
-
- )}
+
);
}
@@ -470,7 +456,7 @@ export function HomePage({ checklist }: HomePageProps = {}) {
// objectstack#34608 — the Home AI buttons open the same right-side drawer
// every console page has (in place, no navigation).
const openAssistant = useOpenAssistant();
- const openHomeAssistant = (agent: 'build' | 'ask') => openAssistant({ agent });
+ const openHomeAssistant = (agent: 'ask') => openAssistant({ agent });
const { t, language } = useObjectTranslation();
const metadata = useMetadata();
const { apps, loading } = metadata;
@@ -516,9 +502,9 @@ export function HomePage({ checklist }: HomePageProps = {}) {
// every app mount) is the only "which app is the user in" signal available
// here, and it is undefined on a cold landing straight at `/home`.
const { currentAppName } = useNavigationContext();
- // AI CTA gating, per agent: "Build with AI" only when a build agent is
- // deployed (cloud / AI Studio); "Ask AI" only when a data agent is; neither
- // when AI isn't enabled. Community builds typically land in the ask-only state.
+ // AI CTA gating, per agent: "Ask AI" only when a data agent is deployed,
+ // and not for a maker the build agent serves; nothing when AI isn't
+ // enabled. Home draws no "Build with AI" (objectstack#37227).
const { aiResolved, askAvailable, buildAvailable, buildServed } = useHomeAiAvailability();
// objectstack#8270 — the authoring CTAs below are gated on the SERVER's
// capability answer, not on the admin ROLE: on the EE multi-tenant deploy an
@@ -828,22 +814,29 @@ export function HomePage({ checklist }: HomePageProps = {}) {
white-label deployments should see their own name in the hero, that
is a copy change to the ten packs, not an argument at this call site.
*/}
- {t('home.welcome', { defaultValue: 'Build your business system with AI' })}
-
+ {/*
+ objectstack#37227 — where the build agent is deployed this
+ welcome used to promise building with AI, the 「Build with AI」
+ button below it. That button is gone from Home, so the promise
+ would be false: the title is the plain no-apps one there, and the
+ description is the same NoBuild / NoAi copy any other deployment
+ reads. The assistant drawer still serves the build agent.
+ */}
+
{buildAvailable
- ? t('home.welcomeAdminDescription', {
+ ? t('home.noAppsTitle', { defaultValue: 'No applications yet' })
+ : t('home.welcome', { defaultValue: 'Build your business system with AI' })}
+
+
+ {askAvailable
+ ? t('home.welcomeAdminDescriptionNoBuild', {
defaultValue:
- 'Describe your business in one sentence — AI generates the objects, screens, APIs and agent tools. Or set things up yourself from the menu on the left.',
+ 'Set up your first application from the Administration menu on the left. Once you have data, the AI assistant can help you explore it.',
})
- : askAvailable
- ? t('home.welcomeAdminDescriptionNoBuild', {
- defaultValue:
- 'Set up your first application from the Administration menu on the left. Once you have data, the AI assistant can help you explore it.',
- })
- : t('home.welcomeAdminDescriptionNoAi', {
- defaultValue:
- 'Set up your first application from the Administration menu on the left.',
- })}
+ : t('home.welcomeAdminDescriptionNoAi', {
+ defaultValue:
+ 'Set up your first application from the Administration menu on the left.',
+ })}
navigate(studioLandingPath())}
- disabledReason={!canAuthorMetadata ? authoringGateReason : undefined}
- reasonId={authoringReasonId}
- testId="home-build-app"
- />
- )}
+ * the build agent served, the chip's other form, "Build an
+ * app" to bare `/studio`, is gone (objectstack#37227): the
+ * maintainer ruled it off this page, with "Build with AI".
+ * The Studio form waits for the catalog's answer, so it
+ * never flashes, and is drawn only where the catalog does not
+ * serve the build agent itself (`buildServed`,
+ * objectstack#36969). */}
{aiStudioEnabled && aiResolved && !buildServed && canAuthorMetadata && (
({
vi.mock('@object-ui/plugin-chatbot/core', async (importOriginal) => ({
...(await importOriginal()),
- useAgents: () => ({ agents: [{ name: 'build' }] }),
+ // objectstack#37227 — Home draws no build chip where the catalog serves the
+ // build agent ("Build an app" was ruled off the page), so the chip this flag
+ // gates is the Studio form, "New in Studio", drawn where it does not.
+ useAgents: () => ({ agents: [{ name: 'custom_helper' }] }),
isAskAgent: () => false,
agentHasCapability: () => true,
}));
@@ -304,9 +307,10 @@ describe('Home on a runtime reporting features.aiStudio: false (objectui#5521)',
await bootOn(serverConfig({ aiStudio: false }));
});
- it('withholds the "Build an app" cover entirely — not dimmed, gone', () => {
+ it('withholds the build chip entirely — not dimmed, gone', () => {
renderHome();
+ expect(screen.queryByTestId('home-build-in-studio')).toBeNull();
expect(screen.queryByTestId('home-build-app')).toBeNull();
// Counter-probe against a page that rendered NOTHING: the strip behind the
// cover is still there with the workspace's app on it.
@@ -352,7 +356,7 @@ describe('Home on the measured composed hosted-SaaS shape (objectui#5521)', () =
await bootOn(serverConfig({ aiStudio: false, marketplace: false, installLocal: false }));
renderHome();
- expect(screen.queryByTestId('home-build-app')).toBeNull();
+ expect(screen.queryByTestId('home-build-in-studio')).toBeNull();
expect(screen.getByTestId('home-start-template')).toBeDisabled();
expect(screen.getByTestId('home-marketplace-disabled-reason')).toHaveTextContent(
'«home.template.marketplaceDisabled»',
@@ -363,13 +367,13 @@ describe('Home on the measured composed hosted-SaaS shape (objectui#5521)', () =
});
describe('Home on a runtime that DOES offer AI Studio', () => {
- it('keeps the "Build an app" cover exactly as before', async () => {
+ it('keeps the build chip exactly as before', async () => {
// Same fixture, same helper, one flag flipped — so the denials above cannot
// be passing because the card never renders in this suite at all.
await bootOn(serverConfig({ aiStudio: true }));
renderHome();
- const build = screen.getByTestId('home-build-app');
+ const build = screen.getByTestId('home-build-in-studio');
expect(build).toBeInTheDocument();
expect(build).toBeEnabled();
});
@@ -382,7 +386,7 @@ describe('Home on a runtime that DOES offer AI Studio', () => {
await bootOn(serverConfig({}));
renderHome();
- expect(screen.getByTestId('home-build-app')).toBeEnabled();
+ expect(screen.getByTestId('home-build-in-studio')).toBeEnabled();
});
it('fails OPEN when the runtime answers no config at all', async () => {
@@ -390,6 +394,6 @@ describe('Home on a runtime that DOES offer AI Studio', () => {
renderHome();
- expect(screen.getByTestId('home-build-app')).toBeEnabled();
+ expect(screen.getByTestId('home-build-in-studio')).toBeEnabled();
});
});
diff --git a/ui/packages/app-shell/src/console/home/__tests__/HomePage.authoringCapabilityGate.test.tsx b/ui/packages/app-shell/src/console/home/__tests__/HomePage.authoringCapabilityGate.test.tsx
index bb87394df0d..848581fcc30 100644
--- a/ui/packages/app-shell/src/console/home/__tests__/HomePage.authoringCapabilityGate.test.tsx
+++ b/ui/packages/app-shell/src/console/home/__tests__/HomePage.authoringCapabilityGate.test.tsx
@@ -80,9 +80,10 @@ vi.mock('@object-ui/auth', async (importOriginal) => ({
useWorkspaceAdminStatus: () => ({ isAdmin: true, isResolved: true }),
}));
-// An authoring-capable AI agent IS deployed in every case, so "Build with AI"
-// is held back only by the capability gate under test and never by the
-// unrelated cloud#816 agent-availability gate.
+// An authoring-capable AI agent IS deployed in every case, so no case here
+// is shaped by the unrelated cloud#816 agent-availability gate. With it served,
+// Home draws neither "Build with AI" nor "Build an app" (objectstack#37227):
+// the builder chip the gate withholds is "Start with a template".
vi.mock('@object-ui/plugin-chatbot/core', async (importOriginal) => ({
...(await importOriginal()),
useAgents: () => ({ agents: [{ name: 'build' }] }),
@@ -274,10 +275,10 @@ describe('HomePage authoring-CTA capability gate (objectstack#8270)', () => {
});
describe('the ruled case — admin by role, no `manage_metadata`', () => {
- it('disables both builder CTAs and says why, in the user’s language', async () => {
+ it('disables the builder CTA and says why, in the user’s language', async () => {
renderHome(eePayload(OWNER_CAPS));
- expect(screen.getByTestId('home-build-app')).toBeDisabled();
+ expect(screen.queryByTestId('home-build-app')).toBeNull();
expect(screen.getByTestId('home-start-template')).toBeDisabled();
// The reason is reachable from each withheld chip — its tooltip wrapper
// and an `aria-describedby` on the button (objectui#12601, the
@@ -286,7 +287,6 @@ describe('HomePage authoring-CTA capability gate (objectstack#8270)', () => {
// `HomePage.greetingAndApps-12601.test.tsx`.
const reason = screen.getByTestId('home-authoring-gate-reason');
expect(reason).toHaveTextContent('«home.build.noCapability»');
- expect(screen.getByTestId('home-build-app')).toHaveAttribute('aria-describedby', reason.id);
expect(screen.getByTestId('home-start-template')).toHaveAttribute('aria-describedby', reason.id);
});
@@ -294,10 +294,9 @@ describe('HomePage authoring-CTA capability gate (objectstack#8270)', () => {
const user = userEvent.setup();
renderHome(eePayload(OWNER_CAPS));
- await user.click(screen.getByTestId('home-build-app'));
await user.click(screen.getByTestId('home-start-template'));
- // `/studio` is where the new-package dialog lives; reaching it was the
+ // The marketplace is where a template is installed; reaching it was the
// whole defect. A disabled button must not merely look inert.
expect(navigateMock).not.toHaveBeenCalled();
});
@@ -316,20 +315,23 @@ describe('HomePage authoring-CTA capability gate (objectstack#8270)', () => {
});
describe('the capability present — nothing is withheld', () => {
- it('leaves every authoring CTA live and routes "Build an app" to /studio', async () => {
+ it('leaves every authoring CTA live, and draws neither build entry (objectstack#37227)', async () => {
const user = userEvent.setup();
renderHome(eePayload([...OWNER_CAPS, 'manage_metadata']));
- const build = screen.getByTestId('home-build-app');
- expect(build).toBeEnabled();
- expect(screen.getByTestId('home-start-template')).toBeEnabled();
+ const template = screen.getByTestId('home-start-template');
+ expect(template).toBeEnabled();
expect(screen.getByTestId('browse-marketplace-btn')).toBeInTheDocument();
- expect(screen.getByTestId('home-build-with-ai')).toBeInTheDocument();
+ // The build agent is served and the session may author: before
+ // objectstack#37227 both "Build an app" and "Build with AI" stood here.
+ expect(screen.queryByTestId('home-build-app')).toBeNull();
+ expect(screen.queryByTestId('home-build-with-ai')).toBeNull();
// No reason line when there is nothing to explain.
expect(screen.queryByTestId('home-authoring-gate-reason')).toBeNull();
- await user.click(build);
- expect(navigateMock).toHaveBeenCalledWith('/studio');
+ await user.click(template);
+ expect(navigateMock).toHaveBeenCalledWith('/apps/setup/system/marketplace');
+ expect(navigateMock).not.toHaveBeenCalledWith('/studio');
});
});
@@ -344,7 +346,6 @@ describe('HomePage authoring-CTA capability gate (objectstack#8270)', () => {
// doctrine `useCapabilityGate` states for ADR-0066 gates).
renderHome(eePayload(undefined));
- expect(screen.getByTestId('home-build-app')).toBeEnabled();
expect(screen.getByTestId('home-start-template')).toBeEnabled();
expect(screen.queryByTestId('home-authoring-gate-reason')).toBeNull();
});
@@ -360,7 +361,6 @@ describe('HomePage authoring-CTA capability gate (objectstack#8270)', () => {
// gate exactly like any other reported set that lacks the capability.
renderHome(eePayload([]));
- expect(screen.getByTestId('home-build-app')).toBeDisabled();
expect(screen.getByTestId('home-start-template')).toBeDisabled();
expect(screen.getByTestId('home-authoring-gate-reason')).toHaveTextContent(
'«home.build.noCapability»',
@@ -390,11 +390,19 @@ describe('HomePage authoring-CTA capability gate (objectstack#8270)', () => {
expect(screen.queryByTestId('home-build-with-ai')).toBeNull();
});
- it('keeps the ordinary admin welcome when the capability IS held', () => {
+ it('keeps the admin welcome when the capability IS held, without "Build with AI" or its promise (objectstack#37227)', () => {
renderHome(eePayload([...OWNER_CAPS, 'manage_metadata']));
expect(screen.queryByTestId('home-authoring-gate-reason-empty')).toBeNull();
- expect(screen.getByTestId('home-build-with-ai')).toBeInTheDocument();
+ // objectstack#37227 — with the build agent deployed the welcome makes no
+ // build promise: the no-apps title and the NoAi copy (no ask agent here).
+ expect(screen.getByText('«home.noAppsTitle»')).toBeInTheDocument();
+ expect(screen.getByText('«home.welcomeAdminDescriptionNoAi»')).toBeInTheDocument();
+ expect(screen.queryByText('«home.welcome»')).toBeNull();
+ // The phone's zero-app welcome, a maker the build agent serves: the
+ // build CTA stood here before; "Ask AI" stays withheld for a maker.
+ expect(screen.queryByTestId('home-build-with-ai')).toBeNull();
+ expect(screen.queryByText('«home.buildWithAI»')).toBeNull();
});
});
});
diff --git a/ui/packages/app-shell/src/console/home/__tests__/HomePage.desktopNoApps-36732.test.tsx b/ui/packages/app-shell/src/console/home/__tests__/HomePage.desktopNoApps-36732.test.tsx
index 057ce34e43d..e68832c08a4 100644
--- a/ui/packages/app-shell/src/console/home/__tests__/HomePage.desktopNoApps-36732.test.tsx
+++ b/ui/packages/app-shell/src/console/home/__tests__/HomePage.desktopNoApps-36732.test.tsx
@@ -124,6 +124,8 @@ describe('HomePage — the desktop no-apps empty state (objectstack#36732)', ()
expect(empty).toHaveTextContent('«home.noAppsTitle»');
expect(empty).toHaveTextContent('«home.noAppsAddDescription»');
expect(screen.queryByTestId('home-no-apps-build-with-ai')).not.toBeInTheDocument();
+ // objectstack#37227 — no 「Build with AI」 by label either, and no bare /studio door.
+ expect(empty).not.toHaveTextContent('«home.buildWithAI»');
expect(empty.querySelector('a[href="/studio"]')).toBeNull();
const doors = Array.from(empty.querySelectorAll('a[data-testid^="home-no-apps-"]'));
expect(doors.map((a) => a.getAttribute('data-testid'))).toEqual([
diff --git a/ui/packages/app-shell/src/console/home/__tests__/HomePage.greetingAndApps-12601.test.tsx b/ui/packages/app-shell/src/console/home/__tests__/HomePage.greetingAndApps-12601.test.tsx
index 011741a3e90..6a86164aada 100644
--- a/ui/packages/app-shell/src/console/home/__tests__/HomePage.greetingAndApps-12601.test.tsx
+++ b/ui/packages/app-shell/src/console/home/__tests__/HomePage.greetingAndApps-12601.test.tsx
@@ -92,10 +92,11 @@ vi.mock('@object-ui/auth', async (importOriginal) => ({
}));
// The build agent served beside a custom one, with the ask and authoring CTA
-// predicates stubbed off: the build chip keeps its "Build an app" form (an
-// agent-less deployment, and since objectstack#36969 one that serves no build
-// agent, gets its Studio form, `HomePage.noAgentsBuildChip-26614.test.tsx`),
-// and no AI CTA joins the greeting row, which holds the builder chips alone.
+// predicates stubbed off: no build chip is drawn, since "Build an app" was
+// ruled off the page (objectstack#37227; an agent-less deployment, and since
+// objectstack#36969 one that serves no build agent, gets the Studio form,
+// `HomePage.noAgentsBuildChip-26614.test.tsx`), and no AI CTA joins the
+// greeting row, which holds the template chip alone.
vi.mock('@object-ui/plugin-chatbot/core', async (importOriginal) => ({
...(await importOriginal()),
useAgents: () => ({ agents: [{ name: 'build' }, { name: 'custom_helper' }] }),
@@ -234,25 +235,24 @@ describe('the builder chips (objectui#12601)', () => {
expect(screen.queryByTestId('home-start-template')).toBeNull();
});
- it('CONTROL — an admin gets both chips, live, beside the greeting', async () => {
+ it('CONTROL — an admin gets the template chip, live, beside the greeting, and no "Build an app"', async () => {
const user = userEvent.setup();
render();
- const build = screen.getByTestId('home-build-app');
const template = screen.getByTestId('home-start-template');
- expect(build).toBeEnabled();
expect(template).toBeEnabled();
- expect(build).toHaveTextContent('«home.build.title»');
expect(template).toHaveTextContent('«home.template.title»');
- // One row: the chips share the summary's section, with no cover card.
+ // One row: the chip shares the summary's section, with no cover card.
const section = screen.getByTestId('home-work-summary').closest('section')!;
- expect(section).toContainElement(build);
expect(section).toContainElement(template);
+ // objectstack#37227 — the build agent is served: no build chip of either form.
+ expect(screen.queryByTestId('home-build-app')).toBeNull();
+ expect(screen.queryByTestId('home-build-in-studio')).toBeNull();
+ expect(section).not.toHaveTextContent('«home.build.title»');
expect(screen.queryByTestId('home-authoring-gate-reason')).toBeNull();
- await user.click(build);
- expect(navigateMock).toHaveBeenCalledWith('/studio');
await user.click(template);
expect(navigateMock).toHaveBeenCalledWith('/apps/setup/system/marketplace');
+ expect(navigateMock).not.toHaveBeenCalledWith('/studio');
});
it('a chip withheld for want of the capability explains itself through the tooltip wrapper', async () => {
@@ -265,7 +265,7 @@ describe('the builder chips (objectui#12601)', () => {
expect(reason).toHaveClass('sr-only');
expect(reason.id).not.toBe('');
- for (const testId of ['home-build-app', 'home-start-template']) {
+ for (const testId of ['home-start-template']) {
const chip = screen.getByTestId(testId);
expect(chip).toBeDisabled();
// The button and its wrapper are both described by the one reason.
@@ -277,11 +277,11 @@ describe('the builder chips (objectui#12601)', () => {
expect(wrapper).toHaveAttribute('aria-describedby', reason.id);
}
- await user.hover(screen.getByTestId('home-build-app').parentElement!);
+ await user.hover(screen.getByTestId('home-start-template').parentElement!);
expect(await screen.findByRole('tooltip')).toHaveTextContent('«home.build.noCapability»');
// Withheld means inert: a click reaches no route.
- await user.click(screen.getByTestId('home-build-app'));
+ await user.click(screen.getByTestId('home-start-template'));
expect(navigateMock).not.toHaveBeenCalled();
});
@@ -290,7 +290,7 @@ describe('the builder chips (objectui#12601)', () => {
state.marketplaceEnabled = false;
render();
- expect(screen.getByTestId('home-build-app')).toBeEnabled();
+ expect(screen.queryByTestId('home-build-app')).toBeNull();
const template = screen.getByTestId('home-start-template');
expect(template).toBeDisabled();
const reason = screen.getByTestId('home-marketplace-disabled-reason');
diff --git a/ui/packages/app-shell/src/console/home/__tests__/HomePage.marketplaceDisabled.test.tsx b/ui/packages/app-shell/src/console/home/__tests__/HomePage.marketplaceDisabled.test.tsx
index 37ec4092db6..76f4ff0fbf7 100644
--- a/ui/packages/app-shell/src/console/home/__tests__/HomePage.marketplaceDisabled.test.tsx
+++ b/ui/packages/app-shell/src/console/home/__tests__/HomePage.marketplaceDisabled.test.tsx
@@ -69,7 +69,10 @@ vi.mock('@object-ui/auth', async (importOriginal) => ({
vi.mock('@object-ui/plugin-chatbot/core', async (importOriginal) => ({
...(await importOriginal()),
- useAgents: () => ({ agents: [{ name: 'build' }] }),
+ // objectstack#37227 — where the catalog serves the build agent Home draws no
+ // build chip ("Build an app" was ruled off the page); a custom agent alone
+ // keeps the builder entry this gate must leave alone, "New in Studio".
+ useAgents: () => ({ agents: [{ name: 'custom_helper' }] }),
isAskAgent: () => false,
agentHasCapability: () => true,
}));
@@ -298,10 +301,11 @@ describe('Home on a runtime deployed with OS_CLOUD_URL=off (objectui#5504)', ()
});
it('leaves the marketplace-independent builder entry alone', () => {
- // "Build an app" goes to /studio and needs no catalog. A gate that swept it
- // up would remove the product front door from every air-gapped deployment.
+ // "New in Studio" opens Studio's new-package flow and needs no catalog. A
+ // gate that swept it up would remove the product front door from every
+ // air-gapped deployment.
renderHome();
- expect(screen.getByTestId('home-build-app')).toBeEnabled();
+ expect(screen.getByTestId('home-build-in-studio')).toBeEnabled();
});
});
diff --git a/ui/packages/app-shell/src/console/home/__tests__/HomePage.noAgentsBuildChip-26614.test.tsx b/ui/packages/app-shell/src/console/home/__tests__/HomePage.noAgentsBuildChip-26614.test.tsx
index 27feab2e9f4..6ded735d007 100644
--- a/ui/packages/app-shell/src/console/home/__tests__/HomePage.noAgentsBuildChip-26614.test.tsx
+++ b/ui/packages/app-shell/src/console/home/__tests__/HomePage.noAgentsBuildChip-26614.test.tsx
@@ -24,6 +24,11 @@
* blank app" form there, as for an empty catalog. So the unchanged-chip cases
* serve `build`; a catalog of `ask` or of another agent alone is pinned below.
*
+ * objectstack#37227 — the first bullet above no longer holds: the maintainer
+ * ruled "Build an app" (to bare `/studio`) off the home page, with "Build with
+ * AI". Where the catalog serves the build agent the chip row now draws no build
+ * chip of either form; "New in Studio" is unchanged where it does not.
+ *
* The catalog stand-in moves the way the real `useAgents` does: an empty first
* frame before the request leaves, then loading, then the answer. `t` echoes
* the key, so a hardcoded string fails here; that every key exists in all ten
@@ -33,7 +38,7 @@
import '@testing-library/jest-dom/vitest';
import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
import React from 'react';
-import { render, screen, cleanup } from '@testing-library/react';
+import { render, screen, cleanup, waitFor } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
const navigateMock = vi.fn();
@@ -44,6 +49,8 @@ const state = vi.hoisted(() => ({
agents: [] as Array<{ name: string }>,
/** Holds the catalog in flight. */
catalogPending: false,
+ /** Set once the stand-in has drawn the catalog's answer (objectstack#37227). */
+ answered: false,
/**
* Whether the session holds the Setup → Packages pair (`setup.access` +
* `manage_platform_settings`). `'unreported'` stubs nothing: the real
@@ -94,6 +101,7 @@ vi.mock('@object-ui/plugin-chatbot/core', async (importOriginal) => {
if (phase === 'idle') setPhase('loading');
else if (phase === 'loading' && !state.catalogPending) setPhase('answered');
}, [phase]);
+ if (phase === 'answered') state.answered = true;
return { agents: phase === 'answered' ? state.agents : [], isLoading: phase === 'loading' };
},
// A custom agent: AI is on, and no ask or build CTA joins the row.
@@ -186,35 +194,45 @@ beforeEach(() => {
state.canAuthorMetadata = true;
state.agents = [];
state.catalogPending = false;
+ state.answered = false;
state.setupPair = true;
});
+/**
+ * An absence read before the catalog answers would pass on a page that has
+ * not yet drawn the chip at all, so the cases that pin one wait for the answer.
+ */
+async function catalogAnswered(): Promise {
+ await waitFor(() => expect(state.answered).toBe(true));
+}
+
afterEach(() => {
cleanup();
});
-describe('with the build agent in the catalog, the build chip is unchanged (objectstack#26614)', () => {
+describe('with the build agent in the catalog, no build chip is drawn (objectstack#37227)', () => {
beforeEach(() => {
state.agents = [{ name: 'build' }, { name: 'custom_helper' }];
});
- it('"Build an app" opens Studio', async () => {
- const user = userEvent.setup();
+ it('neither "Build an app" nor "Build with AI"; the template chip stays', async () => {
render();
- const build = await screen.findByTestId('home-build-app');
- expect(build).toBeEnabled();
- expect(build).toHaveTextContent('«home.build.title»');
+ expect(await screen.findByTestId('home-start-template')).toBeEnabled();
+ await catalogAnswered();
+ expect(screen.queryByTestId('home-build-app')).toBeNull();
+ expect(screen.queryByTestId('home-build-with-ai')).toBeNull();
expect(screen.queryByTestId('home-build-in-studio')).toBeNull();
- await user.click(build);
- expect(navigateMock).toHaveBeenCalledWith('/studio');
});
- it('a session that may not author still gets it dimmed, with its reason', async () => {
+ it('a session that may not author gets none either; the template chip keeps the reason', async () => {
state.canAuthorMetadata = false;
render();
- const build = await screen.findByTestId('home-build-app');
- expect(build).toBeDisabled();
- expect(build).toHaveAttribute('aria-describedby', screen.getByTestId('home-authoring-gate-reason').id);
+ await catalogAnswered();
+ const template = await screen.findByTestId('home-start-template');
+ expect(template).toBeDisabled();
+ expect(template).toHaveAttribute('aria-describedby', screen.getByTestId('home-authoring-gate-reason').id);
+ expect(screen.queryByTestId('home-build-app')).toBeNull();
+ expect(screen.queryByTestId('home-build-in-studio')).toBeNull();
});
});
@@ -311,15 +329,13 @@ describe('without the build agent in the catalog, the chip takes its Studio form
expect(screen.queryByTestId('home-build-app')).toBeNull();
});
- it('regression: the build agent\'s legacy id keeps "Build an app", to /studio', async () => {
+ it('regression: the build agent\'s legacy id still counts as the build agent, so no Studio form either', async () => {
state.agents = [{ name: 'metadata_assistant' }, { name: 'data_chat' }];
- const user = userEvent.setup();
render();
- const build = await screen.findByTestId('home-build-app');
- expect(build).toHaveTextContent('«home.build.title»');
+ expect(await screen.findByTestId('home-start-template')).toBeEnabled();
+ await catalogAnswered();
expect(screen.queryByTestId('home-build-in-studio')).toBeNull();
- await user.click(build);
- expect(navigateMock).toHaveBeenCalledWith('/studio');
+ expect(screen.queryByTestId('home-build-app')).toBeNull();
});
});
diff --git a/ui/packages/app-shell/src/console/home/__tests__/HomePage.phoneTapTargets-29147.test.tsx b/ui/packages/app-shell/src/console/home/__tests__/HomePage.phoneTapTargets-29147.test.tsx
index 364877a7602..193868766a4 100644
--- a/ui/packages/app-shell/src/console/home/__tests__/HomePage.phoneTapTargets-29147.test.tsx
+++ b/ui/packages/app-shell/src/console/home/__tests__/HomePage.phoneTapTargets-29147.test.tsx
@@ -19,7 +19,7 @@
import '@testing-library/jest-dom/vitest';
import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
import React from 'react';
-import { render, screen, cleanup, within } from '@testing-library/react';
+import { render, screen, cleanup, within, waitFor } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
const navigateMock = vi.fn();
@@ -30,6 +30,8 @@ const state = vi.hoisted(() => ({
agents: [] as Array<{ name: string }>,
askAgent: false,
buildAgent: false,
+ /** Set once the stand-in has drawn the catalog's answer (objectstack#37227). */
+ answered: false,
}));
vi.mock('react-router-dom', async () => {
@@ -76,6 +78,7 @@ vi.mock('@object-ui/plugin-chatbot/core', async (importOriginal) => {
if (phase === 'idle') setPhase('loading');
else if (phase === 'loading') setPhase('answered');
}, [phase]);
+ if (phase === 'answered') state.answered = true;
return { agents: phase === 'answered' ? state.agents : [], isLoading: phase === 'loading' };
},
isAskAgent: () => state.askAgent,
@@ -164,6 +167,7 @@ beforeEach(() => {
state.agents = [];
state.askAgent = false;
state.buildAgent = false;
+ state.answered = false;
});
afterEach(() => {
@@ -177,12 +181,15 @@ describe('the greeting row (objectstack#29147)', () => {
expectPhoneTarget(screen.getByTestId('home-start-template'), ['h-8'], ['max-sm:h-11']);
});
- it('"Build an app" and "Build with AI" are 44 px below sm and 32 px from sm', async () => {
+ it('with the build agent served, neither "Build an app" nor "Build with AI" joins the row (objectstack#37227)', async () => {
state.agents = [{ name: 'build' }];
state.buildAgent = true;
render();
- expectPhoneTarget(await screen.findByTestId('home-build-app'), ['h-8'], ['max-sm:h-11']);
- expectPhoneTarget(screen.getByTestId('home-build-with-ai'), ['h-8'], ['max-sm:h-11']);
+ expectPhoneTarget(await screen.findByTestId('home-start-template'), ['h-8'], ['max-sm:h-11']);
+ // Absence is read after the catalog answers: before it, neither was drawn anyway.
+ await waitFor(() => expect(state.answered).toBe(true));
+ expect(screen.queryByTestId('home-build-app')).toBeNull();
+ expect(screen.queryByTestId('home-build-with-ai')).toBeNull();
});
it('"Ask AI" is 44 px below sm and 32 px from sm', async () => {
@@ -206,6 +213,65 @@ describe('the greeting row (objectstack#29147)', () => {
});
});
+/**
+ * objectstack#37227 — the phone's zero-app admin welcome no longer promises
+ * building with AI where the build agent is deployed: its 「Build with AI」
+ * button is gone, so the title is the plain no-apps one and the description is
+ * the NoBuild / NoAi copy every other deployment reads. A deployment without
+ * the build agent keeps the welcome title (the control).
+ */
+describe('the phone zero-app admin welcome (objectstack#37227)', () => {
+ async function renderZeroAppPhone(): Promise<() => void> {
+ const restoreWidth = atPhoneWidth();
+ state.apps = [];
+ render();
+ await waitFor(() => expect(state.answered).toBe(true));
+ return restoreWidth;
+ }
+
+ it('build agent deployed: the no-apps title and the NoAi copy, no build promise', async () => {
+ state.agents = [{ name: 'build' }];
+ state.buildAgent = true;
+ const restore = await renderZeroAppPhone();
+ try {
+ expect(screen.getByText('«home.noAppsTitle»')).toBeInTheDocument();
+ expect(screen.getByText('«home.welcomeAdminDescriptionNoAi»')).toBeInTheDocument();
+ expect(screen.queryByText('«home.welcome»')).toBeNull();
+ expect(screen.queryByText('«home.welcomeAdminDescription»')).toBeNull();
+ expect(screen.queryByTestId('home-build-with-ai')).toBeNull();
+ // cloud#1674: "Ask AI" stays withheld for a maker.
+ expect(screen.queryByTestId('home-ask-ai')).toBeNull();
+ } finally {
+ restore();
+ }
+ });
+
+ it('build and ask agents deployed: the NoBuild copy', async () => {
+ state.agents = [{ name: 'build' }, { name: 'ask' }];
+ state.buildAgent = true;
+ state.askAgent = true;
+ const restore = await renderZeroAppPhone();
+ try {
+ expect(screen.getByText('«home.noAppsTitle»')).toBeInTheDocument();
+ expect(screen.getByText('«home.welcomeAdminDescriptionNoBuild»')).toBeInTheDocument();
+ expect(screen.queryByText('«home.welcomeAdminDescription»')).toBeNull();
+ } finally {
+ restore();
+ }
+ });
+
+ it('CONTROL — no agent: the welcome title and the NoAi copy, as before', async () => {
+ const restore = await renderZeroAppPhone();
+ try {
+ expect(screen.getByText('«home.welcome»')).toBeInTheDocument();
+ expect(screen.getByText('«home.welcomeAdminDescriptionNoAi»')).toBeInTheDocument();
+ expect(screen.queryByText('«home.noAppsTitle»')).toBeNull();
+ } finally {
+ restore();
+ }
+ });
+});
+
/**
* objectstack#36732 — from 768 px up a viewer with no product app is drawn the
diff --git a/ui/packages/i18n/src/locales/ar.ts b/ui/packages/i18n/src/locales/ar.ts
index c183bc1cdd3..3774d51ac3e 100644
--- a/ui/packages/i18n/src/locales/ar.ts
+++ b/ui/packages/i18n/src/locales/ar.ts
@@ -4057,7 +4057,6 @@ const ar = {
},
home: {
build: {
- title: "إنشاء تطبيق",
noCapability: "إنشاء التطبيقات غير متاح في هذا النظام — فهو يتطلب إذن «إدارة البيانات الوصفية» الذي لا يملكه حسابك.",
inStudio: "تطبيق فارغ جديد",
},
@@ -4065,13 +4064,11 @@ const ar = {
title: "ابدأ من قالب",
marketplaceDisabled: "لا يوجد سوق تطبيقات مُهيّأ لوقت التشغيل هذا، لذا لا توجد قوالب لتثبيتها هنا.",
},
- welcomeAdminDescription: "صف نشاطك التجاري في جملة واحدة — وسيولّد الذكاء الاصطناعي الكائنات والشاشات وواجهات البرمجة وأدوات الوكيل. أو أعدّها بنفسك من القائمة على اليسار.",
welcomeAdminDescriptionNoBuild: "أعدّ تطبيقك الأول من قائمة الإدارة على اليسار. وبمجرد توفر البيانات، يمكن لمساعد الذكاء الاصطناعي مساعدتك في استكشافها.",
welcomeAdminDescriptionNoAi: "أعدّ تطبيقك الأول من قائمة الإدارة على اليسار.",
noAppsTitle: "لا توجد تطبيقات بعد",
noAppsDescription: "يجري إعداد النظام — وستظهر هنا التطبيقات التي يشاركها معك المسؤول.",
noAppsAddDescription: "أنشئ تطبيقك الأول، أو ابدأ من قالب أو من سوق التطبيقات.",
- buildWithAI: "الإنشاء بالذكاء الاصطناعي",
askAI: "اسأل الذكاء الاصطناعي",
recoveryReminder: {
message: "عيّن كلمة مرور للاسترداد كي تتمكن من تسجيل الدخول إذا تعذّر الدخول الموحّد في أي وقت.",
diff --git a/ui/packages/i18n/src/locales/de.ts b/ui/packages/i18n/src/locales/de.ts
index 41e61f04ef4..7d26a09e1e3 100644
--- a/ui/packages/i18n/src/locales/de.ts
+++ b/ui/packages/i18n/src/locales/de.ts
@@ -3734,7 +3734,6 @@ const de = {
},
home: {
build: {
- title: "App erstellen",
noCapability: "Das Erstellen von Apps ist in diesem System nicht verfügbar — es erfordert die Berechtigung „Metadaten verwalten“, die Ihr Konto nicht besitzt.",
inStudio: "Neue leere App",
},
@@ -3742,13 +3741,11 @@ const de = {
title: "Mit einer Vorlage starten",
marketplaceDisabled: "Für diese Laufzeitumgebung ist kein App-Marktplatz konfiguriert, daher gibt es hier keine Vorlagen zum Installieren.",
},
- welcomeAdminDescription: "Beschreiben Sie Ihr Geschäft in einem Satz — die KI erzeugt die Objekte, Bildschirme, APIs und Agent-Tools. Oder richten Sie alles selbst über das Menü links ein.",
welcomeAdminDescriptionNoBuild: "Richten Sie Ihre erste Anwendung über das Verwaltungsmenü links ein. Sobald Daten vorhanden sind, kann der KI-Assistent bei der Auswertung helfen.",
welcomeAdminDescriptionNoAi: "Richten Sie Ihre erste Anwendung über das Verwaltungsmenü links ein.",
noAppsTitle: "Noch keine Anwendungen",
noAppsDescription: "Das System wird eingerichtet — Apps, die Ihr Administrator für Sie freigibt, erscheinen hier.",
noAppsAddDescription: "Erstellen Sie Ihre erste App, oder beginnen Sie mit einer Vorlage oder dem App-Marktplatz.",
- buildWithAI: "Mit KI erstellen",
askAI: "KI fragen",
recoveryReminder: {
message: "Legen Sie ein Wiederherstellungspasswort fest, damit Sie sich auch anmelden können, wenn Single Sign-on einmal nicht verfügbar ist.",
diff --git a/ui/packages/i18n/src/locales/en.ts b/ui/packages/i18n/src/locales/en.ts
index c51464b3ab1..abc2afb4a9b 100644
--- a/ui/packages/i18n/src/locales/en.ts
+++ b/ui/packages/i18n/src/locales/en.ts
@@ -4536,7 +4536,6 @@ const en = {
// `appTileOpenedLine-12601.test.ts` (app-shell).
appOpened: '{{time}}',
build: {
- title: 'Build an app',
noCapability: 'Building apps isn\'t available in this system — it requires the “Manage Metadata” permission, which your account doesn\'t have.',
inStudio: 'New blank app',
},
@@ -4547,13 +4546,11 @@ const en = {
open: 'Open',
loading: 'Loading…',
welcome: 'Build your business system with AI',
- welcomeAdminDescription: 'Describe your business in one sentence — AI generates the objects, screens, APIs and agent tools. Or set things up yourself from the menu on the left.',
welcomeAdminDescriptionNoBuild: 'Set up your first application from the Administration menu on the left. Once you have data, the AI assistant can help you explore it.',
welcomeAdminDescriptionNoAi: 'Set up your first application from the Administration menu on the left.',
noAppsTitle: 'No applications yet',
noAppsDescription: 'The system is being set up — apps your admin shares with you will show up here.',
noAppsAddDescription: 'Build your first app, or start from a template or the app marketplace.',
- buildWithAI: 'Build with AI',
askAI: 'Ask AI',
recoveryReminder: {
message: 'Set a recovery password so you can still sign in if single sign-on is ever unavailable.',
diff --git a/ui/packages/i18n/src/locales/es.ts b/ui/packages/i18n/src/locales/es.ts
index 4ac4e2452da..016925203e7 100644
--- a/ui/packages/i18n/src/locales/es.ts
+++ b/ui/packages/i18n/src/locales/es.ts
@@ -3816,7 +3816,6 @@ const es = {
},
home: {
build: {
- title: "Crear una aplicación",
noCapability: "La creación de aplicaciones no está disponible en este sistema: requiere el permiso «Gestionar metadatos», que su cuenta no tiene.",
inStudio: "Nueva aplicación en blanco",
},
@@ -3824,13 +3823,11 @@ const es = {
title: "Empezar con una plantilla",
marketplaceDisabled: "Este runtime no tiene un marketplace de aplicaciones configurado, por lo que no hay plantillas que instalar aquí.",
},
- welcomeAdminDescription: "Describa su negocio en una frase — la IA genera los objetos, las pantallas, las API y las herramientas del agente. O configúrelo usted mismo desde el menú de la izquierda.",
welcomeAdminDescriptionNoBuild: "Configure su primera aplicación desde el menú de Administración de la izquierda. Cuando tenga datos, el asistente de IA podrá ayudarle a explorarlos.",
welcomeAdminDescriptionNoAi: "Configure su primera aplicación desde el menú de Administración de la izquierda.",
noAppsTitle: "Todavía no hay aplicaciones",
noAppsDescription: "El sistema se está preparando — las aplicaciones que su administrador comparta aparecerán aquí.",
noAppsAddDescription: "Cree su primera aplicación, o empiece con una plantilla o el mercado de aplicaciones.",
- buildWithAI: "Crear con IA",
askAI: "Preguntar a la IA",
recoveryReminder: {
message: "Establezca una contraseña de recuperación para poder iniciar sesión aunque el inicio de sesión único no esté disponible.",
diff --git a/ui/packages/i18n/src/locales/fr.ts b/ui/packages/i18n/src/locales/fr.ts
index b12f33f926f..21a5312200c 100644
--- a/ui/packages/i18n/src/locales/fr.ts
+++ b/ui/packages/i18n/src/locales/fr.ts
@@ -3812,7 +3812,6 @@ const fr = {
},
home: {
build: {
- title: "Créer une application",
noCapability: "La création d'applications n'est pas disponible dans ce système : elle requiert l'autorisation « Gérer les métadonnées », que votre compte ne possède pas.",
inStudio: "Nouvelle application vierge",
},
@@ -3820,13 +3819,11 @@ const fr = {
title: "Partir d'un modèle",
marketplaceDisabled: "Aucune place de marché d'applications n'est configurée pour ce runtime : il n'y a donc aucun modèle à installer ici.",
},
- welcomeAdminDescription: "Décrivez votre activité en une phrase — l'IA génère les objets, les écrans, les API et les outils d'agent. Ou configurez tout vous-même depuis le menu de gauche.",
welcomeAdminDescriptionNoBuild: "Configurez votre première application depuis le menu Administration à gauche. Une fois les données en place, l'assistant IA pourra vous aider à les explorer.",
welcomeAdminDescriptionNoAi: "Configurez votre première application depuis le menu Administration à gauche.",
noAppsTitle: "Aucune application pour l'instant",
noAppsDescription: "Le système est en cours de configuration — les applications partagées par votre administrateur apparaîtront ici.",
noAppsAddDescription: "Créez votre première application, ou partez d'un modèle ou de la place de marché.",
- buildWithAI: "Créer avec l'IA",
askAI: "Demander à l'IA",
recoveryReminder: {
message: "Définissez un mot de passe de secours afin de pouvoir vous connecter même si l'authentification unique est indisponible.",
diff --git a/ui/packages/i18n/src/locales/ja.ts b/ui/packages/i18n/src/locales/ja.ts
index f6ee73b407e..838f8c08ec9 100644
--- a/ui/packages/i18n/src/locales/ja.ts
+++ b/ui/packages/i18n/src/locales/ja.ts
@@ -3736,7 +3736,6 @@ const ja = {
},
home: {
build: {
- title: "アプリを作る",
noCapability: "このシステムではアプリの作成はできません — 「メタデータ管理」権限が必要ですが、お使いのアカウントにはありません。",
inStudio: "空のアプリを新規作成",
},
@@ -3744,13 +3743,11 @@ const ja = {
title: "テンプレートから始める",
marketplaceDisabled: "このランタイムにはアプリマーケットプレイスが設定されていないため、ここからインストールできるテンプレートはありません。",
},
- welcomeAdminDescription: "ビジネスを一文で説明してください — AI がオブジェクト、画面、API、エージェントツールを生成します。左のメニューから自分で設定することもできます。",
welcomeAdminDescriptionNoBuild: "左の管理メニューから最初のアプリケーションを設定してください。データが入ると、AI アシスタントが分析を手伝えます。",
welcomeAdminDescriptionNoAi: "左の管理メニューから最初のアプリケーションを設定してください。",
noAppsTitle: "アプリケーションがまだありません",
noAppsDescription: "システムを準備中です — 管理者が共有したアプリがここに表示されます。",
noAppsAddDescription: "最初のアプリを作成するか、テンプレートやアプリマーケットプレイスから始めましょう。",
- buildWithAI: "AI でビルド",
askAI: "AI に質問",
recoveryReminder: {
message: "シングルサインオンが利用できないときでもサインインできるよう、リカバリーパスワードを設定してください。",
diff --git a/ui/packages/i18n/src/locales/ko.ts b/ui/packages/i18n/src/locales/ko.ts
index 2153f50ffcd..f6babd3e48f 100644
--- a/ui/packages/i18n/src/locales/ko.ts
+++ b/ui/packages/i18n/src/locales/ko.ts
@@ -3734,7 +3734,6 @@ const ko = {
},
home: {
build: {
- title: "앱 만들기",
noCapability: "이 시스템에서는 앱 만들기를 사용할 수 없습니다 — ‘메타데이터 관리’ 권한이 필요하지만 계정에 해당 권한이 없습니다.",
inStudio: "새 빈 앱 만들기",
},
@@ -3742,13 +3741,11 @@ const ko = {
title: "템플릿으로 시작",
marketplaceDisabled: "이 런타임에는 앱 마켓플레이스가 구성되어 있지 않아 여기에서 설치할 템플릿이 없습니다.",
},
- welcomeAdminDescription: "비즈니스를 한 문장으로 설명해 주세요 — AI가 객체, 화면, API, 에이전트 도구를 생성합니다. 왼쪽 메뉴에서 직접 설정할 수도 있습니다.",
welcomeAdminDescriptionNoBuild: "왼쪽 관리 메뉴에서 첫 애플리케이션을 설정하세요. 데이터가 쌓이면 AI 어시스턴트가 살펴보는 것을 도와줍니다.",
welcomeAdminDescriptionNoAi: "왼쪽 관리 메뉴에서 첫 애플리케이션을 설정하세요.",
noAppsTitle: "아직 애플리케이션이 없습니다",
noAppsDescription: "시스템을 준비하고 있습니다 — 관리자가 공유한 앱이 여기에 표시됩니다.",
noAppsAddDescription: "첫 앱을 만들거나, 템플릿이나 앱 마켓플레이스에서 시작하세요.",
- buildWithAI: "AI로 빌드",
askAI: "AI에게 질문",
recoveryReminder: {
message: "싱글 사인온을 사용할 수 없을 때도 로그인할 수 있도록 복구 비밀번호를 설정하세요.",
diff --git a/ui/packages/i18n/src/locales/pt-BR.ts b/ui/packages/i18n/src/locales/pt-BR.ts
index 52ba882dd42..7aaff27cdb8 100644
--- a/ui/packages/i18n/src/locales/pt-BR.ts
+++ b/ui/packages/i18n/src/locales/pt-BR.ts
@@ -3811,7 +3811,6 @@ const pt = {
},
home: {
build: {
- title: "Criar um aplicativo",
noCapability: "A criação de aplicativos não está disponível neste sistema — ela exige a permissão “Gerenciar metadados”, que sua conta não possui.",
inStudio: "Novo aplicativo em branco",
},
@@ -3819,13 +3818,11 @@ const pt = {
title: "Comece com um modelo",
marketplaceDisabled: "Este runtime não tem um marketplace de aplicativos configurado, portanto não há modelos para instalar aqui.",
},
- welcomeAdminDescription: "Descreva seu negócio em uma frase — a IA gera os objetos, as telas, as APIs e as ferramentas do agente. Ou configure você mesmo pelo menu à esquerda.",
welcomeAdminDescriptionNoBuild: "Configure seu primeiro aplicativo pelo menu de Administração à esquerda. Quando houver dados, o assistente de IA poderá ajudar a explorá-los.",
welcomeAdminDescriptionNoAi: "Configure seu primeiro aplicativo pelo menu de Administração à esquerda.",
noAppsTitle: "Ainda não há aplicativos",
noAppsDescription: "O sistema está sendo preparado — os aplicativos que seu administrador compartilhar aparecerão aqui.",
noAppsAddDescription: "Crie seu primeiro aplicativo ou comece com um modelo ou o marketplace de aplicativos.",
- buildWithAI: "Criar com IA",
askAI: "Perguntar à IA",
recoveryReminder: {
message: "Defina uma senha de recuperação para conseguir entrar mesmo que o logon único fique indisponível.",
diff --git a/ui/packages/i18n/src/locales/ru.ts b/ui/packages/i18n/src/locales/ru.ts
index ff8abbe420a..d307364ad09 100644
--- a/ui/packages/i18n/src/locales/ru.ts
+++ b/ui/packages/i18n/src/locales/ru.ts
@@ -3903,7 +3903,6 @@ const ru = {
},
home: {
build: {
- title: "Создать приложение",
noCapability: "Создание приложений недоступно в этой системе — для этого нужно разрешение «Управление метаданными», которого нет у вашей учётной записи.",
inStudio: "Новое пустое приложение",
},
@@ -3911,13 +3910,11 @@ const ru = {
title: "Начать с шаблона",
marketplaceDisabled: "Для этого рантайма не настроен маркетплейс приложений, поэтому здесь нет шаблонов для установки.",
},
- welcomeAdminDescription: "Опишите свой бизнес одним предложением — ИИ создаст объекты, экраны, API и инструменты агента. Либо настройте всё сами через меню слева.",
welcomeAdminDescriptionNoBuild: "Настройте первое приложение через меню «Администрирование» слева. Когда появятся данные, ИИ-ассистент поможет их изучить.",
welcomeAdminDescriptionNoAi: "Настройте первое приложение через меню «Администрирование» слева.",
noAppsTitle: "Приложений пока нет",
noAppsDescription: "Система настраивается — приложения, которыми поделится администратор, появятся здесь.",
noAppsAddDescription: "Создайте первое приложение или начните с шаблона или магазина приложений.",
- buildWithAI: "Создать с помощью ИИ",
askAI: "Спросить ИИ",
recoveryReminder: {
message: "Задайте резервный пароль, чтобы входить в систему даже когда единый вход недоступен.",
diff --git a/ui/packages/i18n/src/locales/zh-Hans.ts b/ui/packages/i18n/src/locales/zh-Hans.ts
index aa47f29a34b..9d3d975cfff 100644
--- a/ui/packages/i18n/src/locales/zh-Hans.ts
+++ b/ui/packages/i18n/src/locales/zh-Hans.ts
@@ -3912,7 +3912,6 @@ const zh = {
addApp: '添加应用',
appOpened: '{{time}}打开',
build: {
- title: '构建应用',
noCapability: '本系统不提供构建应用功能 — 它需要「管理元数据」权限,而你的账号没有该权限。',
inStudio: '新建空白应用',
},
@@ -3923,13 +3922,11 @@ const zh = {
open: '打开',
loading: '加载中…',
welcome: '用 AI 搭建你的业务系统',
- welcomeAdminDescription: '用一句话描述你的业务,AI 会为你生成对象、界面、API 和智能体工具;也可以从左侧菜单自行搭建。',
welcomeAdminDescriptionNoBuild: '从左侧的「管理」菜单创建你的第一个应用。有了数据后,AI 助手可以帮你查询和分析。',
welcomeAdminDescriptionNoAi: '从左侧的「管理」菜单创建你的第一个应用。',
noAppsTitle: '还没有应用',
noAppsDescription: '系统正在准备中——管理员共享给你的应用会显示在这里。',
noAppsAddDescription: '搭建你的第一个应用,或者从模板、应用市场开始。',
- buildWithAI: '用 AI 搭建',
askAI: '问 AI',
recoveryReminder: {
message: '建议设置一个备用密码,这样即使单点登录不可用,你仍能直接登录。',
diff --git a/ui/packages/i18n/src/locales/zh-Hant.ts b/ui/packages/i18n/src/locales/zh-Hant.ts
index 273c7f20d1d..be715305edf 100644
--- a/ui/packages/i18n/src/locales/zh-Hant.ts
+++ b/ui/packages/i18n/src/locales/zh-Hant.ts
@@ -3912,7 +3912,6 @@ const zhHant = {
addApp: '新增應用',
appOpened: '{{time}}開啟',
build: {
- title: '構建應用',
noCapability: '本系統不提供構建應用功能 — 它需要「管理中繼資料」權限,而你的賬號沒有該權限。',
inStudio: '新建空白應用',
},
@@ -3923,13 +3922,11 @@ const zhHant = {
open: '開啟',
loading: '載入中…',
welcome: '用 AI 搭建你的業務系統',
- welcomeAdminDescription: '用一句話描述你的業務,AI 會為你生成物件、介面、API 和智慧體工具;也可以從左側選單自行搭建。',
welcomeAdminDescriptionNoBuild: '從左側的「管理」選單建立你的第一個應用。有了資料後,AI 助手可以幫你查詢和分析。',
welcomeAdminDescriptionNoAi: '從左側的「管理」選單建立你的第一個應用。',
noAppsTitle: '還沒有應用',
noAppsDescription: '系統正在準備中——管理員共享給你的應用會顯示在這裡。',
noAppsAddDescription: '搭建你的第一個應用,或者從模板、應用市場開始。',
- buildWithAI: '用 AI 搭建',
askAI: '問 AI',
recoveryReminder: {
message: '建議設定一個備用密碼,這樣即使單點登入不可用,你仍能直接登入。',