Skip to content

fix(content): call New content's opportunities content opportunities - #1327

Merged
gkhngyk merged 1 commit into
ansvisor:mainfrom
cihan-gyk:fix/content-opportunity-label
Oct 22, 2026
Merged

gkhngyk merged 1 commit into
ansvisor:mainfrom
cihan-gyk:fix/content-opportunity-label

Conversation

@cihan-gyk

Copy link
Copy Markdown
Collaborator

Summary

From the user's review of New content: a bare "Opportunity" was ambiguous next to Insights' own Opportunities. New content → Create from scratch now names its source the way the prompt page's workflow card already does:

Where Before After
Create from scratch hint From an opportunity, a prompt or a topic From a content opportunity, a prompt or a topic
Start from tab Opportunity Content Opportunity
Picker placeholder Pick an opportunity Pick a content opportunity
Picker search Search opportunities Search content opportunities
Empty list No open opportunities. No open content opportunities.

These are copy changes only (contentEditor.newContent in en.json), plus the dialog test's labels.

Related issue

None. Product feedback from the user.

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. Go to Library → New content → Create from scratch. The hint and the first tab read "Content Opportunity", and the picker says "Pick a content opportunity".

Checked in light and dark, at 1024 px and wider; the three tabs fit on one line.

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 passes: 281 files, 2,482 tests. yarn build passes with CI's placeholders.

🤖 Generated with Claude Code

A bare "Opportunity" in Create from scratch was ambiguous next to
Insights' Opportunities. The hint, the Start from tab, the picker's
placeholder, search and empty list now say content opportunity, as the
prompt page's workflow card does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@cihan-gyk

Copy link
Copy Markdown
Collaborator Author

@gkhngyk A copy-only change from the user's review: New content's "Opportunity" tab and picker now say "Content Opportunity", as the prompt page's workflow card does, so it isn't confused with Insights' Opportunities. It touches en.json and the dialog test only. Web checks 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.

Tested on top of main together with #1327, #1319, #1330 and #1320: web 2,487 tests, server 2,006, 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