Skip to content

bot chat connection status will not be updated if network disconnect, it seems subscribe event not trigger, any ideas?  #163

Open

Description

@shunyh
No description provided.

Activity

  1. changed the title [-]bot connection status will not be updated if network disconnect, it seems subscribe event not trigger, any ideas? [/-] [+]bot chat connection status will not be updated if network disconnect, it seems subscribe event not trigger, any ideas? [/+] on Feb 26, 2019
  2. blrchen commented on Mar 4, 2019

    @blrchen

    We are trying to add an UI interaction to indicate health status of directlineline connection. It seems DL does not provide a disconnected status for subscribing. Is there any event that would fire when DL connection become disconnected?

      this.connectionStatusSubscription = this.botConnection.connectionStatus$.subscribe(
          connectionStatus => {
            var status = '';
            switch (connectionStatus) {
              case ConnectionStatus.Uninitialized:
                status = ChatConnectionStatus.Uninitialized.value;
                break;
              case ConnectionStatus.Connecting:
                status = ChatConnectionStatus.Connecting.value;
                break;
              case ConnectionStatus.Online:
                status = ChatConnectionStatus.Online.value;
                break;
              case ConnectionStatus.ExpiredToken:
                status = ChatConnectionStatus.ExpiredToken.value;
                break;
              case ConnectionStatus.FailedToConnect:
                status = ChatConnectionStatus.FailedToConnect.value;
                break;
              case ConnectionStatus.Ended:
                status = ChatConnectionStatus.Ended.value;
                break;
              default:
                status = ChatConnectionStatus.Unexpected.value;
                break;
            }
            // Dispatch to change directline indicator status shown.
          }
        );
    
  3. added
    Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.
    customer-reportedRequired for internal Azure reporting. Do not delete.
    customer-replied-toRequired for internal reporting. Do not delete.
    on Feb 26, 2021
  4. added this to the R13 milestone on Feb 26, 2021
  5. cwhitten commented on Feb 26, 2021

    @cwhitten
    Member

    Loading up for discussion/prioritization in an upcoming release

  6. removed this from the R13 milestone on Mar 26, 2021
  7. added
    backlogThe issue is out of scope for the current iteration but it will be evaluated in a future release.
    on Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.backlogThe issue is out of scope for the current iteration but it will be evaluated in a future release.customer-replied-toRequired for internal reporting. Do not delete.customer-reportedRequired for internal Azure reporting. Do not delete.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions