datocms-plugin-project-wide-stage-viewer
v0.1.12
Published
A plugin that allows you to view all records (across multiple models) belonging to a workflow stage.
Readme
Project Wide Stage Viewer
Surface every record currently sitting in a DatoCMS workflow stage—across every model—in one focused view.


Table of contents
- Highlights
- Requirements
- Installation
- Configuration
- Using the stage view
- Scripts & local development
- Troubleshooting
- Contributing
- License
Highlights
- Cross-model overview – list every record currently assigned to a workflow stage, independent of model.
- Context at a glance – the header reminds editors which stage and workflow they are reviewing.
- Precise filtering – narrow results by model or full-text search across title, ID, and model name.
- Fast sorting – reorder by title, record ID, model name, or last update time in either direction.
- Pagination built-in – results are paged in chunks of 50 so large workflows stay readable.
- One-click jump – open a record in the DatoCMS editor directly from the table.
- Responsive & accessible – works inside the DatoCMS UI across screen sizes with keyboard navigation support.
Requirements
- A DatoCMS project with workflows enabled.
- Permission to install and configure plugins in the target project.
Installation
Install from the Marketplace
- Log into DatoCMS and open Settings → Plugins.
- Search for Project Wide Stage Viewer and click Install.
- Confirm the required permissions when prompted.
Install manually
Clone this repository or download the sources.
Install dependencies with:
npm installBuild the plugin:
npm run buildThe compiled assets are generated in the
dist/directory.In DatoCMS open Settings → Plugins → Add new plugin → From your computer and upload the contents of
dist/as a ZIP.
Configuration
- Open the plugin configuration screen inside DatoCMS.
- Pick a workflow and a stage from the dropdowns.
- (Optional) Provide a custom label and a FontAwesome icon name to define how the stage appears in the content sidebar.
- Click Add this. The new stage is saved automatically and becomes a persistent entry in the main content sidebar, pointing to the stage view page rendered by this plugin.
You can repeat the process to add as many workflow stages as you like—each is saved as a menu item inside the plugin parameters. Configured items are listed near the bottom of the configuration screen and can be removed individually.
Using the stage view
- Navigate to the stage via the entry created in the content sidebar.
- The header summarises the context: "Records belonging to Stage in the Workflow workflow."
- Use the Model dropdown to limit results to a single model, or leave it blank to see every model.
- Use the Search field to filter records by title, record ID, or model name.
- Click any column header to sort ascending/descending.
- Page through the results 50 at a time with the minimalist Previous and Next controls.
- Tap Enter or Space (or click) on a row to open the record in the standard DatoCMS editor.
If no matches are found, contextual empty states explain why (stage empty, filter mismatch, search mismatch, etc.).
Scripts & local development
| Command | Description |
| --- | --- |
| npm install | Install dependencies. |
| npm run dev | Start the Vite dev server (defaults to http://localhost:5173). Point your plugin instance to this URL for local development. |
| npm run build | Type-check and bundle the production assets into dist/. |
When developing locally, configure the plugin in DatoCMS to load from your dev server by entering the dev URL in the plugin settings.
Troubleshooting
- No stages appear in the configuration screen – ensure workflows are enabled in your DatoCMS plan and that the logged in user can read workflows.
- Table is empty – either no records are currently assigned to the stage, or applied filters/search exclude them. Clear filters or switch models to confirm.
- Navigation fails – make sure the user has permission to edit the target models.
Contributing
- Fork the repository and create a feature branch.
- Run
npm run devto work against a local build. - Run
npm run buildbefore opening a pull request to ensure the bundle compiles cleanly. - Explain the change, add screenshots when UI changes are involved, and include any relevant testing notes.
License
Released under the MIT License.
