Skip to content

Docs: open issues & questions #7690

@kmcfaul

Description

@kmcfaul

Capturing some questions and things to decide on regarding documentation to improve consistency.

General documentation:

  • KeyboardHandler and Popper are exported and should be included in our docs, but are not currently.
    consider documenting the utilities under the website "Utility". We could have React and CSS sub categories.

  • CSS variables section could be moved out of each page and into a separate tab to cut down on page length (and demo pages are not consistent on whether this section is included)

  • Would it be worth introducing another sub-level into the sidebar navigation to group similar components together (ex. grouping Textarea, Text input, Text input group into a new folder Text under Components) or would that be too many levels of drill-in?

  • Should Legacy use a badge/banner similar to Beta to further visually distinguish components/examples instead of using text? This would also cut down on example title length.
    Open org issue and design issue for the deprecated badge. open design issue for deprecated banner.

Example-related:

  • Data sets in component examples sometimes use practical, real world-like data (Dell, Samsung...) vs. descriptive data (Option 1, Option 2...), sometimes swap data set types between examples on the same component page, and sometimes analogous examples between react+html do not match data set types. We might want to pick one type of data, or form data sets relevant to each component and be consistent within a component page for react and html.
    components should be reviewed for content in examples/demos before it is promoted from Beta.
    Open issue to update example/demos for real world vs descriptive data.

  • Examples with common features repeat phrases in their titles and could be grouped under a subheader instead (ex. AlertGroup has “Singular dynamic alert group”, “Singular dynamic alert group with overflow message”, and “Multiple dynamic alert group” examples)

  • Examples use flag modifier elements inconsistently - sometimes included above vs. below the example, sometimes uses checkbox vs. button vs. radio. Tooltip has a large table of options modifying a single example.

  • Example titles between react and core are inconsistent for analogous examples. There is also inconsistency in the term used for basic use case examples (between "basic", "default", and "simple").

  • Should example titles use punctuation? Most example titles do not which make the several that do stand out

Metadata

Metadata

Assignees

Type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions