0.2.3 • Published 6 years ago
sampleprodtest v0.2.3
zfj-common-components
Repo for all the common components that we would develop pertaining to Jira in general so that the same can be used across multiple products
Steps to create a common UI app for Atlassian Cloud and Atlassian Server addon
- Create a branch from
masterwith the name of your app. - Checkout the created branch.
- Update
package.jsonpackage name to the name of your app. For e.g.ZephyrFeedback - Update the
mainproperty inpackage.jsontobuild/[Appname].js - Update the
nameproperty inconfig/library.jsto the name of your app. - Edit
Feedback.jsor add react components to match the app requirements. - Update
index.jsexport to app's exported component. - Run
npm run buildto generate the bundle. Output:[Appname].js, polyfill.js, [Appname.css] - Tag the commit with a name to use it as a release.
[https://github.com/SmartBear/zfj-common-components/releases]
Usage in Atlassian Cloud addon
- Update the addon's
package.jsonwith the release of the app created. For e.g."ZephyrFeedback": "git+ssh://git@github.com/SmartBear/zfj-common-components.git#0.1.0" - Import the component in the application. For e.g.
import { Feedback } from 'ZephyrFeedback'; - Render the component. For e.g.
<Feedback /> - Add
[Appname].cssin the addon project.
Usage in Atlassian Server addon
- Add the
[Appname].js, polyfill.js and [Appname].csscreated in the above step to a directory and use the directory location in aweb-resource. - Add the
web-resourceto the template or to the controller that renders the UI. - In the application js, use
[Appname].render()method to render the component.
0.2.3
6 years ago
0.2.2
6 years ago
0.2.1
6 years ago
0.2.0
6 years ago
0.1.9
6 years ago
0.1.8
6 years ago
0.1.7
6 years ago
0.1.6
6 years ago
0.1.4
6 years ago
0.1.5
6 years ago
0.1.3
6 years ago
0.1.2
6 years ago
0.1.1
6 years ago
0.1.0
6 years ago
0.0.9
6 years ago
0.0.8
6 years ago
0.0.7
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.6
6 years ago
0.0.3
6 years ago
0.0.2
6 years ago
0.0.1
6 years ago