Skip to content

Amazon Connect Chat Widget Integration #69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
name: 🐛 Bug report
about: Create a report to help us improve Open Sauced 🍕
title: "Bug: "
labels: 👀 needs triage, 🐛 bug
---

<!-- Before creating a bug report, try disabling browser extensions to see if the bug is still present. -->

### Describe the bug

<!-- A clear and concise description of what the bug is. -->

### To Reproduce

<!-- Steps to reproduce the behavior: -->

<!-- 1. Go to '...' -->
<!-- 2. Click on '....' -->
<!-- 3. Scroll down to '....' -->
<!-- 4. See error -->

### Expected behavior

<!-- A clear and concise description of what you expected to happen. -->

### Screenshots

<!-- If applicable, add screenshots to help explain your problem. -->

### Desktop

- OS:
- Browser:
- Version:

### Smartphone

- Device:
- OS:
- Browser:
- Version:

### Additional context

<!-- Add any other context about the problem or helpful links here. -->
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: 🚀 Feature request
about: Suggest an idea for this project 💡
title: "Feature: "
labels: 👀 needs triage, 💡 feature
---

### Is your feature request related to a problem? Please describe.

<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->

### Describe the solution you'd like

<!-- A clear and concise description of what you want to happen. -->

### Describe alternatives you've considered

<!-- A clear and concise description of any alternative solutions or features you've considered. -->

### Additional context

<!-- Add any other context or screenshots about the feature request here. -->
30 changes: 30 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name-template: 'v$NEXT_PATCH_VERSION 🌈'
tag-template: 'v$NEXT_PATCH_VERSION'
categories:
- title: '🚀 Features'
labels:
- '💡 feature'
- '🍕 enhancement'
- title: '🐛 Bug Fixes'
labels:
- '🐛 bug'
- title: '🧰 Maintenance'
label: 'chore'
- title: '📖 Documentation'
label: '📝 documentation'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
template: |
## Changes

$CHANGES
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Node CI

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]

steps:
- uses: actions/checkout@v1
- name: Cache node modules
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install and test
run: |
npm install
npm test
env:
CI: true
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,11 @@ https://github.com/CodeItQuick/PokerHandRangeRubyReact/tree/master/backend/front
# Test Speed running 'jest test --maxWorkers=4"

```
Test Suites: 18 passed, 18 total
Tests: 108 passed, 108 total
Snapshots: 0 total
Time: 8.245s, estimated 20s
93 passing (181ms)
2 pending
```

Note: all of these tests run in under 100ms, and generally are under 10ms. Due to file I/O speeds for the 18 testing files, it takes ~8s to run, but using Wallaby.js I basically get instant feedback.
Note: Node 12.16.2 was used, there appears to be an error on earlier versions of Node 12.

# Contributions into Other Open Source Repositories

Expand Down
103 changes: 103 additions & 0 deletions backend/frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions backend/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "poker-range-app",
"version": "0.1.0",
"private": false,
"proxy": "https://www.poker-range-appalyzer.com",
"proxy": "https://",
"dependencies": {
"@auth0/auth0-react": "^1.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
Expand All @@ -17,13 +17,16 @@
"@testing-library/user-event": "^7.1.2",
"@types/node-fetch": "^2.5.7",
"add": "^2.0.6",
"amazon-connect-chatjs": "amazon-connect/amazon-connect-chatjs",
"axios": "^0.19.2",
"bootstrap": "^4.4.1",
"bootstrap-daterangepicker": "^3.0.5",
"chai": "^4.2.0",
"clone": "^2.1.2",
"clsx": "^1.0.4",
"connected-react-router": "^6.6.1",
"fontfaceobserver": "^2.1.0",
"git": "^0.1.5",
"history": "^4.10.1",
"hoist-non-react-statics": "^3.3.1",
"husky": "^3.1.0",
Expand All @@ -47,6 +50,7 @@
"react": "^16.12.0",
"react-bootstrap": "^1.0.0-beta.16",
"react-bootstrap-daterangepicker": "^4.1.0",
"react-chat-widget": "^3.0.5",
"react-content-loader": "^4.3.4",
"react-datepicker": "^2.11.0",
"react-dom": "^16.12.0",
Expand Down Expand Up @@ -94,7 +98,7 @@
},
"scripts": {
"start": "craco start",
"build": "babel --presets=@babel/preset-env script.js",
"build": "craco build",
"test": "NODE_ENV=test mocha --config .mocharc.json --experimental-modules -r @babel/register -r ignore-styles -r jsdom-global/register \"./src/test/**/*.spec.js\" --recursive src/test/MainPage",
"eject": "craco eject"
},
Expand Down
Loading