Skip to content

show a placeholder (blurred number) while row index is loading#131

Merged
severo merged 1 commit intomasterfrom
128-loading-indicator-for-row-indexes
Apr 24, 2025
Merged

show a placeholder (blurred number) while row index is loading#131
severo merged 1 commit intomasterfrom
128-loading-indicator-for-row-indexes

Conversation

@severo
Copy link
Copy Markdown
Contributor

@severo severo commented Apr 23, 2025

fixes #128

Screenshot From 2025-04-23 17-21-01

Screencast.From.2025-04-23.17-24-47.mp4

@severo severo requested review from Copilot and platypii April 23, 2025 15:26
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a busy state for row headers to indicate when the row index is loading. It adds a new optional busy prop to the RowHeader component and adjusts the HighTable component to pass this prop based on the data availability.

  • Adds busy prop to RowHeader to reflect loading state via the aria-busy attribute.
  • Updates HighTable to conditionally set the busy prop when dataIndex is undefined.

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/components/RowHeader/RowHeader.tsx Adds busy prop and applies aria-busy for accessibility.
src/components/HighTable/HighTable.tsx Passes busy prop to RowHeader based on dataIndex availability.
Files not reviewed (1)
  • src/components/HighTable/HighTable.module.css: Language not supported

Comment thread src/components/RowHeader/RowHeader.tsx
Copy link
Copy Markdown
Contributor

@platypii platypii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

@severo severo merged commit 7487a91 into master Apr 24, 2025
10 checks passed
@severo severo deleted the 128-loading-indicator-for-row-indexes branch April 24, 2025 08:42
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.

Show a loading indicator on the row numbers

3 participants