Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

"Choose a linter UI" dialog doesn't dismiss if linter disabled manually #56

Closed
Arcanemagus opened this issue Sep 22, 2017 · 3 comments
Closed
Labels

Comments

@Arcanemagus
Copy link
Contributor

Description

If you have linter disabled and manually enable it, atom-ide-ui pops up a dialog asking to disable it or atom-ide-diagnostics. If the user then manually disables the linter package (not from the dialog), the dialog persists, still asking the user for a choice.

Expected Behavior

Dialog should dismiss itself if the user disables linter manually.

This should be pretty simple, just add an onDidDeactivatePackage observer, and .dismiss() the message if linter is disabled.

Actual Behavior

Nothing happens.

Versions

  • Atom: v1.21.0-beta1
  • Client OS: Windows 10 x64
  • atom-ide-ui: 0.3.3
@hansonw
Copy link
Contributor

hansonw commented Sep 26, 2017

Thanks! It's an even easier fix with observables 😄

@hansonw hansonw closed this as completed Sep 26, 2017
@Arcanemagus
Copy link
Contributor Author

Observing it was what I was suggesting already? Anyway, thanks for fixing it!

@hansonw
Copy link
Contributor

hansonw commented Sep 26, 2017

Observable, as in rxjs.Observable (https://github.com/ReactiveX/rxjs)

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

No branches or pull requests

2 participants