Code Suggestion for GitLab Web IDE

Overview

We would like to enable code Suggestions for the GitLab Web IDE ( New ) . The WEB IDE will be going GA by 16.0 . This issue is to validate the core functionalities for the end to end Code Suggestion Experience in Web IDE and the backend

Functionalities ( More to be discussed after UX Solution Validation)

  1. The user enables Code Suggestion for WEB IDE in a project level? ( To be discussed )
  2. Once enable goes through a terms and condition pages and have it enabled ( activated) .
  3. At any point the user may be able to pause or disable through the IDE
  4. From the model team we will be working on inline code and recommendation rather than completion and we would need to encounter that as well
  5. We would collect feedback as a form , pop up.

Backend ( TBD) ?

  1. Creating the web extension (copying most of the code from the existing)
  2. Collaborating with the WEB IDE team to get it pre-installed
  3. Working on the enable/disable and authentication setup

Preferred Solution Suggested by WEB IDE TEAM :

  1. Embedding the workflow extension inside the web IDE brings back the Gitlab features into the Web IDE

Other Options :

  1. Make Code Suggestions a separate, web-enabled, extension.
  2. Make Code Suggestions separate npm module and import it to both Desktop Extension and WebIDE.

Things to Consider

  1. Openai Package ( #33 (closed))
  2. Anything that would block WEB IDE team
  3. Should we consider a seperate plugin (#21 (comment 1264012198))

cc @tmccaslin @nkhalwadekar @katiemacoy @a_akgun @fdegier

Edited by Mon Ray