-
Notifications
You must be signed in to change notification settings - Fork 504
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
danhilse
wants to merge
15
commits into
reorproject:main
Choose a base branch
from
danhilse:local_main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
c740dd8
feat(files): multi-select + bulk Copy Markdown; support folders (with…
danhilse f558feb
feat(editor): add subtle note timestamps header (Created/Updated togg…
danhilse 1f5ce90
chore(editor): adjust timestamp alignment (pl-4) for better left gutt…
danhilse 5d11519
chore(editor): adjust timestamp alignment (pl-4) for better left gutt…
danhilse 9c182d6
chore(editor): adjust timestamp alignment (pl-4) for better left gutt…
danhilse 5ecfb32
feat(files): add fixed-width, no-wrap date stamp in file list (MM-dd-…
danhilse afa9d4b
chore(files): remove 'Dates' label; show compact calendar icon toggle…
danhilse aaf4b37
feat(files): add persisted date visibility toggle (calendar icon) in …
danhilse b30efe4
feat(files): move New Note and New Directory icons to top-left of Fil…
danhilse 2630e18
chore(nav): remove New Note and New Directory buttons from nav (moved…
danhilse 4006fda
feat(anthropic): update default cloud model to claude-sonnet-4-20250514
danhilse f919a56
Merge branch 'feature/batch-copy-markdown' into local_main
danhilse eca1ea9
merge: resolve FileItemRows selection + timestamp display
danhilse dea3285
merge: combine Files sidebar actions with date toggle
danhilse 363b4e1
Merge branch 'chore/update-claude-sonnet-4-20250514' into local_main
danhilse File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ dist-ssr | |
dist-electron | ||
release | ||
*.local | ||
AGENTS.md | ||
|
||
# Editor directories and files | ||
.vscode/.debug.env | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import React, { useMemo, useState } from 'react' | ||
import { format } from 'date-fns' | ||
import { useFileContext } from '@/contexts/FileContext' | ||
|
||
const NoteTimestamps: React.FC = () => { | ||
const { currentlyOpenFilePath, vaultFilesFlattened } = useFileContext() | ||
const [showUpdated, setShowUpdated] = useState(false) | ||
|
||
const fileInfo = useMemo(() => { | ||
if (!currentlyOpenFilePath) return null | ||
return vaultFilesFlattened.find((f) => f.path === currentlyOpenFilePath) || null | ||
}, [currentlyOpenFilePath, vaultFilesFlattened]) | ||
|
||
if (!fileInfo) return null | ||
|
||
const createdAt = fileInfo.dateCreated | ||
const updatedAt = fileInfo.dateModified | ||
|
||
const label = showUpdated ? 'Updated' : 'Created' | ||
const date = showUpdated ? updatedAt : createdAt | ||
const display = date instanceof Date ? format(date, 'yyyy-MM-dd HH:mm') : String(date) | ||
|
||
return ( | ||
<div | ||
className="mb-1 mt-2 cursor-pointer select-none pl-4 text-[11px] leading-4 text-neutral-400 opacity-30 transition-opacity hover:text-neutral-300 hover:opacity-80" | ||
onClick={() => setShowUpdated((prev) => !prev)} | ||
role="button" | ||
tabIndex={0} | ||
onKeyDown={(e) => { | ||
if (e.key === 'Enter' || e.key === ' ') setShowUpdated((prev) => !prev) | ||
}} | ||
> | ||
{label}: {display} | ||
</div> | ||
) | ||
} | ||
|
||
export default NoteTimestamps |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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