Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
432ed3c
fix: convert npm to yarn (#234)
mkesavan13 Oct 29, 2024
09961ba
chore: setup baseline for cc widgets (#237)
Shreyas281299 Nov 13, 2024
864fb52
feat(release): publish pipeline for wxcc widgets (#324)
Shreyas281299 Nov 21, 2024
66b8a20
feat(widget-cc-station-login): Spark 575845 login widget (#239)
Kesari3008 Nov 21, 2024
ca32235
fix(release): add-publish-step-in-tooling (#334)
Shreyas281299 Nov 21, 2024
18f7bec
feat(release): add new branch to circleci
mkesavan13 Nov 21, 2024
9b3c5ac
chore(release): 1.28.0-ccwidgets.1 [skip ci]
webex-components-publisher Nov 21, 2024
9648969
fix(cc-store): receive webex on init, add store types (#341)
mkesavan13 Nov 26, 2024
b1f9785
chore(release): 1.28.0-ccwidgets.2 [skip ci]
webex-components-publisher Nov 26, 2024
f1ccaeb
feat(user-state): load and change state, client timer (#347)
mkesavan13 Dec 16, 2024
60b4f65
chore(release): 1.28.0-ccwidgets.3 [skip ci]
webex-components-publisher Dec 16, 2024
83d5a37
fix(cc-widgets): ship-all-widgets-together (#345)
Shreyas281299 Dec 17, 2024
31ebfb1
chore(release): 1.28.0-ccwidgets.4 [skip ci]
webex-components-publisher Dec 17, 2024
21d6ce7
fix(user-state): receive agent stateChange event (#350)
mkesavan13 Dec 23, 2024
c425782
chore(release): 1.28.0-ccwidgets.5 [skip ci]
webex-components-publisher Dec 23, 2024
ce3a619
feat: taskList and IncomingTask widgets added (#348)
rsarika Jan 8, 2025
6b7ce7f
chore(release): 1.28.0-ccwidgets.6 [skip ci]
webex-components-publisher Jan 8, 2025
c06fe9c
feat(widgets): shifted-timer-to-worker (#352)
adhmenon Jan 8, 2025
bb78855
chore(release): 1.28.0-ccwidgets.7 [skip ci]
webex-components-publisher Jan 8, 2025
473cd4f
fix(bundling): fixed the multiple React instance and useRef errors (…
sreenara Jan 8, 2025
0b304c4
fix: cleanup and using mobx-react-lite (#356)
rarajes2 Jan 10, 2025
ff71785
chore(release): 1.28.0-ccwidgets.8 [skip ci]
webex-components-publisher Jan 10, 2025
a62494b
feat(cc-store): add logger from sdk (#354)
mkesavan13 Jan 13, 2025
1f67485
chore(release): 1.28.0-ccwidgets.9 [skip ci]
webex-components-publisher Jan 13, 2025
6d61796
chore(pipeline): persist dist for all cc folders (#360)
mkesavan13 Jan 17, 2025
fe409db
fix: rename agent state to user state (#361)
mkesavan13 Jan 17, 2025
61b5ea9
chore(release): 1.28.0-ccwidgets.10 [skip ci]
webex-components-publisher Jan 17, 2025
94dd415
feat(widgets): added-relogin-logic (#357)
adhmenon Jan 21, 2025
dd40af9
chore(release): 1.28.0-ccwidgets.11 [skip ci]
webex-components-publisher Jan 21, 2025
20c9197
docs(samples): unify the widgets sample apps (#363)
rarajes2 Jan 29, 2025
a677f5e
fix(call-control): add-call-control-widget (#362)
Shreyas281299 Jan 29, 2025
0d81d33
chore(release): 1.28.0-ccwidgets.12 [skip ci]
webex-components-publisher Jan 29, 2025
8f6fd6a
chore(coderabbit): create .coderabbit.yaml (#366)
sreenara Jan 29, 2025
ff126ab
fix(samples): change samples index html hrefs (#367)
Shreyas281299 Jan 30, 2025
1965742
chore(release): 1.28.0-ccwidgets.13 [skip ci]
webex-components-publisher Jan 30, 2025
f7d75ca
feat(cc-widgets): added Agent-Multi-Login-Alert Feature (#364)
pagour98 Jan 31, 2025
16a44d0
feat(cc-components): setup and move user state sample ui comp (#359)
mkesavan13 Jan 31, 2025
9017773
chore: update cc components to material design (#372)
mkesavan13 Feb 4, 2025
8a40983
chore: branch release setup (#370)
mkesavan13 Feb 4, 2025
ca3e1be
test: skip test as we will revert the code later (#373)
mkesavan13 Feb 4, 2025
5a11fb6
Incoming Task - Presentation Layer Changes
Feb 4, 2025
6904bd4
Incoming Task - Presentation Layer Fixes
Feb 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
presets: [
['@babel/preset-env', {targets: {node: 'current'}}],
['@babel/preset-react', {runtime: 'automatic'}],
'@babel/preset-typescript',
],
};
74 changes: 57 additions & 17 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,63 +24,90 @@ jobs:
- checkout
- restore_cache:
keys:
- dependency-cache-{{ checksum "package-lock.json" }}
- dependency-cache-{{ checksum "yarn.lock" }}
- run:
name: Install Dependencies
command: npm i --force #Remove force once webex version is upgraded in sdk-component-adapter
command: yarn install
- save_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
paths: node_modules
key: dependency-cache-{{ checksum "yarn.lock" }}
paths:
- node_modules
- packages/*/node_modules
- persist_to_workspace:
root: .
paths: node_modules
paths:
- node_modules
- packages/**/*/node_modules

linter:
executor: node-executor
steps:
- checkout_from_workspace
- run:
name: Linting
command: npm run test:eslint
command: yarn workspace @webex/widgets run test:eslint

e2e_test:
executor: node-executor
steps:
- checkout_from_workspace
- run:
name: Test E2E
command: npm run test:e2e
command: yarn workspace @webex/widgets run test:e2e

build:
executor: node-executor
steps:
- checkout_from_workspace
- run:
name: Build
command: npm run build
command: yarn run build && yarn workspace @webex/widgets run build:src
- persist_to_workspace:
root: .
paths: dist
paths:
- packages/contact-center/*/dist
- packages/@webex/widgets/dist

docs:
executor: node-executor
steps:
- checkout_from_workspace
- run:
name: Build Demo Into Docs Folder
command: npm run demo:build
command: yarn workspace @webex/widgets run demo:build
- persist_to_workspace:
root: .
paths: docs
paths:
- packages/@webex/widgets/docs

release:
executor: node-executor
steps:
- checkout_from_workspace
- run:
name: Release
command: npm run release
command: yarn workspace @webex/widgets run release

# execute the jobs in a orderly manner
unit_tests:
executor: node-executor
steps:
- checkout_from_workspace
- run:
name: Test Tooling
command: yarn run test:tooling
- run:
name: Test CC Widgets
command: yarn run test:cc-widgets

release_widgets:
executor: node-executor
steps:
- checkout_from_workspace
- run:
name: Release Widgets
command: yarn run release:widgets

# execute the jobs in an orderly manner
workflows:
setup_test_release:
jobs:
Expand All @@ -91,19 +118,32 @@ workflows:
- build:
requires:
- linter
filters:
branches:
only: master

- docs:
requires:
- linter
filters:
branches:
only: master
only:
- master

- unit_tests:
requires:
- build

- release:
requires:
- build
- docs
filters:
branches:
only: master


- release_widgets:
requires:
- build
- unit_tests
filters:
branches:
only: ccconnectors
100 changes: 100 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
language: en-US
tone_instructions: ''
early_access: false
enable_free_tier: true
reviews:
profile: chill
request_changes_workflow: false
high_level_summary: false
high_level_summary_placeholder: '@coderabbitai summary'
auto_title_placeholder: '@coderabbitai'
auto_title_instructions: ''
review_status: true
commit_status: true
fail_commit_status: false
collapse_walkthrough: true
changed_files_summary: false
sequence_diagrams: false
assess_linked_issues: false
related_issues: true
related_prs: true
suggested_labels: false
auto_apply_labels: false
suggested_reviewers: false
poem: false
labeling_instructions: []
path_filters: []
path_instructions: []
abort_on_close: true
auto_review:
enabled: true
auto_incremental_review: true
ignore_title_keywords: []
labels: []
drafts: false
base_branches: []
tools:
shellcheck:
enabled: true
ruff:
enabled: true
markdownlint:
enabled: true
github-checks:
enabled: true
timeout_ms: 90000
languagetool:
enabled: true
enabled_only: false
level: default
biome:
enabled: true
hadolint:
enabled: true
swiftlint:
enabled: true
phpstan:
enabled: true
level: default
golangci-lint:
enabled: true
yamllint:
enabled: true
gitleaks:
enabled: true
checkov:
enabled: true
detekt:
enabled: true
eslint:
enabled: true
rubocop:
enabled: true
buf:
enabled: true
regal:
enabled: true
actionlint:
enabled: true
pmd:
enabled: true
cppcheck:
enabled: true
semgrep:
enabled: true
circleci:
enabled: true
chat:
auto_reply: true
knowledge_base:
opt_out: false
learnings:
scope: auto
issues:
scope: auto
jira:
project_keys: []
linear:
team_keys: []
pull_requests:
scope: auto
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#Runtime data
docs/
dist/
test_results/
build/
Expand All @@ -10,6 +11,7 @@ pids
*.pid
*.seed
*.out
docs/

#Logs and others
*.swp
Expand Down Expand Up @@ -43,4 +45,7 @@ reports/
!.env.default
!package.json
!package-lock.json
!tsconfig.json
node_modules/
.yarn/*
!.yarn/releases
39 changes: 39 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"branches": [
"master",
{
"name": "ccconnectors",
"prerelease": "ccconnectors"
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "packages/contact-center/CHANGELOG.md"
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "node ./tooling/src/publish.js ${nextRelease.channel} ${nextRelease.version} "
}
],
[
"@semantic-release/git",
{
"assets": [
"packages/contact-center/CHANGELOG.md",
"package.json",
"packages/contact-center/*/package.json"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
"tagFormat": "$v{nextRelease.version}"
}
],
"@semantic-release/github"
],
"tagFormat":"v${version}"
}
Loading