Browse Source

added error display

master
Nicolas Constant 2 years ago
parent
commit
713b0b0fd4
No known key found for this signature in database GPG Key ID: 1E9F677FB01A5688
2 changed files with 11 additions and 3 deletions
  1. +10
    -2
      src/BSLManager/App.cs
  2. +1
    -1
      src/BSLManager/Domain/FollowersListState.cs

+ 10
- 2
src/BSLManager/App.cs View File

@ -146,23 +146,31 @@ namespace BSLManager
Width = Dim.Fill(),
Height = 1
};
var inbox = new Label($"Inbox: {follower.InboxRoute}")
var errors = new Label($"Posting Errors: {follower.PostingErrorCount}")
{
X = 1,
Y = 4,
Width = Dim.Fill(),
Height = 1
};
var sharedInbox = new Label($"Shared Inbox: {follower.SharedInboxRoute}")
var inbox = new Label($"Inbox: {follower.InboxRoute}")
{
X = 1,
Y = 5,
Width = Dim.Fill(),
Height = 1
};
var sharedInbox = new Label($"Shared Inbox: {follower.SharedInboxRoute}")
{
X = 1,
Y = 6,
Width = Dim.Fill(),
Height = 1
};
dialog.Add(name);
dialog.Add(following);
dialog.Add(errors);
dialog.Add(inbox);
dialog.Add(sharedInbox);
dialog.Add(close);


+ 1
- 1
src/BSLManager/Domain/FollowersListState.cs View File

@ -26,7 +26,7 @@ namespace BSLManager.Domain
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);
}
}


Loading…
Cancel
Save