Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to hide Info and Warning Messages as a User Setting #30

Merged
merged 2 commits into from
Feb 12, 2023

Conversation

tyler-lemke
Copy link
Contributor

  • currently all or nothing, you hide all info, or all warning messages, or both
  • hope to expand this later to allow the user to ignore specific types of info or warning messages, or even errors

Give the user the ability to hide info or warning type messages
@celian-rib celian-rib self-requested a review February 10, 2023 22:56
Copy link
Owner

@celian-rib celian-rib left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @tylerslemke, thanks for the PR, really appreciate it!

It's a very good addition to the extension and I'm sure it will be useful to many developers.

I will release a new version of the extension as soon as we merge this PR. 👍🏻

Comment on lines +135 to +138
// test('isHiddenMessage()', async () => {
// const result = IssueDiagnostic.isHiddenMessage(sampleWarningData.type);
// assert.strictEqual(result, true);
// });
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should either uncomment or delete this test. :)

@celian-rib
Copy link
Owner

Nevermind I'll handle the cleanup :) thanks again !

@celian-rib celian-rib merged commit 12a5f8a into celian-rib:main Feb 12, 2023
@tyler-lemke
Copy link
Contributor Author

Thanks. I shouldn't have let that sneak through!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants