appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

chore: Send example structure to slash commands

Open arunvjn opened this issue 1 year ago • 11 comments

Description

Ask AI trigger from slash commands requires the expected type and example structure of response to generate better results. This PR ensures that we send this info from code editor component.

Type of change

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

How Has This Been Tested?

  • 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

  • [x] My code follows the style guidelines of this project
  • [x] 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
  • [x] 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
  • [x] PR is being merged under a feature flag

QA activity:

  • [ ] Test plan has been approved by relevant developers
  • [ ] Test plan has been peer reviewed by QA
  • [ ] Cypress test cases have been added and approved by either SDET or manual QA
  • [ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
  • [ ] Added Test Plan Approved label after reveiwing all Cypress test

arunvjn avatar May 05 '23 05:05 arunvjn

/ok-to-test sha=caedd9c

arunvjn avatar May 05 '23 07:05 arunvjn

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

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

/build-deploy-preview env=release

arunvjn avatar May 05 '23 07:05 arunvjn

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

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

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

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

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

    To know the list of identified flaky tests - Refer here

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

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

      To know the list of identified flaky tests - Refer here

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

      /ok-to-test sha=caedd9c

      arunvjn avatar May 07 '23 02:05 arunvjn

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

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

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

      1. cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV1/TableFilter2_Spec.ts
      2. cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/MemberRoles_Spec.ts
      3. cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/ShareAppTests_spec.js
      To know the list of identified flaky tests - Refer here

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

      Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4904878747. Commit: caedd9c. All cypress tests have passed 🎉

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