jan-vandenberg / cruddiy

No-code Bootstrap PHP CRUD generator
http://cruddiy.com
GNU Affero General Public License v3.0
253 stars 80 forks source link

Enhancement/cleanup #99

Closed germain-italic closed 12 months ago

germain-italic commented 12 months ago

This PR is mostly code cleaning, ui refining, tests enhancements, and debugging (found some bugs thought tests).

Per request in #5 we are now showing the datatypes for columns

Why stop here, we also have a tooltip on emojis:

We also truncate the column name on the left to avoid breaking the table (the full name is in the tooltip).


Full CRUD configuration backup and restore

After a first step in #86 where we saved the table and column names, we are now saving:

So I've you've run the generator once, and you need to re-run it, you won't have to check the boxes and fill in the names again, they will load automatically. This is very usefull I you need to add a few columns and regenerate the files.

Here's a demo I made for fun:

Watch video


Better Tests documentation

All contributors are encouraged to tests and write new tests, it's now easier than before, with relevant links to documentation and tools.


Small fixes: