Skip to content

chore(data-grid): rename variables #1119

Merged
sadmann7 merged 2 commits intomainfrom
sadman/rename-cols-to-column-count
Feb 25, 2026
Merged

chore(data-grid): rename variables #1119
sadmann7 merged 2 commits intomainfrom
sadman/rename-cols-to-column-count

Conversation

@sadmann7
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings February 25, 2026 08:39
@vercel
Copy link
Copy Markdown

vercel bot commented Feb 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tablecn Ready Ready Preview Feb 25, 2026 8:39am

Request Review

@sadmann7 sadmann7 merged commit 374e6ae into main Feb 25, 2026
9 checks passed
@sadmann7 sadmann7 deleted the sadman/rename-cols-to-column-count branch February 25, 2026 08:40
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 pull request improves code readability in the parseTsv function by renaming variables to be more descriptive and introducing a new variable to eliminate repeated calculations.

Changes:

  • Renamed variables in parseTsv function from abbreviated to descriptive names (maxTabsmaxTabCount, colscolumnCount, bufTabsbufTabCount)
  • Introduced expectedTabCount variable to replace repeated columnCount - 1 calculations
  • Updated registry file public/r/data-grid.json to reflect source code changes

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/lib/data-grid.ts Refactored variable names in parseTsv function to improve readability and maintainability
public/r/data-grid.json Updated embedded source content to match the refactored code in data-grid.ts

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants