Skip to content

Fix dataset undefined values and selection hover bug#456

Open
Irozuku wants to merge 3 commits intodevelopfrom
fix/undefined-rows-columns
Open

Fix dataset undefined values and selection hover bug#456
Irozuku wants to merge 3 commits intodevelopfrom
fix/undefined-rows-columns

Conversation

@Irozuku
Copy link
Collaborator

@Irozuku Irozuku commented Feb 25, 2026

Summary

This pull request improves user interface feedback and strengthens dataset data validation.

It fixes an issue where newly uploaded datasets displayed undefined values due to missing total_rows and total_columns during dataset merging. Additionally, it improves selection highlighting behavior so that selected items keep their background color when hovered, ensuring consistent visual feedback.

image

Type of Change

Check all that apply like this [x]:

  • Backend change
  • Frontend change
  • CI / Workflow change
  • Build / Packaging change
  • Bug fix
  • Documentation

Changes (by file)

  • ItemBox.jsx: Updated hover background color logic to preserve the selected color when an item is hovered while selected; otherwise, the hover color is applied.
  • useDatasets.js: Added validation checks to ensure total_rows and total_columns exist before merging dataset information, preventing undefined values for newly uploaded datasets.

Testing (optional)

  • Upload a new dataset and verify that total_rows and total_columns are displayed correctly (no undefined values).
  • Select an item and hover over it to confirm the background color remains consistent while selected.

@Irozuku Irozuku added bug Something isn't working front Frontend work labels Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working front Frontend work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant