aws-samples / aws-samples/aws-lex-web-ui

when using iframe loader, setting parentOrigin is not work

Open
#693 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
817
Forks
506
PR merge metrics
No merged PRs in 30d

Description

![image](https://github.com/aws-samples/aws-lex-web-ui/assets/21135474/1d053d0d-d332-4231-b8f3-494367fafdb5)
iframe loader, I used chatbotUiconfig and set shouldLoadConfigFromJsonFile false, there are some questions
1.still load config.json
![image](https://github.com/aws-samples/aws-lex-web-ui/assets/21135474/8b7accd9-8d23-42d2-89c7-7f292a6b809a)
2.parentOrigin is not work, and there is an error chatbot UI failed to load
![image](https://github.com/aws-samples/aws-lex-web-ui/assets/21135474/6b8d7d44-2ead-4a9b-9568-c54d76fedb90)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the iframe loader with chatbotUiconfig and shouldLoadConfigFromJsonFile set to false, then trace why config.json is still loaded and why parentOrigin causes the chatbot UI to fail. Done means the loader respects the inline configuration and parentOrigin without the reported loading error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.