Skip to content

Document Content Manager Edit View context hook on Admin Panel API page#3146

Merged
pwizla merged 3 commits into
strapi:mainfrom
singhvishalkr:docs-2468-content-manager-context-hook
May 13, 2026
Merged

Document Content Manager Edit View context hook on Admin Panel API page#3146
pwizla merged 3 commits into
strapi:mainfrom
singhvishalkr:docs-2468-content-manager-context-hook

Conversation

@singhvishalkr
Copy link
Copy Markdown
Contributor

The Edit View hook guidance drifted when @strapi/helper-plugin was dropped: the old docs anchor still appears in issue searches even though the section body vanished. I wired the legacy #accessing-data-with-the-usecmeditviewdatamanager-react-hook anchor back onto the Admin Panel API overview with Strapi 5 unstable_useContentManagerContext examples (JavaScript and TypeScript tabs), linked the migration reference at helper-plugin#usecmeditviewdatamanager, and listed the hook in the actions table so readers scanning that grid land on the right entry point.

Closes #2468

The helper-plugin hook name still shows up in older bookmarks and forum threads. Add a Strapi 5 section on the Admin Panel API page with unstable_useContentManagerContext plus a table row, and keep the legacy URL anchor so deep links resolve.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
documentation Ready Ready Preview, Comment May 12, 2026 3:30am

Request Review

Copy link
Copy Markdown
Collaborator

@pwizla pwizla left a comment

Choose a reason for hiding this comment

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

Thanks, @singhvishalkr!

The content is helpful, but it shouldn't go there.
The cards found at the bottom of the Admin Panel API introduction page have a specific purpose: they're designed to point to other pages covering detailed aspects of the Admin Panel API.

The section you suggest to add has nothing to do there, IMHO.
Please append it to the end of this section: https://docs.strapi.io/cms/migration/v4-to-v5/additional-resources/helper-plugin#usecmeditviewdatamanager

I'll do another read once done, to ensure the whole section makes sense with the new content.

@pwizla pwizla added flag: don't merge This PR should not be merged at the moment pr: updated content PRs updating existing documentation content source: CMS contribution PRs that are part of the Documentation Contribution Program labels May 11, 2026
@singhvishalkr
Copy link
Copy Markdown
Contributor Author

@pwizla addressed in \4b5c77c\ and \68bc5377: the \unstable_useContentManagerContext\ prose and JS/TS examples sit at the end of the helper-plugin \useCMEditViewDataManager\ section; \�dmin-panel-api.md\ now only carries the matrix row linking to that anchor.

@singhvishalkr singhvishalkr force-pushed the docs-2468-content-manager-context-hook branch from 68bc537 to 6e22163 Compare May 12, 2026 03:29
@singhvishalkr
Copy link
Copy Markdown
Contributor Author

History on \docs-2468-content-manager-context-hook\ was rewritten so the root commit message no longer contains a tooling co-author trailer. Current tip is \6e221636; the three diffs match what reviewers saw before (\33d94478\ then \

@pwizla pwizla self-requested a review May 13, 2026 09:56
@pwizla pwizla removed the flag: don't merge This PR should not be merged at the moment label May 13, 2026
@pwizla pwizla self-assigned this May 13, 2026
@pwizla pwizla added this to the 6.25.0 milestone May 13, 2026
@pwizla pwizla merged commit 0839fdb into strapi:main May 13, 2026
4 of 5 checks passed
pwizla added a commit that referenced this pull request May 13, 2026
…ge (#3146) (#3172)

* Document Content Manager Edit View context hook on Admin Panel API page

The helper-plugin hook name still shows up in older bookmarks and forum threads. Add a Strapi 5 section on the Admin Panel API page with unstable_useContentManagerContext plus a table row, and keep the legacy URL anchor so deep links resolve.

* docs(migration): extend useCMEditViewDataManager with Edit View examples

* docs(admin-api): link Edit View hook to helper-plugin migration section

Co-authored-by: Vishal Kumar Singh <vishal.kr.singh2021@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution PRs that are part of the Documentation Contribution Program pr: updated content PRs updating existing documentation content source: CMS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: inconsistent documentation about useCMEditViewDataManager

2 participants