Skip to content

fix(content): call the editor's Impact tab "Live page", say it isn't a forecast, and name Apply rules with Agent - #1346

Merged
gkhngyk merged 2 commits into
ansvisor:mainfrom
cihan-gyk:fix/content-editor-wording
Oct 22, 2026
Merged

gkhngyk merged 2 commits into
ansvisor:mainfrom
cihan-gyk:fix/content-editor-wording

Conversation

@cihan-gyk

Copy link
Copy Markdown
Collaborator

Summary

From the user's Content Editor feedback (items 6 and 7): two labels in the editor's side panel read wrong.

  • The Impact tab read as a promise. You asked, "if I write/optimize this, will I get cited this much?" The tab shows the live page's own numbers (the last N days against the N before), not a forecast for the draft.
    • The tab is now "Live page".
    • It's headed "The live page today", with the line "How the live page does now, not a forecast of what this draft will get."
    • A new page's line reads "This tab shows the live page's numbers when a draft optimizes one."
    • The load error reads "Couldn't load the live page's numbers."
  • "Fix open rules with agent" was unclear. It is now "Apply rules with Agent", in the Rules tab and the agent bar (both keys), and in the two doc comments that named it.

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 feature
  • fix — Bug fix
  • chore — Maintenance / dependencies
  • docs — Documentation only
  • refactor — Code change that neither fixes a bug nor adds a feature
  • test — Adding or updating tests

How to test

  1. Open a draft that optimizes a live page and show the side panel. The first tab is "Live page", headed "The live page today" and the not-a-forecast line.
  2. Open a new-page draft. Live page says there's nothing to measure yet.
  3. Rules tab with open rules: the button reads "Apply rules with Agent".

Checklist

  • Branch follows the naming convention (feature/, fix/, chore/, docs/) — see CONTRIBUTING.md
  • Commits follow Conventional Commits
  • yarn lint passes (run from web/)
  • yarn typecheck passes (run from web/)
  • yarn format:check passes (run from web/)
  • Changes are focused — one concern per PR

yarn test: 288 files, 2,538 tests pass. yarn build passes with CI's placeholders.

🤖 Generated with Claude Code

…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]>
@cihan-gyk

Copy link
Copy Markdown
Collaborator Author

@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 gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.tsx conflict with #1347;
  • change "Impact" to "Live page" in #1347's tests (page.test.tsx, around :1386, :1400 and :1810 at #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
@cihan-gyk

Copy link
Copy Markdown
Collaborator Author

@gkhngyk merged main in (a060e1e), with all three:

Checks: web lint (0 errors), typecheck, 2,721 tests and build pass.

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Ready to merge.

All the items from the last review are in, in the update from main (a060e1e):

  • The page.test.tsx conflict with #1347 is resolved. Rules is still the first tab, and the tab-order list is Rules, Brief, Sources, Live page.
  • #1347's tests say "Live page": pickTab('Live page') at page.test.tsx:1423 and :1941, and the closed panel's strip at :1437.
  • #1350's two tests click "Apply rules with Agent" (page.test.tsx:1783 and :1810).
  • The MCP description at web/src/lib/mcp/server.ts:1628 says "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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants