Mini-Stef / Core-Data-Model-Editor

The place to get help, report problems or request feature on the Core Data Model Editor app.
https://github.com/Mini-Stef/Core-Data-Model-Editor
10 stars 1 forks source link

Setting and saving colors for the entities #6

Closed vdhamer closed 3 months ago

vdhamer commented 10 months ago

The app allows entities to be assigned to Configurations, and configurations to be assigned colors:

Thanks for the v1.2.0 update! I am particularly happy that at some point you plan to support Swift Data as well.

Mini-Stef commented 10 months ago

Hello Peter,

Thank again for the remark. I must admit colors management is quite "light" for the time being. The initial goal was to identify configurations easily in the graphical area, and I think it does the job... Except when an entity belongs to several configurations, in which case, only one color is shown. And you are right, for the time being, the color can't be chosen (the button is disabled), and they are not really persistent. All in all, they will remain the same... until you delete a configuration and then restart the app. But again the goal was to quickly identify configurations, so... I agree this deserves better, especially as I also wanted the color mechanism to show diff between versions of a model (which is in the to do list).

For the time being, I am working on the "undo" management, and validation of the fields (e.g. the tool should not allow an entity name to start with lowercase, and attributes name by uppercase etc...). Combining validation of text fields and undo is a pretty difficult task. Much more than it should be.

vdhamer commented 10 months ago

It is fine to give this low priority. Note that I use color to create a diagram and classify tables/entities per topic. I didn't look up what Configuration was originally mean for.

"diffs between versions" - keep in mind that (especially with your new version) you should be able to see accurate diffs at the ASCII level in git/github.

Assuming you will be working on the app for while, you might want to send me your direct e-mail address. You can find me on linkedIn or Facebook. There's nobody else with my name.

Mini-Stef commented 10 months ago

Linked-in invitation sent :-)

Mini-Stef commented 3 months ago

For information, started to work on the topic :-)

Mini-Stef commented 3 months ago

Done. Will be released with version 1.3.0 at the end of August