Skip to content

Commit 3fb8409

Browse files
authored
Merge pull request #892 from KamalikaSene/main
[API Design Assistant][Feature][4.5.0] Add API Design Assistant UI with chat interface for Publisher Portal
2 parents 3c2c369 + c472725 commit 3fb8409

File tree

31 files changed

+6833
-22
lines changed

31 files changed

+6833
-22
lines changed

portals/admin/src/main/webapp/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"scripts": {
1111
"test:ci": "echo To be implemented",
1212
"test:coverage": "jest --coverage",
13-
"build:prod": "rm -R site/public/dist/; npm run i18n:en && npm run i18n:fr && NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 webpack --mode production --stats=errors-only",
14-
"build:dev": "NODE_ENV=development; npm run i18n:en && rimraf site/public/dist/ && webpack --mode development --watch",
13+
"build:prod": "rimraf site/public/dist/ && npm run i18n:en && npm run i18n:fr && NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 webpack --mode production --stats=errors-only",
14+
"build:dev": "NODE_ENV=development && npm run i18n:en && rimraf site/public/dist/ && webpack --mode development --watch",
1515
"analysis": "NODE_ENV=analysis NODE_OPTIONS=--max_old_space_size=8172 webpack --mode production --progress",
1616
"lint": "eslint --ignore-pattern '*.test.js' --ignore-pattern '*.test.jsx' --quiet -c .eslintrc.js --ext .jsx,.js source",
1717
"i18n": "extract-messages -l=en,fr -o site/public/locales/ -d en --extractFromFormatMessageCall --flat 'source/src/app/**/*.jsx'",

portals/devportal/src/main/webapp/.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ module.exports = {
3636
},
3737
extends: ['airbnb', 'plugin:jsx-a11y/recommended'], // http://airbnb.io/javascript/react/
3838
rules: {
39+
"linebreak-style": 0,
3940
'max-len': ['error', { code: 140, tabWidth: 4 }],
4041
'require-jsdoc': [
4142
'warn',

portals/devportal/src/main/webapp/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"test:ci": "jest --silent --passWithNoTests",
1212
"test:integration": "jest -c source/Tests/Integration/jest.config.js",
1313
"test:coverage": "jest --coverage",
14-
"build:prod": "rm -R site/public/dist/; npm run i18n:en && NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 webpack --mode production --stats=errors-only",
15-
"build:dev": "rimraf site/public/dist/; npm run i18n:en && cross-env NODE_ENV=development webpack --mode development --watch",
14+
"build:prod": "rimraf site/public/dist/ && npm run i18n:en && cross-env NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 webpack --mode production --stats=errors-only",
15+
"build:dev": "rimraf site/public/dist/ && npm run i18n:en && cross-env NODE_ENV=development webpack --mode development --watch",
1616
"analysis": "cross-env NODE_ENV=development webpack --env.analysis -p --progress",
1717
"lint": "eslint --ignore-pattern '*.test.js' --ignore-pattern '*.test.jsx' --quiet -c .eslintrc.js --ext .jsx,.js source",
1818
"i18n": "extract-messages -l=en -o site//public//locales// -d en --extractFromFormatMessageCall --flat 'source//src//app//**//*.jsx'",

portals/publisher/package-lock.json

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

portals/publisher/src/main/webapp/package-lock.json

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

portals/publisher/src/main/webapp/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"test:ci2": "CI=true jest --silent --ci --watchAll=false --watch=false --coverage --coverageReporters=cobertura",
1313
"test": "DEBUG_PRINT_LIMIT=9000 jest --watch",
1414
"test:coverage": "jest --silent --coverage .; python3 -m http.server -d coverage/",
15-
"build:prod": "NODE_ENVS=production; npm run i18n:en && compile; rimraf site/public/dist/ && NODE_OPTIONS=--max_old_space_size=4096 webpack --mode production --stats=errors-only",
16-
"build:dev": "rimraf site/public/dist/; npm run i18n:en && webpack --mode development --watch",
15+
"build:prod": "cross-env NODE_ENVS=production; npm run i18n:en && rimraf site/public/dist/ && NODE_OPTIONS=--max_old_space_size=4096 webpack --mode production --stats=errors-only",
16+
"build:dev": "rimraf site/public/dist/ && npm run i18n:en && webpack --mode development --watch",
1717
"analysis": "NODE_ENVS=analysis NODE_OPTIONS=--max_old_space_size=8172 webpack --mode production --progress",
1818
"lint": "eslint --ignore-pattern '*.test.js' --ignore-pattern '*.test.jsx' --quiet -c .eslintrc.js --ext .jsx,.js source",
1919
"i18n": "formatjs extract 'source/src/app/**/*.{jsx,tsx}' --throws --out-file site/public/locales/raw.en.json --id-interpolation-pattern '[sha512:contenthash:base64:6]'",
@@ -94,6 +94,7 @@
9494
"react-syntax-highlighter": "^15.5.0",
9595
"react-tagsinput": "3.20.0",
9696
"remark-gfm": "^3.0.1",
97+
"rich-textarea": "^0.26.4",
9798
"sourcemapped-stacktrace": "^1.1.11",
9899
"swagger-client": "^3.18.5",
99100
"swagger-ui-react": "^5.6.2",
@@ -171,4 +172,4 @@
171172
"webpack-deadcode-plugin": "^0.1.17",
172173
"webpack-dev-server": "^5.0.4"
173174
}
174-
}
175+
}

portals/publisher/src/main/webapp/site/public/images/ai/APIchatassistantImageWithColour.svg

Lines changed: 1080 additions & 0 deletions
Loading
Lines changed: 16 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)