cruddiy icon indicating copy to clipboard operation
cruddiy copied to clipboard

Feature request: enum dropdowns, hint text for columns, better debug

Open sudofox opened this issue 4 years ago • 6 comments

Hi!

I'd like to request a few things:

  • Automatically generate enum dropdown based on column definitions
  • Input maxlength based on column sizes
  • Add hint text for columns
  • Show datatype for columns, maybe allow some loose validation in the form
  • Wrap updates in transactions, and rollback/display verbose error if an issue occurs.
  • Maybe a little deduplication for the database logic?

I spent money on some really complex PHP Crud thingy and then I found this simple beauty after the thing that I bought started acting up :) It looks very modifiable and I'm very happy to have found it. Wish I'd found it earlier!

sudofox avatar Oct 19 '20 04:10 sudofox

Good ideas!

So far I added

  • Automatically generate enum dropdown based on column definitions https://github.com/jan-vandenberg/cruddiy/commit/a6f2af5d97597f3ee6d720cf795322f3af5bb658
  • Input maxlength based on column sizes https://github.com/jan-vandenberg/cruddiy/commit/f658b4afe79b66be5c83fab418fe033bc83119d4

I am not sure if I get around to the other requests, also what would "hint text for columns" look like?

jan-vandenberg avatar Oct 21 '20 18:10 jan-vandenberg

Hint text for columns would be like "This is what this column does". It would be separate from the display name of the column and let you explain what it's used for to the end user.

sudofox avatar Oct 23 '20 21:10 sudofox

Hint text for columns would be like "This is what this column does". It would be separate from the display name of the column and let you explain what it's used for to the end user.

You mean as in a placeholder field for HTML? or as in a hover style popup with more information?

CFCEO avatar Nov 28 '20 10:11 CFCEO

Add hint text for columns Show datatype for columns, maybe allow some loose validation in the form

@sudofox PR under review: https://github.com/jan-vandenberg/cruddiy/pull/19

germain-italic avatar Apr 05 '21 20:04 germain-italic

This worked for me the first time and stoped working later

Tell me what to do

igorcb123 avatar Mar 21 '23 20:03 igorcb123

From now on, you've the datatypes:

germain-italic avatar Dec 03 '23 11:12 germain-italic