@wishi_fashion/web-chat-widget v1.1.0
web-chat-widget
Build steps
- go to
web-chat-sdk
repository and run./compile.sh
from . - access the
index.html
underdemos/web-widget
repository using web browser.
Working locally - temp prd for now
- pull latest changes.
- create new branch
git branch -b username/task-title
. - do the same with web-chat-sdk repo located on
../web-chat-sdk
. - go to web-chat-sdk:
cd ../web-chat-sdk
- run npm link:
npm link
- go back to here:
cd -
- run npm link to the web-chat-sdk package:
npm run link_sdk
- go back to web-chat-sdk and compile code:
./compile
- now the sdk is being compiled and the output can be viewed onfile:///home/ynahmany/Documents/github/wishi/demos/web-widget/index.html?user=7625182
- when you are done - run
npm unlink --no-save @wishi_fashion/web-chat-sdk
, then switch toweb-chat-sdk
repo and runnpm unlink
.
Dynamic configuration and dynamic styling
- under
src/config
there are folders. the name of the folders are the wishi-key provided to the partner developers. - in case of new partner - Wishi developer will have to create new folder with the new wishi-key, add config.json file and style.css file with the proper css class he/she would like to override.
S3 Buckets related to this project
web-chat-widget-partners
: css and configuration for web-chat-widgetweb-chat-widget-saks-fonts
: - saks fonts.web-chat-widget-qa
: qa env for web-chat-widget
QA env
in order to publish new version for QA purpuse only- internal use only, follow the next steps:
- go to
web-chat-sdk
repository and run./compile.sh production
from . - switch to
demos
repository underwhish-dev
org ingithub
. web-chat-widget.js
andwishi.css
will be updated underdemos/web-chat-widget-qa
folder.- run git add, commit and push. it will trigger Github action to copy this folder to S3 dedicated bucket.
- you can now access the QA env using the following URL:
https://web-chat-widget-qa.s3.amazonaws.com/index.html?user=627
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
1 year ago
2 years ago
2 years ago
2 years ago
1 year ago
1 year ago
1 year ago
1 year ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago