customerio-gist-web
Advanced tools
Comparing version 3.10.1 to 3.10.2
{ | ||
"name": "customerio-gist-web", | ||
"version": "3.10.1", | ||
"version": "3.10.2", | ||
"description": "Build beautiful in-app flows with no code and deliver them instantly to your app. http://customer.io", | ||
@@ -8,3 +8,3 @@ "private": false, | ||
"start": "npm-run-all --parallel watch:server watch:build", | ||
"build:prod": "webpack -p --mode=production -o dist/gist.min.js", | ||
"build:prod": "webpack --mode=production --output-filename gist.min.js", | ||
"watch:build": "webpack --watch --progress --mode=development", | ||
@@ -21,6 +21,6 @@ "watch:server": "http-server" | ||
"devDependencies": { | ||
"http-server": "^0.12.3", | ||
"http-server": "^14.1.1", | ||
"npm-run-all": "^4.1.5", | ||
"webpack": "^4.44.1", | ||
"webpack-cli": "^3.3.12" | ||
"webpack": "^5.91.0", | ||
"webpack-cli": "^5.1.4" | ||
}, | ||
@@ -27,0 +27,0 @@ "dependencies": { |
# Gist for Web | ||
Gist enables you to create embeddable experiences that range from simple welcome messages to complex multi-step flows. | ||
## Testing | ||
For installation guide, please follow our [documentation](https://docs.gist.build). | ||
- Clone repo | ||
- Run `npm start` | ||
- Navigate to: `http://127.0.0.1:8081/examples/` | ||
## Build Locally | ||
- `npm run build:prod` | ||
## Releases | ||
### Feature release process | ||
- Merge PR into develop | ||
- Head over to the repo's feature release [action page](https://github.com/customerio/gist-web/actions/workflows/release_version.yml). | ||
- Select **Run Workflow** | ||
- Choose between: | ||
- *patch* - Bug/hot fixes | ||
- *minor* - New features | ||
- *major* - New / replaced APIs (usually breaking) | ||
### Hotfix release process | ||
- Merge PR into master | ||
- Head over to the repo's hotfix release [action page](https://github.com/customerio/gist-web/actions/workflows/release_hotfix.yml). | ||
- Select **Run Workflow** | ||
### Update Cloudflare | ||
The above processes push the changes to NPM and GitHub. However, customers using our Track SDK fetch the latest version automatically; we accomplish this by routing through Cloudflare page rules. | ||
- Head over to [Cloudflare](https://dash.cloudflare.com/) Page Rules section for the `gist.build` domain. | ||
- Update `https://code.gist.build/web/latest/gist.min.js` for latest version | ||
- Update `https://code.gist.build/web/beta/gist.min.js` for beta testing |
@@ -37,7 +37,7 @@ import { log } from "../utilities/log"; | ||
var messageWidth = messageProperties.messageWidth + "px"; | ||
if (wideOverlayPositions.includes(messageProperties.elementId) && !messageProperties.hasCustomWidth) { | ||
if (wideOverlayPositions.includes(elementId) && !messageProperties.hasCustomWidth) { | ||
messageWidth = "100%"; | ||
} | ||
// Only set the width if it's a position offered by the SDK | ||
if (positions.includes(messageProperties.elementId)) { | ||
if (positions.includes(elementId)) { | ||
element.style.width = messageWidth; | ||
@@ -44,0 +44,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37
94215
1036