Omnibox Installation Guide
🇻🇳 (vi)
I. Điều kiện tiên quyết:
- Tham khảo điều kiện tiên quyết của mọi project và cài đặt ít nhất mobileService (mobile-service), integrateService (integration-manager), rawsService (log-service), Keycloak và CouchDB
II. Cài đặt Omnibox
- Tải source Omnibox
git clone https://gitlab.com/gcalls/publics/omnibox/callbox - Tải source Gcallsenv
git clone https://gitlab.com/gcalls/secrets/gcallsenv - Copy .env vào Omnibox
cp https://gitlab.com/gcalls/secrets/gcallsenv/-/blob/master/envLocal/callbox.env callbox/.env - Cài đặt node_modules
cd callbox
npm install - Thêm thông tin tài khoản và host CouchDB vào .env
- Khởi động Omnibox
npm start - Omnibox sẽ chạy ở địa chỉ sau: http://localhost:5001
- Bấm vào biểu tượng bánh răng, điền url http://localhost:3000 (url của mobileService ở localhost, port 3000) và bấm xác nhận
- Điền thông tin callcenter (có trong cơ sở dữ liệu), bấm xác nhận
- Điền thông tin tài khoản và bấm đăng nhập.
III. Tích hợp (Integration)
IV. Spec:
Omnibox README
🇬🇧🇺🇸🇨🇦🇦🇺🇳🇿 (en)
Lib table
Omnicall
| Package | Installed Version | Latest Version | Installed vs Latest | NPM Link |
|---|---|---|---|---|
| @craco/craco | 6.3.0 | 6.4.0 | Lower | npm |
| @devops_gcalls/gcalls-web-sdk | 1.1.38 | 1.1.38 | Latest | npm |
| @fortawesome/fontawesome-svg-core | 6.1.1 | 6.4.0 | Lower | npm |
| @fortawesome/free-solid-svg-icons | 6.1.1 | 6.4.0 | Lower | npm |
| @fortawesome/react-fontawesome | 0.1.18 | 0.3.0 | Lower | npm |
| @gcalls/gcallsconfig | 1.0.21 | 1.0.22 | Lower | npm |
| @headlessui/react | 1.7.15 | 1.7.15 | Latest | npm |
| @sentry/react | 7.35.0 | 7.37.0 | Lower | npm |
| @sentry/tracing | 7.35.0 | 7.37.0 | Lower | npm |
| @tailwindcss/aspect-ratio | 0.4.2 | 0.4.2 | Latest | npm |
| @testing-library/jest-dom | 5.14.1 | 5.16.5 | Lower | npm |
| @testing-library/react | 11.2.7 | 13.4.0 | Lower | npm |
| @testing-library/user-event | 12.8.3 | 14.4.3 | Lower | npm |
| @twind/preset-autoprefix | 1.0.7 | 1.0.8 | Lower | npm |
| @twind/preset-tailwind | 1.1.4 | 1.1.6 | Lower | npm |
| @types/jest | 26.0.24 | 29.2.5 | Lower | npm |
| @types/jsforce | 1.9.35 | 1.10.38 | Lower | npm |
| @types/node | 12.20.25 | 18.11.18 | Lower | npm |
| @types/react | 17.0.21 | 18.0.26 | Lower | npm |
| @types/react-dom | 17.0.9 | 18.0.10 | Lower | npm |
| @types/react-select | 5.0.1 | 5.0.2 | Lower | npm |
| axios | 0.21.4 | 1.2.2 | Lower | npm |
| broadcast-channel | 4.2.0 | 4.2.0 | Latest | npm |
| construct-style-sheets-polyfill | 3.1.0 | 3.1.0 | Latest | npm |
| crypto-js | 4.1.1 | 4.1.1 | Latest | npm |
| dotenv | 10.0.0 | 16.0.3 | Lower | npm |
| gc-sdk | 1.0.16 | 1.0.16 | Latest | npm |
| html-react-parser | 3.0.4 | 3.0.4 | Latest | npm |
| jsforce | 1.10.1 | 1.11.0 | Lower | npm |
| jsqr | 1.4.0 | 1.4.0 | Latest | npm |
| jwt-decode | 3.1.2 | 3.1.2 | Latest | npm |
| keycloak-connect | 16.1.1 | 19.0.3 | Lower | npm |
| keycloak-connect-multirealm | 2.1.0 | 2.1.0 | Latest | npm |
| keycloak-js | 16.1.1 | 19.0.3 | Lower | npm |
| path | 0.12.7 | 0.12.7 | Latest | npm |
| png.js | 0.2.1 | 0.2.1 | Latest | npm |
| pouchdb-react-native | 6.4.1 | 6.4.1 | Latest | npm |
| react | 17.0.2 | 18.2.0 | Lower | npm |
| react-beforeunload | 2.5.1 | 2.6.2 | Lower | npm |
| react-confirm-alert | 2.8.0 | 3.0.6 | Lower | npm |
| react-dom | 17.0.2 | 18.2.0 | Lower | npm |
| react-file-reader | 1.1.4 | 1.1.4 | Latest | npm |
| react-hook-form | 7.15.3 | 7.41.2 | Lower | npm |
| react-one-tab-enforcer | 2.1.2 | 2.1.2 | Latest | npm |
| react-qr-code | 2.0.2 | 2.0.2 | Latest | npm |
| react-ring-spinner | 0.1.6 | 0.1.6 | Latest | npm |
| react-scripts | 4.0.3 | 5.0.1 | Lower | npm |
| react-select | 5.8.0 | 5.8.0 | Latest | npm |
| react-spring | 9.2.4 | 9.5.5 | Lower | npm |
| react-swipeable | 6.2.0 | 6.2.2 | Lower | npm |
| react-switch | 6.0.0 | 7.0.0 | Lower | npm |
| react-timer-hook | 3.0.5 | 3.0.5 | Latest | npm |
| react-toast-notification | 1.1.4 | 1.1.4 | Latest | npm |
| react-toast-notifications | 2.5.1 | 2.5.1 | Latest | npm |
| reactstrap | 9.2.1 | 9.2.1 | Latest | npm |
| sweetalert2 | 11.7.12 | 11.7.12 | Latest | npm |
| typescript | 4.4.3 | 5.0.4 | Lower | npm |
| web-vitals | 1.1.2 | 3.1.1 | Lower | npm |
Omnichat
| Package Name | Installed Version | Latest Version | Installed vs Latest | NPM link | Still Used |
|---|---|---|---|---|---|
| @testing-library/jest-dom | 5.17.0 | 5.17.0 | Latest | npm | True |
| @testing-library/react | 13.4.0 | 13.4.0 | Latest | npm | True |
| @testing-library/user-event | 13.5.0 | 13.5.0 | Latest | npm | True |
| buffer | 6.0.3 | 6.0.3 | Latest | npm | True |
| crypto | 1.0.1 | 1.0.1 | Latest | npm | True |
| crypto-browserify | 3.12.0 | 3.12.0 | Latest | npm | True |
| crypto-js | 4.2.0 | 4.2.0 | Latest | npm | True |
| firebase | 10.7.1 | 10.7.1 | Latest | npm | True |
| i | 0.3.7 | 0.3.7 | Latest | npm | True |
| npm | 10.5.0 | 10.5.0 | Latest | npm | True |
| os-browserify | 0.3.0 | 0.3.0 | Latest | npm | True |
| path-browserify | 1.0.1 | 1.0.1 | Latest | npm | True |
| pouchdb | 8.0.1 | 8.0.1 | Latest | npm | True |
| pouchdb-find | 8.0.1 | 8.0.1 | Latest | npm | True |
| react | 18.2.0 | 18.2.0 | Latest | npm | True |
| react-dom | 18.2.0 | 18.2.0 | Latest | npm | True |
| react-error-boundary | 4.0.12 | 4.0.12 | Latest | npm | True |
| react-router | 6.24.0 | 6.24.0 | Latest | npm | True |
| react-router-dom | 6.24.0 | 6.24.0 | Latest | npm | True |
| react-scripts | 5.0.1 | 5.0.1 | Latest | npm | True |
| react-toastify | 10.0.4 | 10.0.4 | Latest | npm | True |
| slate-drop-or-paste-images | 0.9.1 | 0.9.1 | Latest | npm | False |
| slate-react | 0.102.0 | 0.102.0 | Latest | npm | True |
| socket.io-client | 4.7.2 | 4.7.2 | Latest | npm | True |
| toastify-js | 1.12.0 | 1.12.0 | Latest | npm | True |
| web-vitals | 2.1.4 | 2.1.4 | Latest | npm | True |
| webpack | 5.89.0 | 5.89.0 | Latest | npm | True |
| zmp-sdk | 2.31.1 | 2.31.1 | Latest | npm | False |