Skip to content

Commit 5029deb

Browse files
authored
merge pull request #73 from DeskproApps/chore/SC-159738-improve-readme-appearance
SC-159738 chore: improve ReadMe appearance
2 parents fee6775 + f93beec commit 5029deb

3 files changed

Lines changed: 282 additions & 5 deletions

File tree

README.md

Lines changed: 93 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,97 @@
1-
<img align="right" alt="Deskpro" src="https://raw.githubusercontent.com/DeskproApps/github/master/docs/assets/deskpro-logo.svg" />
1+
<div align='center'>
2+
<a target='_blank' href=''><img src='https://img.shields.io/github/contributors/deskproapps/github.svg?style=for-the-badge' alt='Contributors' /></a>
3+
<a target='_blank' href='https://github.com/deskproapps/github/issues'><img src='https://img.shields.io/github/issues/deskproapps/github.svg?style=for-the-badge' alt='Issues' /></a>
4+
<a target='_blank' href='https://github.com/deskproapps/github/blob/master/LICENSE.md'><img src='https://img.shields.io/github/license/deskproapps/github.svg?style=for-the-badge' alt='MIT License' /></a>
5+
<a target='_blank' href='https://github.com/deskproapps/github/releases'><img src='https://img.shields.io/github/v/release/deskproapps/github?style=for-the-badge' alt='GitHub Release' /></a>
6+
<a target='_blank' href='https://www.linkedin.com/company/deskpro'><img src='https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555' alt='LinkedIn' /></a>
7+
<img src='readme.svg' />
8+
</div>
29

3-
# Github App
10+
<div align='center'>
11+
<h1>GitHub App</h1>
12+
<p>Our GitHub integration will help you track issues linked to tickets in real-time.</p>
13+
<a href='https://support.deskpro.com/ga/guides/developers/anatomy-of-an-app' target='_blank'>Deskpro Apps Documentation</a>
14+
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
15+
<a href='https://docs.github.com/en/rest' target='_blank'>GitHub API Documentation</a>
16+
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
17+
<a href='./SETUP.md' target='_blank'>GitHub App Setup Guide</a>
18+
<br />
19+
<hr />
20+
<br />
21+
</div>
422

5-
View your GitHub issues from Deskpro and link them to tickets you are working on
23+
![screenshot of the GitHub App](./docs/readme/app-screenshot.png)
624

7-
![Github App - Deskpro](https://raw.githubusercontent.com/DeskproApps/github/master/docs/assets/github_screenshot_01.png)
25+
## **About the App**
26+
The GitHub App enhances your Deskpro experience by integrating GitHub's powerful issue tracking and repository management features directly into your helpdesk. With this app, agents can link tickets to GitHub issues, track their progress in real-time, and streamline collaboration between support and development teams.
827

9-
[Find out more about our Github App](https://www.deskpro.com/apps/github)
28+
## **Setting up the app in Deskpro**
29+
You can follow our [setup guide](./SETUP.md) for a step-by-step guide to setting up the GitHub app in Deskpro.
30+
31+
## Development
32+
33+
### With DevContainers (Recommended)
34+
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.
35+
36+
#### Why use DevContainers?
37+
- **Consistency:** All developers work in the same environment, with the same versions of dependencies, tools, and configurations.
38+
- **Speed:** The DevContainer setup is quick to start, letting you focus on coding rather than environment setup.
39+
- **Isolation:** Avoid conflicts between different versions of Node.js, PNPM, or other dependencies by using the predefined container setup.
40+
41+
#### Getting Started with DevContainers
42+
1. Ensure that you have [Docker](https://www.docker.com/get-started) and [VS Code](https://code.visualstudio.com/) installed.
43+
2. Open the project in [VS Code](https://code.visualstudio.com/).
44+
3. If you have the **Remote - Containers** extension installed, [VS Code](https://code.visualstudio.com/) should automatically detect the `.devcontainer` configuration in this project and prompt you to reopen the folder in the container.
45+
4. After opening the project in the DevContainer, run:
46+
```bash
47+
pnpm start
48+
```
49+
50+
You should now be able to view the app in your browser. For more information about developing [Deskpro apps](https://www.deskpro.com/apps), [Visit the docs](https://support.deskpro.com/ga/guides/developers/anatomy-of-an-app).
51+
52+
### Natively
53+
_We recommend using the DevContainer mentioned above for Consistency, Speed and Isolation._
54+
55+
This app was developed primarily using **TypeScript**, **React**, and **Vite**.
56+
57+
#### Setup
58+
To run this project locally:
59+
60+
```bash
61+
# Clone the repository
62+
git clone https://github.com/DeskproApps/github.git
63+
64+
# Change to the project directory
65+
cd github
66+
67+
# Install dependencies
68+
pnpm install
69+
70+
# Run the development server
71+
pnpm start
72+
```
73+
74+
You should now be able to view the app in your browser. For more information about developing [Deskpro Apps](https://www.deskpro.com/apps), [Visit the Docs](https://support.deskpro.com/ga/guides/developers/anatomy-of-an-app).
75+
76+
### Testing
77+
We've included `jest` to run tests. It will look anywhere in `/src` for test suite files ending in `.test.tsx` or `.test.ts`.
78+
79+
You can run all tests using:
80+
81+
```bash
82+
pnpm test
83+
```
84+
85+
## Versioning
86+
Every 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:
87+
88+
* We increment **patch** versions, i.e. 1.0.1, automatically. This is the default
89+
* **Minor** versions, i.e. 1.1.0, are incremented if you add the `minor-version` GitHub label to your PR
90+
* **Major** versions, i.e. 2.0.0, are incremented if you add the `major-version` GitHub label to your PR
91+
92+
## Top Contributors
93+
[![Contributors](https://contrib.rocks/image?repo=deskproapps/github)](https://github.com/deskproapps/github/graphs/contributors)
94+
95+
96+
## License
97+
Distributed under the MIT License. See [LICENSE.md](LICENSE.md) for more information.

docs/readme/app-screenshot.png

35.3 KB
Loading

readme.svg

Lines changed: 189 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)