Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

App within Kustomer, as well as documentation on what an app can install.

Notifications You must be signed in to change notification settings

parcelLab/kustomer-app_bak

 
 

Repository files navigation

parcelLab App on Kustomer (with a K)

🚧 Only testing so far

How to develop:

Update plugin code:

aws s3 cp src/parcellab_app/src/parcellab-widget.html s3://parcellab-cdn/apps/kustomer/parcellab-widget.html

Update app registration/ code:

npm run register-new-version parcellab_app

Docs

App Properties

Apps include a variety of properties that can be configured to do many things. We have included some interfaces explaining their uses here. These interfaces will help you understand the config object for a given app inside of ./src/app-name/index.js, and how to properly create an app config using the right properties. We also have a more in-depth version of these properties in the Kustomer Documentation Portal.

Internationalization

One property of the app definition is the i18n key, which allows an app developer to provide translations in as many locales as their app supports, using en_us as a fallback. In many cases these are not required, but provide a far richer experience for the users of your application. For explanations on the supported translated fields, as well as the appropriate format for the field key, please visit the Kustomer Documentation Portal.

Registering Or Updating An App

Included in this repo is a command, npm run register-new-version [app], which uses a couple environment variables from your .env file to register a new app scoped to your Kustomer organization. This command can also be used to publish a new version of an existing app.

When publishing an app, the app property in your config

  1. Cannot be one of the values used for these included templates
  2. Must be unique. If you start from one of these templates, we recommend adding a postfix to the app property, starting with an underscore, followed by any value you find helpful. For instance, my_starter_app_myKustomerOrg01_01.

Also of note, when POSTing subsequent versions of your app to see your changes, you must bump the semver version of the version property, or your request will fail.

For more detailed information on what this is doing, or how to run these tasks manually with the output from npm get-app-json [app] and an API call with a tool such as Postman, we have some in-depth documentation over in the Kustomer Documentation portal.

About

App within Kustomer, as well as documentation on what an app can install.

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 98.7%
  • HTML 1.3%