patternfly-yew / patternfly-yew/patternfly-yew-quickstart

Tooltip on Table Column header label

Open
#33 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue help wanted
Dominant language
Rust
Stars
29
Forks
18
Avg merge
3d 23h
Merged PRs (30d)
1

Description

Is there a way to set a tooltip when hovering over a label of a table column? Right now I can only set a String for the label like this:

   <TableColumn<Columns> label="Id" index={Columns::Id}/>

And I want to send a VNode. Something like this:

   <TableColumn<Columns> label=html!(
       <Tooltip text="This is just an example tooltip.">
           "Id"
      </Tooltip>)
      index={Columns::Id}/>

Or any other way to add a tooltip?

Contributor guide

No contributing guide indexed for this repository

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 by locating the TableColumn label API and the existing Tooltip component usage in the PatternFly Yew quickstart. Determine how a column header can accept or associate tooltip content while preserving the displayed "Id" label. Done means a table column can show the requested tooltip when its header label is hovered.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.