Docs reorder plugin crashes on app start
Payload CMS versions: 3.3.0
Plugin config:
plugins: [
docsReorder({
collections: [{ slug: 'artifacts' }], // The feature will be enabled only for collections that are in this array.,
}),
],
Installed the payload-enchants plugin, trying to enable it for a single collection, that is currently empty. The app crashes on start:
Attempted import error: 'useListInfo' is not exported from '@payloadcms/ui' (imported as 'useListInfo').
./node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_re_tde7ehpdlm346z4f7hr5beryau/node_modules/@payload-enchants/docs-reorder/dist/components/CollectionDocsOrder/CollectionDocsOrderButton.js
docsReorder is not yet compatible with version 3!
Do you have an ETA for this upgrade? I've started with Payload 3, so I don't know the diffs between version 2, can you provide some guidelines on updating the code to make it compatible with Payload 3? If I have time I'll try to do it myself and send a pull request.
Hey, any news about this issue?
Hi! @LaBisquerie I also needed this plugin to work with the latest Payload version, so I rewrote it ( mostly used old code ) to work with latest Payload. If anyone is interested, here is my version .