Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
8fc7164
Add linebreak style
KamalikaSene Sep 18, 2024
3bf7f53
Made compatible with Windows
KamalikaSene Sep 18, 2024
b818eda
Add routing for create-with-ai button
KamalikaSene Oct 2, 2024
96c9ba2
Create test file for UI
KamalikaSene Oct 2, 2024
fc50091
Add button to create API with AI
KamalikaSene Oct 2, 2024
b4aec7c
Create backup chatbot for create API with AI feature
KamalikaSene Oct 5, 2024
e6875aa
Create chatbot UI for the create with AI feature by reusing dev porta…
KamalikaSene Oct 5, 2024
6532b9a
Create chatbot for API creation through AI chatbot to use the UI from…
KamalikaSene Oct 5, 2024
da661a4
Create execute query submission logic for chatbot
KamalikaSene Oct 5, 2024
9e916fd
Remove duplicate function and import ApiChatResponse
KamalikaSene Oct 5, 2024
bf316b1
Add api-chat icon
KamalikaSene Oct 5, 2024
66d5d63
Add UI to display response from user and AI
KamalikaSene Oct 5, 2024
9015f03
Add setFinalOutcome to display response
KamalikaSene Oct 5, 2024
72e7d56
Add pre tag to preserve indentation in AI response
KamalikaSene Oct 5, 2024
9067f66
Change Design Assistant's Banner details to suit it
KamalikaSene Oct 25, 2024
d3e112b
Change title to API Design Assistant and remove 'Go Back' and 'Config…
KamalikaSene Oct 25, 2024
6f36cc9
Create dialog box to confirm creation of API
KamalikaSene Oct 26, 2024
1f2a5d3
Create linear progress bar for chatbot
KamalikaSene Oct 26, 2024
b294638
Create sample query card for a sample query input
KamalikaSene Oct 26, 2024
090fa64
Change font styling for heading 'API Design Assistant'
KamalikaSene Oct 26, 2024
b2a15bc
Reduce bottom padding under input query field
KamalikaSene Oct 26, 2024
7dacfd5
Change layout in chatbot UI and import new componenets
KamalikaSene Oct 26, 2024
ad5d7c3
Add state management
KamalikaSene Oct 27, 2024
7fce7b1
Add panel to display generated code and buttons
KamalikaSene Oct 27, 2024
ede94c4
Add dialog to ask user to confirm API creation
KamalikaSene Oct 27, 2024
af43365
Create dialog to display if API creation was a success or not
KamalikaSene Oct 27, 2024
982c7ae
Retreive code and suggestions from backend response
KamalikaSene Oct 29, 2024
f23548d
Switch button labels of the API creation pop up message
KamalikaSene Nov 27, 2024
694198c
Change banner messages and description to match the feature
KamalikaSene Nov 27, 2024
f264dee
Add word count to the text input
KamalikaSene Nov 27, 2024
176596d
Add Swagger UI to display the resources of the API definition
KamalikaSene Nov 27, 2024
930a4ce
Add text section in the initial page to give context to users about t…
KamalikaSene Nov 27, 2024
3dd5868
Enable functionality to pass the sample data context to the cards
KamalikaSene Nov 27, 2024
d24c331
Add accordion to display suggestions
KamalikaSene Nov 27, 2024
ff3e9a4
Add Swagger UI functionality and the button logic to taggle between c…
KamalikaSene Nov 27, 2024
9d89467
Add border to the button labe;l
KamalikaSene Nov 27, 2024
8f48374
Access the role, content and message of each message
KamalikaSene Nov 27, 2024
d3aabb6
Add welcome message, messages use state, selected titles functionalities
KamalikaSene Nov 27, 2024
8c08e92
Add styling to components
KamalikaSene Jan 17, 2025
13b5370
Add loading dots for chatbubbles, link to view API and swagger UI
KamalikaSene Jan 17, 2025
08995c9
Update logic in dropdown menu and main assistant file
KamalikaSene Jan 17, 2025
57ba4ba
Import rich text area to enable dropdown menu in query field
KamalikaSene Jan 17, 2025
2dcf46a
Generate session ID for query
KamalikaSene Feb 2, 2025
5d05e4b
Add API creation logic, update port number and remove commented code
KamalikaSene Feb 4, 2025
eb9a4c1
Add Design Assistant button in pack startup and update url to 'design…
KamalikaSene Feb 8, 2025
f1a38fd
Add connections to Publisher REST API for chat and generate API paylo…
KamalikaSene Feb 8, 2025
a269a66
Resolve merge conflicts
KamalikaSene Feb 9, 2025
9d4de17
Remove AI API
KamalikaSene Feb 9, 2025
0eb0600
Change tag to 'API Design Assistant' to communicate with Publisher RE…
KamalikaSene Feb 10, 2025
27391ff
Remove commented code blocks and update year to 2025
KamalikaSene Feb 11, 2025
c472725
Merge branch 'api-design-assistant' into main
KamalikaSene Feb 13, 2025
3fb8409
Merge pull request #892 from KamalikaSene/main
lasanthaS Feb 13, 2025
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
4 changes: 2 additions & 2 deletions portals/admin/src/main/webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"scripts": {
"test:ci": "echo To be implemented",
"test:coverage": "jest --coverage",
"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",
"build:dev": "NODE_ENV=development; npm run i18n:en && rimraf site/public/dist/ && webpack --mode development --watch",
"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",
"build:dev": "NODE_ENV=development && npm run i18n:en && rimraf site/public/dist/ && webpack --mode development --watch",
"analysis": "NODE_ENV=analysis NODE_OPTIONS=--max_old_space_size=8172 webpack --mode production --progress",
"lint": "eslint --ignore-pattern '*.test.js' --ignore-pattern '*.test.jsx' --quiet -c .eslintrc.js --ext .jsx,.js source",
"i18n": "extract-messages -l=en,fr -o site/public/locales/ -d en --extractFromFormatMessageCall --flat 'source/src/app/**/*.jsx'",
Expand Down
1 change: 1 addition & 0 deletions portals/devportal/src/main/webapp/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ module.exports = {
},
extends: ['airbnb', 'plugin:jsx-a11y/recommended'], // http://airbnb.io/javascript/react/
rules: {
"linebreak-style": 0,
'max-len': ['error', { code: 140, tabWidth: 4 }],
'require-jsdoc': [
'warn',
Expand Down
4 changes: 2 additions & 2 deletions portals/devportal/src/main/webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"test:ci": "jest --silent --passWithNoTests",
"test:integration": "jest -c source/Tests/Integration/jest.config.js",
"test:coverage": "jest --coverage",
"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",
"build:dev": "rimraf site/public/dist/; npm run i18n:en && cross-env NODE_ENV=development webpack --mode development --watch",
"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",
"build:dev": "rimraf site/public/dist/ && npm run i18n:en && cross-env NODE_ENV=development webpack --mode development --watch",
"analysis": "cross-env NODE_ENV=development webpack --env.analysis -p --progress",
"lint": "eslint --ignore-pattern '*.test.js' --ignore-pattern '*.test.jsx' --quiet -c .eslintrc.js --ext .jsx,.js source",
"i18n": "extract-messages -l=en -o site//public//locales// -d en --extractFromFormatMessageCall --flat 'source//src//app//**//*.jsx'",
Expand Down
7 changes: 7 additions & 0 deletions portals/publisher/package-lock.json

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

10 changes: 10 additions & 0 deletions portals/publisher/src/main/webapp/package-lock.json

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

7 changes: 4 additions & 3 deletions portals/publisher/src/main/webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"test:ci2": "CI=true jest --silent --ci --watchAll=false --watch=false --coverage --coverageReporters=cobertura",
"test": "DEBUG_PRINT_LIMIT=9000 jest --watch",
"test:coverage": "jest --silent --coverage .; python3 -m http.server -d coverage/",
"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",
"build:dev": "rimraf site/public/dist/; npm run i18n:en && webpack --mode development --watch",
"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",
"build:dev": "rimraf site/public/dist/ && npm run i18n:en && webpack --mode development --watch",
"analysis": "NODE_ENVS=analysis NODE_OPTIONS=--max_old_space_size=8172 webpack --mode production --progress",
"lint": "eslint --ignore-pattern '*.test.js' --ignore-pattern '*.test.jsx' --quiet -c .eslintrc.js --ext .jsx,.js source",
"i18n": "formatjs extract 'source/src/app/**/*.{jsx,tsx}' --throws --out-file site/public/locales/raw.en.json --id-interpolation-pattern '[sha512:contenthash:base64:6]'",
Expand Down Expand Up @@ -94,6 +94,7 @@
"react-syntax-highlighter": "^15.5.0",
"react-tagsinput": "3.20.0",
"remark-gfm": "^3.0.1",
"rich-textarea": "^0.26.4",
"sourcemapped-stacktrace": "^1.1.11",
"swagger-client": "^3.18.5",
"swagger-ui-react": "^5.6.2",
Expand Down Expand Up @@ -171,4 +172,4 @@
"webpack-deadcode-plugin": "^0.1.17",
"webpack-dev-server": "^5.0.4"
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading