AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

[Bug]: In table view, adding rows doesn't appear when grouped by a property

Open deepu2 opened this issue 7 months ago • 3 comments

What happened?

New rows does not appear when grouping, refer the video and steps to reproduce below

  1. create a table view
  2. group table view by a property
  3. try adding a row in one of the groups
  4. row doesn't show up in the group
  5. remove grouping and the rows are actually added with the group property selected

https://github.com/user-attachments/assets/a24f1115-411f-47dc-a232-a75c13846a27

Distribution version

Windows 11

App Version

0.22.2

What browsers are you seeing the problem on if you're using web version?

Desktop version

Are you self-hosting?

  • [ ] Yes

Self-hosting Version

No response

Relevant log output


Anything else?

No response

deepu2 avatar Jun 10 '25 03: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 03:06 affine-issue-bot[bot]

@deepu2

The PR that resolves this issue has already been merged and released in the latest 0.22.4 version.

NorkzYT avatar Jun 13 '25 17:06 NorkzYT

Please do close this issue.

NorkzYT avatar Jun 13 '25 17:06 NorkzYT

Thank you so much, I'll test it out :D

deepu2 avatar Jun 18 '25 23:06 deepu2

~~Hey, so after testing, all the custom columns behave the same except the default first text column. Was this intentional?~~

deepu2 avatar Jun 19 '25 12:06 deepu2

@deepu2

Please elaborate and send a screenshot as well.

I am able to delete and create the first row in a database table and see it automatically without issue and I am using the AFFINE Windows App.

NorkzYT avatar Jun 19 '25 12:06 NorkzYT

My bad, sorry. Thought this was a different issue. I'll test it soon and report back, thank you

deepu2 avatar Jun 19 '25 12:06 deepu2

Understood, no problem.

NorkzYT avatar Jun 19 '25 12:06 NorkzYT

@NorkzYT

I just tested it. It works as expected on a new table but when I tested it on a table that I originally created, it would add rows to the "Ungroups" table. It didn't add the group value. Please see the video below.

https://github.com/user-attachments/assets/8f72a377-4bc0-4b43-936d-923e7cb5e198

deepu2 avatar Jun 19 '25 23:06 deepu2

@deepu2

I have made a grouped table and that issue did not occur for myself. When I make a new record it created the row in the same group and not elsewhere as I see occur for you in the video you gave.

Make sure you are on the latest version—especially if you are Self Hosting since both the server and the desktop app need to be on the same version. (Or at least they should be).

Image

Image

NorkzYT avatar Jun 20 '25 13:06 NorkzYT

@NorkzYT

I am not using self hosted version however I also haven't connected to any server. I don't know why its only happening with the old table, is there a log or something that could help?

deepu2 avatar Jun 25 '25 11:06 deepu2

@deepu2

Unsure at the moment. Try deleting AFFINE and then going here to get the installer for Windows—install and check again.

NorkzYT avatar Jun 25 '25 12:06 NorkzYT