Skip to content

Create standard component for "descriptive copy above a table" #2056

Closed

Description

@charliepark

We currently have a few places where we use <p className="mr-8 max-w-2xl text-sans-md text-secondary"> (or a close variation; check!), and we should standardize that and just pass in / wrap ReactNode contents.

Activity

  1. self-assigned this
    on Mar 12, 2024
  2. paryhin commented on Mar 12, 2024

    @paryhin

    As a temporary solution, this is fine, but we should avoid having descriptive copy in the page body. Some components can have it, like input fields, but tables and other major elements are not the best candidates for it. It quickly becomes annoying and intrusive for returning users, and takes valuable space. A better solution would be to use a component that can be hidden / activated by the user as needed. One of the earlier ideas was to have a context-aware documents/help button that takes the user to the relevant documentation or, even better, displays it in the context, e.g. side pane. A good example can be found in the onboarding designs: https://www.figma.com/file/BoYtmMvwwNqs6lkLisptT6/Onboarding?type=design&node-id=2181%3A32809&mode=design&t=W21RKr72asPhmWqY-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions