added error display
This commit is contained in:
parent
2258c93e09
commit
713b0b0fd4
2 changed files with 11 additions and 3 deletions
|
@ -146,23 +146,31 @@ namespace BSLManager
|
||||||
Width = Dim.Fill(),
|
Width = Dim.Fill(),
|
||||||
Height = 1
|
Height = 1
|
||||||
};
|
};
|
||||||
var inbox = new Label($"Inbox: {follower.InboxRoute}")
|
var errors = new Label($"Posting Errors: {follower.PostingErrorCount}")
|
||||||
{
|
{
|
||||||
X = 1,
|
X = 1,
|
||||||
Y = 4,
|
Y = 4,
|
||||||
Width = Dim.Fill(),
|
Width = Dim.Fill(),
|
||||||
Height = 1
|
Height = 1
|
||||||
};
|
};
|
||||||
var sharedInbox = new Label($"Shared Inbox: {follower.SharedInboxRoute}")
|
var inbox = new Label($"Inbox: {follower.InboxRoute}")
|
||||||
{
|
{
|
||||||
X = 1,
|
X = 1,
|
||||||
Y = 5,
|
Y = 5,
|
||||||
Width = Dim.Fill(),
|
Width = Dim.Fill(),
|
||||||
Height = 1
|
Height = 1
|
||||||
};
|
};
|
||||||
|
var sharedInbox = new Label($"Shared Inbox: {follower.SharedInboxRoute}")
|
||||||
|
{
|
||||||
|
X = 1,
|
||||||
|
Y = 6,
|
||||||
|
Width = Dim.Fill(),
|
||||||
|
Height = 1
|
||||||
|
};
|
||||||
|
|
||||||
dialog.Add(name);
|
dialog.Add(name);
|
||||||
dialog.Add(following);
|
dialog.Add(following);
|
||||||
|
dialog.Add(errors);
|
||||||
dialog.Add(inbox);
|
dialog.Add(inbox);
|
||||||
dialog.Add(sharedInbox);
|
dialog.Add(sharedInbox);
|
||||||
dialog.Add(close);
|
dialog.Add(close);
|
||||||
|
|
|
@ -26,7 +26,7 @@ namespace BSLManager.Domain
|
||||||
|
|
||||||
foreach (var follower in _sourceUserList)
|
foreach (var follower in _sourceUserList)
|
||||||
{
|
{
|
||||||
var displayedUser = $"{GetFullHandle(follower)} ({follower.Followings.Count})";
|
var displayedUser = $"{GetFullHandle(follower)} ({follower.Followings.Count}) (err:{follower.PostingErrorCount})";
|
||||||
_filteredDisplayableUserList.Add(displayedUser);
|
_filteredDisplayableUserList.Add(displayedUser);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue