style(memhub): remove Pro recommendation badge

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
kristinheandCursor committed 2026-11-05 11:02:26 +08:00
1 parent 80f4231e46
commit cd86d50cd7
2 files changed
+2 -5

No files matched your search

+2 -4
View File
@@ -334,7 +334,7 @@ describe("OnboardingFlow S1.3", () => {
it("D41 opens source choice with metadata discovery but no content or authorization requests", async () => {
const controller = imports();
const view = render(
render(
<OnboardingFlow
state={onboarding}
imports={controller}
@@ -951,9 +951,7 @@ describe("OnboardingFlow S1.3", () => {
expect(screen.queryByText("之后可在设置中更改。")).toBeNull();
expect(screen.getAllByRole("radio")).toHaveLength(3);
expect(screen.getByRole("radio", { name: /ultra/i })).toBeTruthy();
expect(screen.getByText("推荐").closest("label")?.textContent).toContain(
"pro",
);
expect(screen.queryByText("推荐")).toBeNull();
const modeStep = screen
.getByRole("navigation", { name: "首次设置进度" })
.querySelector('[aria-current="step"]');
-1
View File
@@ -1294,7 +1294,6 @@ export function OnboardingFlow({
}))}
selected={modeChoice}
disabled={modeSaving || completionBusy || modePlanBusy}
recommended={{ mode: "pro", badge: text("推荐") }}
onChange={(mode, control) =>
void requestModeSelection(
mode as OnboardingMemoryMode,