Skip to content
This repository was archived by the owner on Nov 23, 2024. It is now read-only.

Commit 1fa301d

Browse files
authored
Merge pull request #30 from zendesklabs/pr/29
Update SDK Metadata App for Framework V2
2 parents 67f4f90 + 5431016 commit 1fa301d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+12597
-349
lines changed

.babelrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"presets": [
3+
[
4+
"env",
5+
{
6+
"targets": {
7+
"browsers": ["last 2 versions", "last 1 ie version"]
8+
}
9+
}
10+
]
11+
],
12+
"plugins": ["transform-async-to-generator"]
13+
}

.eslintrc

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parser": "babel-eslint",
3+
"extends": "eslint:recommended",
4+
"rules": {
5+
"no-console": 0,
6+
"no-debugger": 0
7+
},
8+
"env": {
9+
"browser": true,
10+
"commonjs": true,
11+
"es6": true
12+
},
13+
"parserOptions": {
14+
"ecmaVersion": 6,
15+
"sourceType": "module"
16+
},
17+
"globals": {
18+
"Templates": true,
19+
"$": true,
20+
"jQuery": true,
21+
"Handlebars": true,
22+
"_": true,
23+
"moment": true,
24+
"helpers": true,
25+
"Base64": true
26+
}
27+
}

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
11
.DS_Store
2+
tmp/
3+
dist/
4+
node_modules/
5+
coverage/
6+
src/translations/*
7+
!src/translations/en.yml
8+
.zat
9+
doc/

DEPLOY.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Note: Run commands in the root app directory. And obviously you don't need to run npm install all the time...
2+
3+
To install ZAT
4+
===============
5+
1) `gem install zendesk_apps_tools`
6+
7+
Compile the app for DEV
8+
===============
9+
1) `npm install`
10+
1) `npm run watch`
11+
1) `zat server -p dist` - Serves the app to your zendesk instance with `?zat=true`
12+
13+
Compile the app for PROD
14+
===============
15+
1) `npm install --only=production`
16+
1) `zat translate to_json -p src`
17+
1) `npm run build`
18+
1) `zat package -p dist/` - This will output a .zip file to be uploaded to Zendesk's account at https://apps.zendesk.com.
19+
20+
To run linter
21+
===============
22+
1) `npm install`
23+
1) `npm run lint`

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2015 Zendesk
1+
Copyright 2019 Zendesk
22

33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

Procfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
reload: webpack --watch
2+
server: zat server --path=./dist --unattended

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Not all information is available for all operating systems and devices.
2929

3030
## Set-up/installation instructions:
3131

32-
Install the app through the Zendesk apps marketplace. As part of the installation you will be able to name the app and set any role restrictions.
32+
Install the app through the [Zendesk Marketplace](https://www.zendesk.com/apps/). As part of the installation you will be able to name the app and set any role restrictions.
3333

3434
## Contribution:
3535

@@ -38,11 +38,12 @@ Install the app through the Zendesk apps marketplace. As part of the installatio
3838

3939
## Screenshot:
4040

41-
![](http://zen-marketing-product.s3.amazonaws.com/product/images/sdk_support_metadata_app.png)
41+
![](https://i.imgur.com/wVZbbd7.png)
4242

4343
## Release Notes:
4444

4545
| Version | Notes |
4646
| ----- | ----- |
47+
| 2.0 | Update to ZAF v2, update colours and style to use Zendesk Garden |
4748
| 1.1 | Changes accent color to match the New Zendesk branding |
48-
| 1.0 | First release |
49+
| 1.0 | First release |

app.css

Lines changed: 0 additions & 61 deletions
This file was deleted.

app.js

Lines changed: 0 additions & 83 deletions
This file was deleted.

assets/banner.png

-83.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)