Skip to content

feat(data-table): visible light-theme row hover and a header tooltip - #61

Merged
kirillDevPro merged 1 commit into
masterfrom
fix/data-table-hover-and-header-tooltip
Sep 5, 2026
Merged

feat(data-table): visible light-theme row hover and a header tooltip#61
kirillDevPro merged 1 commit into
masterfrom
fix/data-table-hover-and-header-tooltip

Conversation

@kirillDevPro

Copy link
Copy Markdown
Collaborator

Row hover: table_hover resolved from panel_high, which the light
palette sets to pure white, so a hovered row on a white table was
invisible. The palette gains its own table_hover key (dark keeps the
former panel_high value, light takes the gutter step 0xEEF2F6) and the
theme role reads it. MoonPalette is #[serde(default)], so a theme
file without the key keeps working.

Header tooltip: MoonDataTableColumn gains an optional tooltip and a
builder; the header cell attaches a MoonTooltipView when it is set.
A consumer that relabels a technical column can keep the raw name one
hover away.

Row hover: `table_hover` resolved from `panel_high`, which the light
palette sets to pure white, so a hovered row on a white table was
invisible. The palette gains its own `table_hover` key (dark keeps the
former panel_high value, light takes the gutter step 0xEEF2F6) and the
theme role reads it. `MoonPalette` is `#[serde(default)]`, so a theme
file without the key keeps working.

Header tooltip: `MoonDataTableColumn` gains an optional `tooltip` and a
builder; the header cell attaches a `MoonTooltipView` when it is set.
A consumer that relabels a technical column can keep the raw name one
hover away.
@kirillDevPro
kirillDevPro merged commit e60d5e8 into master Sep 5, 2026
2 checks passed
@kirillDevPro
kirillDevPro deleted the fix/data-table-hover-and-header-tooltip branch September 5, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant