Skip to content

Change docs link icon to ? or "docs" or "help" #2114

Closed

Description

@david-crespo

Letter I icon is not evocative enough.

image

Activity

  1. added this to the 8 milestone on Apr 1, 2024
  2. charliepark commented on Apr 2, 2024

    @charliepark
    Contributor

    I think either of these would work …

    1. replacing the i with a "Help" dropdown, with "Guides" and "API Docs" options
      … or …
    2. changing the sidebar's "Docs" to "API Docs" and adding a "Guides" link above/below it
  3. paryhin commented on Apr 15, 2024

    @paryhin

    Maybe something like this can work:

    Image

  4. david-crespo commented on Apr 15, 2024

    @david-crespo
    CollaboratorAuthor

    I think that's good if we have two things to link to. Not sure we do yet. I guess we can link to both guides and API docs. Remember we also have this docs link in the sidebar. Is it redundant?

    image

    This gives me an idea though. What if we had a nice way of declaring some set of relevant docs for each page as a list of links, and it was automatically picked up by a component somewhere in the page that listed those links when you're on that page? Top bar may be kind of a weird place for such contextual info, or maybe not? How can we indicate in the dropdown that the links are specific to the page you're on? I am not being very clear, but I feel like there's a good solution here that we can implement very efficiently. I'm picturing something like how each page is able to declare its entries in the quick actions menu.

    useQuickActions(
    useMemo(
    () => [
    {
    value: 'New project',
    onSelect: () => navigate(pb.projectsNew()),
    },
    ...(projects?.items || []).map((p) => ({
    value: p.name,
    onSelect: () => navigate(pb.instances({ project: p.name })),
    navGroup: 'Go to project',
    })),
    ],
    [navigate, projects]
    )
    )

  5. david-crespo commented on Apr 24, 2024

    @david-crespo
    CollaboratorAuthor

    DOCS looks pretty terrible. We need a Question16Icon @benjaminleonard — we only have 12.

    image

  6. paryhin commented on Apr 24, 2024

    @paryhin

    I've added one in Figma design system, not sure how to make it available for you. Will ask Ben for assistance

  7. paryhin commented on Apr 24, 2024

    @paryhin

    24px and 16px found in @oxidecomputer/[email protected]
    oxidecomputer/design-system#79

  8. david-crespo commented on Apr 26, 2024

    @david-crespo
    CollaboratorAuthor

    We're going fix this by getting rid of the top bar one now that we have #2194 in the works.

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions