Skip to content

Pop-out viewer issue #120

@VisLab

Description

@VisLab

I used the embedding suggested (in a base template for my Sphinx doscs with Furo theme):

{% extends "!base.html" %}

{%- block scripts %}
  {{ super() }}
  
  <!-- OSA Chat Widget (HED Assistant) -->
  <script src="https://osa-demo.pages.dev/osa-chat-widget.js"
          crossorigin="anonymous"></script>
  <script>
    if (window.OSAChatWidget) {
      OSAChatWidget.setConfig({
        communityId: 'hed',
        allowPageContext: true,
        pageContextDefaultEnabled: true
      });
    }
  </script>
{%- endblock scripts %}

The widget works. However when I try the pop-out window -- it now copies the existing conversation to the large window (as desired --- before it didn't), but now it flashes up a red message and the chat window is grayed out with the message "widget unavailable". You can view at https://www.hedtags.org/hed-resources/. Refreshing does not help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions