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:
The selected tables to generate CRUD for (tables.php)
The visibility status of the columns (columns.php)
The visibility status of the foreign keys (columns.php)
The default name (which is the column system name) if no custom display field name was set
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:
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:
df5bed5 • debug: no_of_records_per_page was not read from config file
d22fb62 • various debugs found through tests
b490186 • set english as default language in admin, fixed wrong IDs
5880942 • fix undefined index errors on hidden columns for file uploads
2d4f76e • fix errors when trying to access undefined "file" checkboxes
df2527e • reformat the big generate() function with DevSense
f23b0e3 • harmonized texts / visibility / FK visibility field IDs on Tables and Columns
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:
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: