microsoft / microsoft/BotFramework-WebChat
Modernize styleOptions & separate HTML vs API
Open
Nobody has claimed this yet.
backlog
bug
front-burner
needs-scheduling
p1
- Dominant language
- HTML
- Stars
- 1.8k
- Forks
- 1.6k
- Avg merge
- 22h 58m
- Merged PRs (30d)
- 2
Description
Steps to reproduce
- make a change to
api/src/defaultStyleOptions, but NOTcomponent/Styles/defaultStyleOptions - View result
- make a change to
component/Styles/defaultStyleOptionsbut NOTapi/src/defaultStyleOptions, - View result
- See behavior is not consistent
Expected behavior
both files should be cleaned up so there are no overlapping styles.
Additional context
This is in prep for RN work, where some styles will not be used in RN.
[Bug]
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
Read api/src/defaultStyleOptions and component/Styles/defaultStyleOptions, then follow the reproduction steps to compare how changes in each file affect behavior. Identify the overlapping styles and separate the HTML and API options so the files are cleaned up and changes no longer produce inconsistent results, while keeping the RN preparation context in mind.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100