Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Display help/doc links info only when in a GitHub repo #974

Closed
wants to merge 107 commits into from

Conversation

paladique
Copy link
Contributor

An info panel with links to docs and training displays in Team Explorer, but can be misleading when not in a GitHub repo. Only display the panel when the user is in a GitHub hosted repo.

Fixes #971

@paladique paladique requested a review from grokys May 3, 2017 17:42
Copy link
Contributor

@grokys grokys left a comment

Choose a reason for hiding this comment

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

Ha, nice! I didn't expect this to be so simple ;) Thanks!

@grokys grokys changed the base branch from master to release/2.2.0.11 May 4, 2017 09:49
@grokys grokys changed the base branch from release/2.2.0.11 to master May 4, 2017 09:49
Copy link
Contributor

@grokys grokys left a comment

Choose a reason for hiding this comment

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

Actually, could you rebase this on top of the release/2.2.0.11 branch? It's easier to put it there and merge it to master rather than the other way around.

paladique and others added 24 commits May 4, 2017 17:40
Previously our view model base interface/class (`IView` and
`BaseViewModel`) had a bunch of properties that weren't relevant to many
view/view models. Refactored them into a more granular hierarchy.
They were dialog view models, but they should have been pane pages.
Refactor the `Done` and `Cancel` signals from `IDialogView` into
`IHasDone` and `IHasCancel` interfaces so that views can define their
capabilities in a more granular fashion. This has the slightly
unfortunate side-effect of leaving `IDialogView` with only a single
`IsBusy` signal which can't be refactored out into an interface because
we already have an incompatible `IHasBusy` which is implemented by the
view models. This will be resolved in the next step of refactoring where
the signals are moved from the views to the view models.
When building outside of VS, use the NuGet package tooling. When building inside VS, use the installed VS SDK version.
I don't think we need to copy Vsix extension files to a directory in the `GitHub.StartPage` project and then link `GitHub.StartPage.pkgdef` from `GitHub.VisualStudio`. It looks like there's a build in way.
Moved the `Done` and `Cancel` observables out of the views and into the
view models. In doing so, moved `IDialogViewModel` into
`GitHub.Exports.Reactive` and removed `IReactiveDialogViewModel`.
The term "load" is rather um, overloaded, so try using something else.
@paladique paladique force-pushed the fixes/971-show-docs-when-github-repo branch from 8ebc32a to 2146f22 Compare May 4, 2017 22:07
@grokys grokys changed the base branch from master to release/2.2.0.11 May 4, 2017 22:49
@grokys grokys changed the base branch from release/2.2.0.11 to master May 4, 2017 22:49
@paladique paladique changed the base branch from master to release/2.2.0.11 May 5, 2017 01:26
@paladique paladique changed the base branch from release/2.2.0.11 to master May 5, 2017 01:26
@paladique paladique closed this May 5, 2017
@paladique paladique deleted the fixes/971-show-docs-when-github-repo branch May 5, 2017 01:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants