Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: integrate feature branches into local_main#529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
danhilse wants to merge15 commits intoreorproject:main
base:main
Choose a base branch
Loading
fromdanhilse:local_main

Conversation

danhilse
Copy link

This PR aggregates the following branches from the fork into a single integration branch:

Conflict resolutions:

  • FileItemRows.tsx: merged multi-select selection logic with date display.
  • FileSidebar.tsx: combined New Note/New Folder actions with date-visibility toggle.

greptile-apps[bot] reacted with thumbs up emoji
… '# Folder: <name>' headers); toasts and dedupe
…Files sidebar; IPC handlers and preload wiring
Copy link

@greptile-appsgreptile-appsbot left a comment

Choose a reason for hiding this comment

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

Greptile Summary

This PR integrates four feature branches into a single integration branch, combining significant enhancements to file management, UI improvements, and model updates. The changes include:

Multi-select and Batch Operations: Adds comprehensive multi-select functionality to the file sidebar with support for Ctrl/Cmd and Shift key combinations. Users can now select multiple files and perform bulk "Copy Markdown" operations, including intelligent folder content aggregation with proper header formatting and deduplication logic.

Note Timestamps Feature: Introduces a newNoteTimestamps component that displays file creation and modification dates directly in the editor interface. The component allows users to toggle between creation and modification timestamps with keyboard accessibility support, providing temporal context for notes.

Sidebar Quality-of-Life Improvements: Relocates "New Note" and "New Directory" action buttons from the main navigation sidebar to the Files sidebar header for better contextual placement. Adds a persistent date visibility toggle (calendar icon) that allows users to show/hide file modification dates in the sidebar, with preferences stored in the electron store across sessions.

Model Upgrade: Updates the default Anthropic model fromclaude-3-5-sonnet-latest toclaude-sonnet-4-20250514, upgrading to the newer generation Claude Sonnet 4 model while switching from an alias to a specific version snapshot for better consistency.

Infrastructure Updates: Extends the electron store schema with new IPC handlers for file date visibility preferences, adds proper preload layer exposure for secure cross-process communication, and updates.gitignore to exclude user-customizable agent configuration files.

The integration involved careful conflict resolution, particularly merging the multi-select logic with date display inFileItemRows.tsx and combining action buttons with the date toggle inFileSidebar.tsx. The changes maintain backward compatibility while adding these power-user features through the existingFileContext architecture.

Confidence score: 4/5

  • This PR introduces substantial new functionality but appears well-architected with appropriate separation of concerns and follows existing patterns
  • Score reflects the complexity of integrating multiple features simultaneously, though individual changes appear solid
  • Pay close attention to FileContext.tsx performance optimization and FileItemRows.tsx multi-select logic complexity

11 files reviewed, 2 comments

Edit Code Review Bot Settings |Greptile

role="button"
tabIndex={0}
onKeyDown={(e)=>{
if(e.key==='Enter'||e.key===' ')setShowUpdated((prev)=>!prev)

Choose a reason for hiding this comment

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

logic: Missing preventDefault() call for space key to prevent page scrolling

Suggested change
if(e.key==='Enter'||e.key===' ')setShowUpdated((prev)=>!prev)
if(e.key==='Enter'||e.key===' '){
e.preventDefault()
setShowUpdated((prev)=>!prev)
}

Comment on lines +74 to +83
useEffect(()=>{
constinit=async()=>{
constval=awaitwindow.electronStore.getFileIndexDateVisibility()
setShowDates(val)
}
init()

consthandler=(_e:any,val:boolean)=>setShowDates(val)
window.ipcRenderer.on('file-index-date-visibility-changed',handler)
},[])

Choose a reason for hiding this comment

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

logic: Missing cleanup for IPC listener - this will cause memory leaks. Add return statement to remove the listener on unmount.

Suggested change
useEffect(()=>{
constinit=async()=>{
constval=awaitwindow.electronStore.getFileIndexDateVisibility()
setShowDates(val)
}
init()
consthandler=(_e:any,val:boolean)=>setShowDates(val)
window.ipcRenderer.on('file-index-date-visibility-changed',handler)
},[])
useEffect(()=>{
constinit=async()=>{
constval=awaitwindow.electronStore.getFileIndexDateVisibility()
setShowDates(val)
}
init()
consthandler=(_e:any,val:boolean)=>setShowDates(val)
window.ipcRenderer.on('file-index-date-visibility-changed',handler)
return()=>{
window.ipcRenderer.off('file-index-date-visibility-changed',handler)
}
},[])

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@greptile-appsgreptile-apps[bot]greptile-apps[bot] left review comments

Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@danhilse

[8]ページ先頭

©2009-2025 Movatter.jp