blocksuite icon indicating copy to clipboard operation
blocksuite copied to clipboard

​Table view change Column Type would lose column data

Open niphor opened this issue 1 year ago • 3 comments

What happened?

The table column types number and progress can be converted to text type, but cannot be converted back.

and, checkbox,link, and date types cannot be converted to text type.

This causes an issue when importing a Markdown file ,table columns are text type as default. If change any column type to the aboved mentioned types, the cell data will be cleared.

and when importing Markdown, there is another bug with table, the data in the cells is not visible. You need to click on a cell to enter edit mode for the data to be displayed.

Distribution version

Web (app.affine.pro)

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

Chrome

Are you self-hosting?

  • [ ] Yes

Relevant log output

No response

Anything else?

No response

niphor avatar May 21 '24 10:05 niphor

fixed in #7135

zzj3720 avatar May 27 '24 11:05 zzj3720

@zzj3720 I tested it I think date and link types have not been covered.

Since the pr preview demo does not have import Markdown function, I haven't tested that issue with the import.

niphor avatar May 28 '24 08:05 niphor

@zzj3720 I tested it I think date and link types have not been covered.

The pr only covers the conversions. I will add convertion for date and links later :)

golok727 avatar Jun 10 '24 07:06 golok727