[PR #779] [MERGED] feat: 🚸 enhance edit usability #1097

Closed
opened 2026-02-04 21:49:58 +03:00 by OVERLORD · 0 comments
Owner

📋 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: masterHead: edit-cursor


📝 Commits (2)

  • 862ade2 feat: 🚸 improve edit usability
  • f3f89f0 ref: 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.

## 📋 Pull Request Information **Original PR:** https://github.com/plankanban/planka/pull/779 **Author:** [@HannesOberreiter](https://github.com/HannesOberreiter) **Created:** 6/5/2024 **Status:** ✅ Merged **Merged:** 6/6/2024 **Merged by:** [@meltyshev](https://github.com/meltyshev) **Base:** `master` ← **Head:** `edit-cursor` --- ### 📝 Commits (2) - [`862ade2`](https://github.com/plankanban/planka/commit/862ade29f8b4a5415ac8a422f9acc02a12987f45) feat: :children_crossing: improve edit usability - [`f3f89f0`](https://github.com/plankanban/planka/commit/f3f89f062abc74fa9beec67c499ed710d4c92a0d) ref: Move to separate function ### 📊 Changes **5 files changed** (+13 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 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](https://github.com/plankanban/planka/assets/16878981/34a39eb2-fc20-4d6b-8933-2b215f0027a1) Cheers Hannes --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-04 21:49:58 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#1097