vscode-dbt-power-user icon indicating copy to clipboard operation
vscode-dbt-power-user copied to clipboard

Fix/docs bugs

Open saravmajestic opened this issue 1 year ago • 0 comments

Overview

Problem

  • UI issue in dbt docs share functionality in doc editor: https://altimateai.atlassian.net/browse/AI-1687
  • Too many api calls for dbt docs on extension load
  • When @ mentioning users, github user names are showing

Solution

  • fixed ui issues in doc editor panel
  • added extra text Altimate near user names when @ mentioning to indicate altimate users
  • Backend api is changed to send conversations with shared docs. Modified extension to handle the new response
  • Instead of getting shares after every manifest cache changed event, make it a single call after all projects are initialized

Screenshot/Demo

A picture is worth a thousand words. Please highlight the changes if applicable.

How to test

  • Load sample_dbt_projects repo in vscode with dbt power user extension
  • Single api call dbt/dbt_docs_share/all?projects= should be made after all projects are initialized
  • While creating new comment, and using @ mention, ALtimate text should be visible after user name

Checklist

  • [x] I have run this code and it appears to resolve the stated issue
  • [ ] README.md updated and added information about my change

saravmajestic avatar Apr 29 '24 11:04 saravmajestic