Repository navigation
fix(content): call the editor's Impact tab "Live page", say it isn't a forecast, and name Apply rules with Agent - #1346
Conversation
…a forecast, and name Apply rules with Agent - The side panel's Impact tab reads as a promise of what the draft will get (gkhngyk asked "if I write this, will I get cited this much?"). It shows the live page's numbers, so the tab is "Live page", headed "The live page today" with "How the live page does now, not a forecast of what this draft will get." The new-page and load-error lines follow. - "Fix open rules with agent" becomes "Apply rules with Agent", in the Rules tab and the agent bar. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@gkhngyk Your Impact-tab question, answered in the copy: the tab is now "Live page", with "not a forecast of what this draft will get". "Fix open rules with agent" is now "Apply rules with Agent" (the user's wording). Copy only. |
gkhngyk
left a comment
There was a problem hiding this comment.
Looks good, and approved in substance. One step before merge: #1347, #1348, #1350 and #1351 are landing now, and this PR renames labels their tests use. Please merge main in, then:
- resolve the
page.test.tsxconflict with #1347; - change "Impact" to "Live page" in #1347's tests (
page.test.tsx, around:1386,:1400and:1810at #1347's head); - change "Fix open rules with agent" to "Apply rules with Agent" in #1350's two new tests.
Optional: web/src/lib/mcp/server.ts:1422 still says "the editor's Impact tab".
…wording # Conflicts: # web/src/app/[locale]/(dashboard)/dashboard/content/editor/[draftId]/page.test.tsx
|
@gkhngyk merged main in (a060e1e), with all three:
Checks: web lint (0 errors), typecheck, 2,721 tests and build pass. |
gkhngyk
left a comment
There was a problem hiding this comment.
Looks good. Ready to merge.
All the items from the last review are in, in the update from main (a060e1e):
- The
page.test.tsxconflict with #1347 is resolved. Rules is still the first tab, and the tab-order list isRules, Brief, Sources, Live page. - #1347's tests say "Live page":
pickTab('Live page')atpage.test.tsx:1423and:1941, and the closed panel's strip at:1437. - #1350's two tests click "Apply rules with Agent" (
page.test.tsx:1783and:1810). - The MCP description at
web/src/lib/mcp/server.ts:1628says "Live page tab".
No test or message on this head uses "Impact" for the tab or "Fix open rules with agent" any more.
Merge notes
- Merges cleanly on current main and with #1349. No migration.
- The merge commit only resolves the conflict and makes the renames above. A clean re-merge of its parents differs from it only there.
Tested on top of main together with #1346, #1349 and #1127: web and server tests, tsc, lint and Prettier pass.
Summary
From the user's Content Editor feedback (items 6 and 7): two labels in the editor's side panel read wrong.
Copy only. Code names (
impact,agentFix) are unchanged. The tests follow the new labels, and the Live page test checks the "not a forecast" line.Related issue
None. Product feedback from the user and from your question on the Impact tab.
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/)yarn typecheckpasses (run fromweb/)yarn format:checkpasses (run fromweb/)yarn test: 288 files, 2,538 tests pass.yarn buildpasses with CI's placeholders.🤖 Generated with Claude Code