Skip to content

fix: align input shortcuts - #2467

Merged
Philipinho merged 3 commits into
mainfrom
fix/input-shortcuts
Sep 8, 2026
Merged

Philipinho merged 3 commits into
mainfrom
fix/input-shortcuts

Conversation

@salihudickson

Copy link
Copy Markdown
Collaborator

closes: #2406

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the row detail modal’s field editing UX by tracking when a field is being edited and adjusting the footer keyboard hints, while also refactoring several field components to report “editing” state up to the modal.

Changes:

  • Add onEditingChange plumbing from RowDetailModal → PropertyRow → DetailField → individual field components, toggled on focus/commit.
  • Update footer keyboard hint layout/content based on whether a field is currently being edited.
  • Refactor RowDetailTitle keyboard handling to support “reset on Escape” via a cancel ref and commit-on-blur.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
apps/client/src/ee/base/styles/row-detail-modal.module.css Adjust keyboard hint layout and add group/plus styling helpers.
apps/client/src/ee/base/components/row-detail-modal/row-detail-title.tsx Add editing-state reporting + cancel/reset flow on Escape and commit-on-blur refactor.
apps/client/src/ee/base/components/row-detail-modal/row-detail-modal.tsx Track editingField state and render different keyboard hints while editing.
apps/client/src/ee/base/components/row-detail-modal/property-row.tsx Pass onEditingChange down into the field renderer.
apps/client/src/ee/base/components/row-detail-modal/fields/field-text.tsx Report editing state on focus/commit.
apps/client/src/ee/base/components/row-detail-modal/fields/field-number.tsx Report editing state on focus/commit.
apps/client/src/ee/base/components/row-detail-modal/fields/field-long-text.tsx Report editing state on focus/commit.
apps/client/src/ee/base/components/row-detail-modal/fields/detail-field.tsx Extend shared FieldProps and pass onEditingChange into field components.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +375 to +378
<span className={classes.kbdGroup}>
<kbd className={classes.kbd}>Ctrl/Cmd</kbd>
<span>+</span>
<kbd className={classes.kbd}>Enter</kbd>
@salihudickson
salihudickson marked this pull request as ready for review September 1, 2026 19:32
@Philipinho
Philipinho merged commit 9490727 into main Sep 8, 2026
6 checks 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.

Inconsistent keyboard behaviour of long_description kanban fields (usability)

3 participants