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

Conversation

@shana
Copy link
Contributor

@shana shana commented Jun 16, 2016

Make sure existing UI is stopped whenever the following conditions change:

  • The active repository changes
  • The user login status changes

Also make sure Reload is reentrant, all those await calls means it can get called multiple times.

@shana
Copy link
Contributor Author

shana commented Jun 16, 2016

Still have an annoying problem with the list sometimes not refreshing, even though it clearly changes. But otherwise, looking nice

pr-list-view2

using ReactiveUI;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Diagnostics;
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like this isn't being used.


if (!IsGitHubRepo.Value)
{
//LoadView(UIViewType.NotAGitHubRepo);
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't look like this if statement is doing anything anymore, I uncommented to investigate and it looks like it's broken, do we intend to add NotAGitHubRepo to UIViewType at some point in the future?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, it's a placeholder for @grokys to stuff things into 😄

@paladique
Copy link
Contributor

This looks great 👍

@paladique paladique merged commit 6d89938 into master Jun 17, 2016
@paladique paladique deleted the shana/stop-ui-controller-properly branch June 17, 2016 23:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants