AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

[Feature Request]: Editing behaviour in table view cells

Open deepu2 opened this issue 7 months ago • 1 comments

Description

  1. I want to be able to select a cell and start typing without double clicking on the cell to edit
  2. Pressing tab while editing a cell does nothing (It can move to the next cell)
  3. An option to leave the edit mode and move to the next cell instead of new lines on pressing 'Enter'. New lines can be added with 'Shift+Enter'

This can be optional. I would like more of an excel like editing experience.

Use case

I tend to take notes on paper and transfer them all at a time, and having these features would make it easier to bulk add stuff in the table view

Anything else?

No response

Are you willing to submit a PR?

  • [ ] Yes I'd like to help by submitting a PR!

deepu2 avatar Jun 10 '25 00:06 deepu2

Issue Status: 🆕 *Untriaged

*🆕 Untriaged

The team has not yet reviewed the issue. We usually do it within one business day. Docs: https://github.com/toeverything/AFFiNE/blob/canary/docs/issue-triaging.md

This is an automatic reply by the bot.

affine-issue-bot[bot] avatar Jun 10 '25 00:06 affine-issue-bot[bot]

These features has been implemented by @NorkzYT, and will be released next version.

L-Sun avatar Jun 23 '25 14:06 L-Sun

These features has been implemented by @NorkzYT, and will be released next version.

I fail to see how it works. I've tried both the main release (25.1) and the latest canary version (903). The changes made by @NorkzYT in the PR they made show it working with Kanban, but not with regular tables. Tab doesn't go to the next cell (to the right, or wrapping to the first cell in the line below) and Enter adds a new line to the cell instead of going to the one below too.

Another thing that I've noticed is that using arrow keys (which are not a substitute for Tab and Enter in my opinion) only work left and right, Arrow Up and Arrow Down works as Arrow Left and Arrow Right respectively, meaning you can't navigate different lines in a column, only different columns in the same line (aside from wrapping on edges). Is that something that would also see a fix?

RodrigoTR04 avatar Nov 03 '25 11:11 RodrigoTR04