vscode-dbt-power-user
vscode-dbt-power-user copied to clipboard
Fix/docs bugs
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
Altimatenear 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,
ALtimatetext should be visible after user name
Checklist
- [x] I have run this code and it appears to resolve the stated issue
- [ ]
README.mdupdated and added information about my change