appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

chore: CE changes for Ask AI

Open arunvjn opened this issue 1 year ago • 32 comments

Description

  • Changes to codeEditor/index.ts to support AI integration.
  • Added AIAssisted prop to code editor component.
  • Added AIWindow interface to support AI popover in business edition.

Type of change

  • Chore (housekeeping or task changes that don't impact user perception)

Testing

How Has This Been Tested?

  • [x] Manual

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:

Dev activity

  • [ ] My code follows the style guidelines of this project
  • [ ] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] My changes generate no new warnings
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] New and existing unit tests pass locally with my changes
  • [ ] PR is being merged under a feature flag

QA activity:

  • [ ] Speedbreak features have been covered
  • [ ] Test plan covers all impacted features and areas of interest
  • [ ] Test plan has been peer reviewed by project stakeholders and other QA members
  • [ ] Manually tested functionality on DP
  • [ ] We had an implementation alignment call with stakeholders post QA Round 2
  • [ ] Cypress test cases have been added and approved by SDET/manual QA
  • [ ] Added Test Plan Approved label after Cypress tests were reviewed
  • [ ] Added Test Plan Approved label after JUnit tests were reviewed

arunvjn avatar May 10 '23 12:05 arunvjn

/ok-to-test sha=8779f06

arunvjn avatar May 10 '23 13:05 arunvjn

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4937472104. Workflow: Appsmith External Integration Test Workflow. Commit: 8779f06. PR: 23188. Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23188&runId=4937472104_1

github-actions[bot] avatar May 10 '23 13:05 github-actions[bot]

/ok-to-test sha=44b0b6b

arunvjn avatar May 11 '23 05:05 arunvjn

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4944212761. Workflow: Appsmith External Integration Test Workflow. Commit: 44b0b6b. PR: 23188. Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23188&runId=4944212761_1

github-actions[bot] avatar May 11 '23 05:05 github-actions[bot]

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4944212761. Commit: 44b0b6b. The following are new failures, please fix them before merging the PR:

  1. cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Omnibar_spec.js
  2. cypress/integration/Regression_TestSuite/ServerSideTests/ApiTests/API_Styles_spec.js
  3. cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Postgres1_Spec.ts
To know the list of identified flaky tests - Refer here

github-actions[bot] avatar May 11 '23 06:05 github-actions[bot]

/ok-to-test sha=5c5246b

arunvjn avatar May 11 '23 08:05 arunvjn

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4945697593. Workflow: Appsmith External Integration Test Workflow. Commit: 5c5246b. PR: 23188. Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23188&runId=4945697593_1

github-actions[bot] avatar May 11 '23 08:05 github-actions[bot]

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4945697593. Commit: 5c5246b. The following are new failures, please fix them before merging the PR:

  1. cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Moment_Spec.ts
  2. cypress/integration/Regression_TestSuite/ClientSideTests/Git/GitSync/GitBugs_spec.js
  3. cypress/integration/Regression_TestSuite/ClientSideTests/Onboarding/CreateNewApp_spec.js
  4. cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Inspect_Element_spec.js
  5. cypress/integration/Regression_TestSuite/ClientSideTests/Templates/Fork_Template_spec.js
  6. cypress/integration/Regression_TestSuite/ServerSideTests/ApiTests/API_Styles_spec.js
  7. cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Postgres1_Spec.ts
  8. cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/UUID_Spec.ts
To know the list of identified flaky tests - Refer here

github-actions[bot] avatar May 11 '23 10:05 github-actions[bot]

/build-deploy-preview env=release

arunvjn avatar May 11 '23 10:05 arunvjn

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/4946655624. Workflow: On demand build Docker image and deploy preview. skip-tests: ``. env: release. PR: 23188. recreate: .

github-actions[bot] avatar May 11 '23 10:05 github-actions[bot]

/build-deploy-preview env=release

pratapaprasanna avatar May 11 '23 10:05 pratapaprasanna

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/4946787476. Workflow: On demand build Docker image and deploy preview. skip-tests: ``. env: release. PR: 23188. recreate: .

github-actions[bot] avatar May 11 '23 10:05 github-actions[bot]

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4945697593. Commit: 5c5246b. The following are new failures, please fix them before merging the PR:

  1. cypress/integration/Regression_TestSuite/ClientSideTests/Git/GitSync/GitBugs_spec.js
  2. cypress/integration/Regression_TestSuite/ServerSideTests/ApiTests/API_Styles_spec.js
  3. cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/UUID_Spec.ts
To know the list of identified flaky tests - Refer here

github-actions[bot] avatar May 11 '23 10:05 github-actions[bot]

Deploy-Preview-URL: https://appsmith-b7kooi4f5-get-appsmith.vercel.app

github-actions[bot] avatar May 11 '23 10:05 github-actions[bot]

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4945697593. Commit: 5c5246b. The following are new failures, please fix them before merging the PR:

  1. cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Moment_Spec.ts
  2. cypress/integration/Regression_TestSuite/ServerSideTests/ApiTests/API_Styles_spec.js
  3. cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/UUID_Spec.ts
To know the list of identified flaky tests - Refer here

github-actions[bot] avatar May 11 '23 11:05 github-actions[bot]

/ok-to-test sha=3a9c214

arunvjn avatar May 11 '23 12:05 arunvjn

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4947647668. Workflow: Appsmith External Integration Test Workflow. Commit: 3a9c214. PR: 23188. Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23188&runId=4947647668_1

github-actions[bot] avatar May 11 '23 12:05 github-actions[bot]

/ok-to-test sha=63774c7

arunvjn avatar May 11 '23 14:05 arunvjn

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4948897791. Workflow: Appsmith External Integration Test Workflow. Commit: 63774c7. PR: 23188. Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23188&runId=4948897791_1

github-actions[bot] avatar May 11 '23 14:05 github-actions[bot]

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4948897791. Commit: 63774c7. The following are new failures, please fix them before merging the PR:

  1. cypress/integration/Regression_TestSuite/ClientSideTests/Git/GitSync/GitSyncedApps_spec.js
  2. cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2Filter2_Spec.ts
  3. cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/MemberRoles_Spec.ts
  4. cypress/integration/Regression_TestSuite/ServerSideTests/ApiTests/API_Styles_spec.js
  5. cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Mongo_Spec.ts
  6. cypress/integration/Regression_TestSuite/ServerSideTests/OnLoadTests/PostgresConnections_spec.ts
  7. cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/UUID_Spec.ts
To know the list of identified flaky tests - Refer here

github-actions[bot] avatar May 11 '23 15:05 github-actions[bot]

/ok-to-test sha=171cc9a

arunvjn avatar May 12 '23 05:05 arunvjn

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4955520829. Workflow: Appsmith External Integration Test Workflow. Commit: 171cc9a. PR: 23188. Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23188&runId=4955520829_1

github-actions[bot] avatar May 12 '23 05:05 github-actions[bot]

/build-deploy-preview env=release

arunvjn avatar May 12 '23 05:05 arunvjn

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/4955526171. Workflow: On demand build Docker image and deploy preview. skip-tests: ``. env: release. PR: 23188. recreate: .

github-actions[bot] avatar May 12 '23 05:05 github-actions[bot]

Deploy-Preview-URL: https://appsmith-op4metskh-get-appsmith.vercel.app

github-actions[bot] avatar May 12 '23 05:05 github-actions[bot]

/ok-to-test sha=373de85

arunvjn avatar May 12 '23 06:05 arunvjn

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4955980002. Workflow: Appsmith External Integration Test Workflow. Commit: 373de85. PR: 23188. Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23188&runId=4955980002_1

github-actions[bot] avatar May 12 '23 06:05 github-actions[bot]

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4955980002. Commit: 373de85. The following are new failures, please fix them before merging the PR:

  1. cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Bug9334_Spec.ts
  2. cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/GitBugs_Spec.ts
  3. cypress/integration/Regression_TestSuite/ClientSideTests/IDE/Command_Click_Navigation_spec.js
  4. cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Omnibar_spec.js
  5. cypress/integration/Regression_TestSuite/ServerSideTests/ApiTests/API_Styles_spec.js
  6. cypress/integration/Regression_TestSuite/ServerSideTests/OnLoadTests/PostgresConnections_spec.ts
To know the list of identified flaky tests - Refer here

github-actions[bot] avatar May 12 '23 08:05 github-actions[bot]

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4955980002. Commit: 373de85. The following are new failures, please fix them before merging the PR:

  1. cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Omnibar_spec.js
  2. cypress/integration/Regression_TestSuite/ServerSideTests/ApiTests/API_Styles_spec.js
To know the list of identified flaky tests - Refer here

github-actions[bot] avatar May 12 '23 09:05 github-actions[bot]

/ok-to-test sha=c1da1f3

arunvjn avatar May 12 '23 12:05 arunvjn