microsoft / microsoft/fluentui
Docs: Invalid HTML in Codepen for TreeView
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 20.3k
- Forks
- 2.9k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 46
Description
Environment Information
- Web Components
Describe the issue:
The HTML in the CodePen Example has an incorrect closing '>', which displays an error in the Result Pane.
Actual behavior:
Expected behavior:
Chaning the last "<" to ">" fixes the issue.
If applicable, please provide a codepen repro:
The Codepen error is in the documentation.
Priorities and help requested (not applicable if asking question):
Are you willing to submit a PR to fix? Yes
Requested priority: Normal
Products/sites affected: (if applicable)
(https://learn.microsoft.com/en-us/fluent-ui/web-components/components/tree-view?pivots=typescript)
Contributor guide
No contributing guide indexed for this repository
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
Open the TreeView documentation CodePen at the linked Microsoft Learn page and inspect its HTML in the example. Change the incorrect closing character identified in the issue, then verify that the Result Pane no longer reports invalid HTML and matches the fixed screenshot.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100