drawdb icon indicating copy to clipboard operation
drawdb copied to clipboard

[FEATURE] Hide data types

Open ian-barker opened this issue 11 months ago • 6 comments

To cater for conceptual and certain logical models, the ability to hide data types from the ERD visualisation. Perhaps through a simple toggle in the view menu. This would leave only the field names visible in the tables.

ian-barker avatar Jan 07 '25 09:01 ian-barker

Yeah it kinda looks different without datatypes mentioned it would look clean

flashpunch0-0 avatar Feb 25 '25 07:02 flashpunch0-0

what do you think removing it would be a great idea? as on hover it does show the datatype of that field

flashpunch0-0 avatar Feb 25 '25 07:02 flashpunch0-0

@flashpunch0-0 I think if there was a toggle to hide the datatypes then it would solve the problem for me. I'm not much of a UX coder though so I wouldn't really know how to add this in. I was hoping someone more knowledgeable could have a go at it. :)

ian-barker avatar Feb 25 '25 07:02 ian-barker

@ian-barker got it I did find the piece of code, just taking a look at possible places to add the toggle button.

according to you what would be an ideal place like in the table itself or in the sidebar?

flashpunch0-0 avatar Feb 25 '25 07:02 flashpunch0-0

@flashpunch0-0 I was thinking a sensible place would be in the "view" menu along the top.

ian-barker avatar Feb 25 '25 07:02 ian-barker

hmm makes sense but I think if we give option right in the table it would be a better thing
let's see, I am figuring out a way

flashpunch0-0 avatar Feb 25 '25 08:02 flashpunch0-0

@1ilit I have created another pull request solving the issue please have a look let me know if any changes are required

#366

flashpunch0-0 avatar Mar 15 '25 23:03 flashpunch0-0