Skip to content

fix: WebIDE code suggestions respect policies

Tomas Vik requested to merge tv/2024-05/web-ide-resepcts-state-manager into main

Description

This issue changes code suggestions in WebIDE to respect state policies (most importantly the policy that disables suggestions if Duo Features are disabled for the project)

Related Issues

Resolves #1369 (closed)

How has this been tested?

  1. checkout WebIDE
  2. change the gitlab-vscode-extension submodule to point to the HEAD of this MR (cd giltab-vscode-extension && git checkout tv/2024-05/web-ide-resepcts-state-manager)
  3. run yarn run start:example
  4. use your token to log in and open https://gitlab.com/viktomas/test-project/
  • image
  1. see that you don't get code suggestions
  • Screenshot_2024-05-15_at_15.24.54

Screenshots (if appropriate)

What CHANGELOG entry will this MR create?

  • fix: Bug fix fixes - a user-facing issue in production - included in changelog
  • feature: New feature - a user-facing change which adds functionality - included in changelog
  • BREAKING CHANGE: (fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog
  • None - other non-user-facing changes
Edited by Tomas Vik

Merge request reports