microsoft / microsoft/BotFramework-WebChat
Detect compatMode and give warnings
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 1.8k
- Forks
- 1.6k
- Avg merge
- 22h 58m
- Merged PRs (30d)
- 2
Description
Feature Request
Web Chat layout don't works in quirk mode. Adaptive Cards also didn't work well in quirk mode. The page hosting Web Chat must have <!DOCTYPE html> on.
We could give warnings to developers when they are hosting Web Chat in quirk mode.
To detect:
document.compatMode === 'CSS1Compat'; // this is good
document.compatMode === 'BackCompat'; // this is bad
Bugs related to quirk mode
Safari
In macOS Catalina (10.15.1) and Safari 13.0.3 (15608.3.10.1.4). When the page is rendered in quirks mode, the transcript will be hidden by the send box.
Adaptive Cards
#1493

[Enhancement]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by locating the browser entry point and existing warning or environment-detection tests; use document.compatMode as the starting point. Done means developers receive a warning for BackCompat pages while CSS1Compat pages remain unaffected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100