Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Updated statuses on bot runtime start #4889

Merged
merged 13 commits into from
Nov 19, 2020

Conversation

srinaath
Copy link
Contributor

@srinaath srinaath commented Nov 19, 2020

Description

Screen Shot 2020-11-18 at 2 30 08 PM

Screen Shot 2020-11-18 at 2 29 22 PM

Fixes #4880

Srinaath Ravichandran added 6 commits November 17, 2020 16:25
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
srinaath and others added 5 commits November 18, 2020 22:24
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
beyackle
beyackle previously approved these changes Nov 19, 2020
Copy link
Contributor

@beyackle beyackle left a comment

Choose a reason for hiding this comment

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

Looks good - I have one question about it, but I don't want to block getting this PR out on that. If there's an issue there, it can be addressed in a future PR.


case BotStatus.connected: {
return BotStatusesCopy.connected;
}
case BotStatus.publishing:
return BotStatusesCopy.publishing;

case BotStatus.queued:
return BotStatusesCopy.queued;

default:
case BotStatus.unConnected:
return BotStatusesCopy.unConnected;
Copy link
Contributor

Choose a reason for hiding this comment

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

Wouldn't BotStatusesCopy[currentBotStatus] ?? BotStatusesCopy.unConnected handle all of these cases?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think so. I'll do the change.

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
@srinaath srinaath merged commit 1967e04 into feature/bot-projects Nov 19, 2020
@srinaath srinaath deleted the feature/4855-4880-connect-kb branch November 19, 2020 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants