Skip to content

Conversation

@shiftkey
Copy link
Member

@shiftkey shiftkey commented Aug 8, 2017

Splitting this off from #2407 where I have this use case:

  • user tries to open the app in an external editor
  • it's been uninstalled or the executable is missing or it errors, so 💥
  • display details about the error to the user, and suggest opening Preferences/Options to change to another editor
  • app invokes showPopup to change dialogs

With this change, I can put the user on the Advanced tab (where the setting lives) rather than leave them disoriented and not sure where to go. The default behaviour (focus on Accounts) will remain if this argument hasn't been provided.

@shiftkey shiftkey added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Aug 8, 2017
@joshaber joshaber self-assigned this Aug 8, 2017
Copy link
Contributor

@joshaber joshaber left a comment

Choose a reason for hiding this comment

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

Seems legit, just one comment bikeshedding the name 👍

files: ReadonlyArray<WorkingDirectoryFileChange>
}
| { type: PopupType.Preferences }
| { type: PopupType.Preferences; initialFocusTab?: PreferencesTab }

This comment was marked as spam.

@shiftkey
Copy link
Member Author

shiftkey commented Aug 8, 2017

🍎

@joshaber
Copy link
Contributor

joshaber commented Aug 9, 2017

@joshaber joshaber merged commit aff088c into master Aug 9, 2017
@joshaber joshaber deleted the support-opening-given-tab branch August 9, 2017 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants