mirror of
https://github.com/plankanban/planka.git
synced 2026-07-16 05:53:57 +03:00
[PR #779] [MERGED] feat: 🚸 enhance edit usability #1097
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/plankanban/planka/pull/779
Author: @HannesOberreiter
Created: 6/5/2024
Status: ✅ Merged
Merged: 6/6/2024
Merged by: @meltyshev
Base:
master← Head:edit-cursor📝 Commits (2)
862ade2feat: 🚸 improve edit usabilityf3f89f0ref: Move to separate function📊 Changes
5 files changed (+13 additions, -4 deletions)
View changed files
📝
client/src/components/Card/NameEdit.jsx(+2 -1)📝
client/src/components/CardModal/Activities/CommentEdit.jsx(+2 -1)📝
client/src/components/CardModal/Tasks/NameEdit.jsx(+2 -1)📝
client/src/components/List/NameEdit.jsx(+2 -1)➕
client/src/utils/element-helpers.js(+5 -0)📄 Description
When editing certain fields on the client, the cursor currently defaults to the beginning of the text. Based on my personal experience, it is more intuitive for the cursor to be positioned at the end of the text.
I've attached a video demonstrating the old and new behaviour:
screen-capture.webm
Cheers
Hannes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.