Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] resizable table #188

Open
ghost opened this issue Jul 29, 2024 · 9 comments
Open

[feature] resizable table #188

ghost opened this issue Jul 29, 2024 · 9 comments

Comments

@ghost
Copy link

ghost commented Jul 29, 2024

Currently the table component size is fixed, so when the table name is long it'll simply be replaced with 3-dots. It would be nice to resize or auto-resize to accommodate for the full length of the table and column name.

@1ilit
Copy link
Member

1ilit commented Jul 29, 2024

You can set the table width here
image

@ghost
Copy link
Author

ghost commented Jul 29, 2024

I see, thanks for pointing that out @1ilit , I didn't know that. This would solve my problem but ultimately I still think manual or auto-resizable card can be useful, is there a plan to have it or a reason to not? I wouldn't mind to help with building it if this feature can be added to the product

@1ilit
Copy link
Member

1ilit commented Jul 29, 2024

If the tables were individually resized and were all different sizes I don't think the diagrams would look as good

@ghost
Copy link
Author

ghost commented Jul 29, 2024

You have a point, but I don't think having too much whitespace on smaller table look good either. I think being able to resize is quite important to me so I can work with normal, big and small tables and effectively utilizing the spaces, and it'll be the user responsibility to make the diagram look good, what do you think?

image

@1ilit
Copy link
Member

1ilit commented Jul 30, 2024

@sahitya-chandra I'm still not convinced about having this implemented

@sudhirVoid
Copy link

If the tables were individually resized and were all different sizes I don't think the diagrams would look as good

What I think is in some table the column name can be long so it is shown as ... In that case I have to increase the width of the whole diagram where the proper management of space will not be there. So, I think the existing feature is very good to set the default table size but at table level too we have to give functionality to drag and expand width. I think.

@hkusulja
Copy link

hkusulja commented Aug 9, 2024

I suggest that each table has its width settings / property.
Auto
Or fixed
or inherited from general settings

@sudhirVoid
Copy link

I suggest that each table has its width settings / property. Auto Or fixed or inherited from general settings

Yes this is what I also want to achieve here but in the form of drag and expand from the corners . This will reinitialize the width of that specific table again . I just see that having 2 - 3 clicks just to set width can be irritating if tables are many. So for the ease drag and expand can be the right choice.
what you think?

@JamalArshad147
Copy link
Contributor

I believe it should be the user's choice. If we have enabled them to change the table size in settings then we should also offer a convenient way. If someone prefers to maintain a specific size, that is a matter of personal preference. If someone wants to resize it then he is allowed to do it. This way we will give them the choice or customization option to resize it.

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

No branches or pull requests

4 participants