Get the latest updates from Deskpro, including new features and other product news.
Deskpro Apps Documentation • Deskpro News App Setup GuideThe Deskpro News App keeps you informed about the latest product updates, new features, and important announcements from Deskpro. Stay up to date directly within your helpdesk by viewing news posts, release notes, and other key information as soon as it’s available.
You can follow our setup guide for a step-by-step guide to setting up the Deskpro News app in Deskpro.
To make development easier and avoid version conflicts, we recommend using DevContainers for local development. This approach ensures that everyone on the team uses the same environment, reducing setup issues and version mismatches between dependencies.
- Consistency: All developers work in the same environment, with the same versions of dependencies, tools, and configurations.
- Speed: The DevContainer setup is quick to start, letting you focus on coding rather than environment setup.
- Isolation: Avoid conflicts between different versions of Node.js, PNPM, or other dependencies by using the predefined container setup.
- Ensure that you have Docker and VS Code installed.
- Open the project in VS Code.
- If you have the Remote - Containers extension installed, VS Code should automatically detect the
.devcontainerconfiguration in this project and prompt you to reopen the folder in the container. - After opening the project in the DevContainer, run:
pnpm start
You should now be able to view the app in your browser. For more information about developing Deskpro Apps, visit the docs.
We recommend using the DevContainer mentioned above for Consistency, Speed and Isolation.
This app was developed primarily using TypeScript, React, and Vite.
To run this project locally:
# Clone the repository
git clone https://github.com/DeskproApps/deskpro-news.git
# Change to the project directory
cd deskpro-news
# Install dependencies
pnpm install
# Run the development server
pnpm startYou should now be able to view the app in your browser. For more information about developing Deskpro Apps, visit the Docs.
We've included jest to run tests. It will look anywhere in /src for test suite files ending in .test.tsx or .test.ts.
You can run all tests using:
pnpm testEvery app deployment requires that the version property in the manifest.json file be updated to reflect the new app version. This is so Deskpro can detect changes and add/upgrade apps accordingly. As such, we've made altering versions easy by having CI make the actual version change for you. Here's what we do:
- We increment patch versions, i.e. 1.0.1, automatically. This is the default
- Minor versions, i.e. 1.1.0, are incremented if you add the
minor-versionGitHub label to your PR - Major versions, i.e. 2.0.0, are incremented if you add the
major-versionGitHub label to your PR
Distributed under the MIT License. See LICENSE.md for more information.
