Skip to content
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

Quality of life: Improve keyboard selection to first restrict to node… #131

Merged

Conversation

lakbychance
Copy link
Contributor

@lakbychance lakbychance commented Sep 3, 2023

This PR aims at achieving Notion-style selection where pressing Mod+a first selects only the content within the node's boundary and pressing Mod+a again selects the whole content.

Screen.Recording.2023-09-03.at.6.18.30.PM.mov

@vercel
Copy link

vercel bot commented Sep 3, 2023

@lakbychance is attempting to deploy a commit to the Elegance Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Sep 4, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
novel ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 4, 2023 10:59pm

@steven-tey
Copy link
Owner

Wow I LOVE this! Incredible attention to detail – thank you so much for the PR!

@steven-tey
Copy link
Owner

Found a super weird bug – it looks like when the whole document is selected, it inherits the hyperlink from the link at the start of the document:

CleanShot.2023-09-04.at.16.00.20.mp4

@steven-tey
Copy link
Owner

Ok looks like it's not specific to this PR but a bug in Novel's implementation:

CleanShot.2023-09-04.at.16.03.10.mp4

Will merge this now but open a separate issue for this!

@steven-tey steven-tey merged commit 7cf51bf into steven-tey:main Sep 4, 2023
1 check passed
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