patternfly / patternfly/patternfly

Menu toggle - update status examples, add demo

Open
#7,311 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

PF Team Stale
Dominant language
SCSS
Stars
817
Forks
116
Avg merge
4d 11h
Merged PRs (30d)
14

Description

Add text blurb to status menu toggle example saying you need to use helper text w/ warning and danger. We can use the wording in the react example - https://www.patternfly.org/components/menus/menu-toggle/#status-toggle

When the status value is "warning" or "danger", you must include helper text that conveys what is causing the warning/error.

Also add menu toggle demo with status menu toggle(s) in a form with helper text. There is also a react issue to add this same demo, and core/react should match if possible

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the status menu toggle example linked in the issue and review the related PatternFly React issue for the matching form demo. Add the warning/danger helper-text guidance and a form example with status menu toggles and helper text; done means the core and React examples match where possible.

Written by the indexing model from the issue text.

Assessment

Tech stack
scss
Domain
documentation, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.