Skip to content

Comments

refactor: Remove debouncing from title input and fix links#4162

Merged
ComputelessComputer merged 3 commits intomainfrom
refactor-title-input-and-links
Feb 23, 2026
Merged

refactor: Remove debouncing from title input and fix links#4162
ComputelessComputer merged 3 commits intomainfrom
refactor-title-input-and-links

Conversation

@ComputelessComputer
Copy link
Collaborator

Remove debounced persistence in title input component to simplify state management and persist title directly on blur. Restructure link click handler to exit early when link mark is not found and ensure proper event handling for keyboard shortcuts.

@netlify
Copy link

netlify bot commented Feb 22, 2026

Deploy Preview for hyprnote ready!

Name Link
🔨 Latest commit e21fe74
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote/deploys/699bb79fc40e6a00082e4da0
😎 Deploy Preview https://deploy-preview-4162--hyprnote.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 22, 2026

Deploy Preview for hyprnote-storybook ready!

Name Link
🔨 Latest commit e21fe74
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote-storybook/deploys/699bb79fb82f570008a26af6
😎 Deploy Preview https://deploy-preview-4162--hyprnote-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ComputelessComputer ComputelessComputer force-pushed the refactor-title-input-and-links branch 3 times, most recently from f2bc419 to 1b429df Compare February 22, 2026 16:34
Remove custom debouncing implementation with refs and timeouts.
Replace with immediate store updates on blur event using
localTitle state. Simplifies title persistence logic by
removing debouncedPersist and flushDebounce functions.
Implement real-time title synchronization using Zustand store to
show immediate title changes across the UI while user types.

Create useLiveTitle store with setTitle/clearTitle actions and
useSessionTitle hook for consistent title resolution. Integrate
live title updates in TitleInput onChange and clear on blur/enter.

Update timeline items and folder components to display live titles.
Minor UI improvement to toast button styling with shadow and color.
Display "Untitled" placeholder when timeline item has no title to
improve user experience and prevent empty list items from appearing
in the sidebar.
@ComputelessComputer ComputelessComputer force-pushed the refactor-title-input-and-links branch from 1b429df to e21fe74 Compare February 23, 2026 02:12
@ComputelessComputer ComputelessComputer merged commit 8ca641c into main Feb 23, 2026
14 checks passed
@ComputelessComputer ComputelessComputer deleted the refactor-title-input-and-links branch February 23, 2026 02:38
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.

1 participant