Skip to content

Conversation

@devagrawal09
Copy link
Owner

No description provided.

@devagrawal09 devagrawal09 self-assigned this Jun 6, 2025
@devagrawal09 devagrawal09 requested a review from Copilot June 6, 2025 12:29
Copy link

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 adds a new sorting utility, sortIntoArray, and integrates it into both the Board and Column components to improve dynamic ordering of notes and columns.

  • Introduces sortIntoArray in utils.ts with accompanying tests in utils.test.ts
  • Updates Column and Board components to use sortIntoArray for maintaining order
  • Updates package.json with additional testing dependency (vitest)

Reviewed Changes

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

Show a summary per file
File Description
src/lib/utils.ts Added sortIntoArray function to insert items in order
src/lib/utils.test.ts Introduced comprehensive tests for sortIntoArray
src/components/Column.tsx Replaced memoized sorting with a reactive store for filtered notes
src/components/Board.tsx Replaced memoized column sorting with a reactive store implementation
package.json Added vitest dependency and updated unocss dependency version

Repository owner deleted a comment from Copilot AI Jun 6, 2025
Repository owner deleted a comment from Copilot AI Jun 6, 2025
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