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

Add ability to disable notifications

Open ivan-toriya-precis opened this issue 1 year ago • 6 comments

Describe the feature

I want to disable irrelevant notifications, that I see after every VSCode startup. image

Why these errors irrelevant for me?

  • An error occured while initializing the dbt project: Runtime Error Credentials in profile "dbt_[clientname]", target "dev" invalid: ['project_id'] is not valid under any of the given schemas I'm using one project directory as a template for creating new projects
  • An error occured while initializing the dbt project: Runtime Error dbt cannot run because no profile was specified for this dbt project. To specify a profile for this project, add a line like the this to your dbt_project.yml file: profile: [profile name] Here, [profile name] should be replaced with a profile name defined in your profiles.yml file. You can find profiles.yml here: /home/ivantoriya-ubuntu20_04_4/.dbt/profiles.yml same as above + I'm storing profiles in a different way
  • dbt Power User detected 17 projects in your work space, this will negatively affect performance. My performance not affected

Describe alternatives you've considered

  • It can't be done in VSCode settings.
  • I don't want to change my setup, because of that.

Who will benefit?

Me, my team, and someone else with a similar issue.

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

ivan-toriya-precis avatar Apr 17 '23 13:04 ivan-toriya-precis

dbt Power User detected 17 projects in your work space, this will negatively affect performance. My performance not affected

I think we can bump it to 20, the memory usage is about 100Mb per project as we run a separate process per project.

the other issues can probably be resolved with something like https://stackoverflow.com/questions/33258543/how-to-exclude-folder-from-explore-tab

mdesmet avatar Apr 17 '23 21:04 mdesmet

the other issues can probably be resolved with something like https://stackoverflow.com/questions/33258543/how-to-exclude-folder-from-explore-tab

I don't want to exclude the folder from the Explorer tab

ivan-toriya-precis avatar Apr 18 '23 08:04 ivan-toriya-precis

Every time I update the extension, I'm getting a notification about whether I'd like help to setup the extension. I've finished this in the past, but I'm still getting this. It is very annoying. I'd love to have an option of disabling this notification.

geo909 avatar Nov 14 '23 12:11 geo909

Hi @geo909, are you still seeing the notification even after clicking on the ignore button? Additionally, could you please let us know which version of the extension you are currently using? We released a new update that should have fixed this issue, so if you're still experiencing it, please let us know.

anandgupta42 avatar Nov 14 '23 15:11 anandgupta42

@anandgupta42 Thanks for the quick reply!

Yes, I believe so, I clicked ignore in the past and/or completed the procedure and it still appeared between updates.

I'm quite sure about that, but let me confirm next time I update. My current version is 0.24.3 but I update regularly.

Update: @anandgupta42 Indeed, I clicked on 'Ignore' yet I got the same notification after restarting vscode (due to another extension's update!). Really can't get rid of it.

I'm using Ubuntu 22.04, VSCode 1.83.1 and dbt power user 0.24.3. Let me know if there is anything else you need to know.

geo909 avatar Nov 15 '23 08:11 geo909

@anandgupta42 It's actually worse than I though, the notification is there every time I just open up VSCode..

geo909 avatar Nov 16 '23 14:11 geo909