View on GitHub
This user doesn't have any project on FeatHub yet.
||Column name validation
||It would be nice if the Admin UI validates that the name of a new field/column is valid. For example, prevent spaces.
That will help prevent errors
||Pull One-2-Many relations on API GET
||When retrieving entities (rows) with these:
it would be nice to have the option to include all One-2-Many rows in the response.
Let say I have a Table "Book" and a table "Book_Category". I then define a typical Many-2-One field in "Book" pointing to "Book_Category". So every time I add a book, I specify the Category. Pretty straightforward.
I also add (because Directus somehow needs it) the One-2-Many relation from Book_Category to Book.
What I think it would be useful is to have the ability to pull the Categories, and have each of them come with the list of books they include.
Of course this should be optional to avoid performance problems.
||Make relational setup easier (O2M & M2O)
||Somehow the platform now requires the O2M and M2O to be defined separately. Not sure why because I didn't take a look at how it is saved in the database.
In any case, once the M2O is defined, the O2M should be automatically there too. Or if it's not by design, they make it much easier to setup the O2M, like "Click here to generate the relation with table XXXX". Because all the info is already there.
This is somehow related to feature http://feathub.com/directus/directus/+56
And I believe also related to https://github.com/directus/directus/issues/1102
||API get rows by filters
||Possibility to get the rows of a table filtered by some value. Even consider the case of filtered by a O2M field (by ID perhaps)?
This is EXTREMELY useful. I couldn't find it yet, so if its there somewhere please let me know.
||Export table records form UI (eg: CSV)
||Ability to export records from a table to some standard format like CSV.
- export based on filters applied to the table
- export only selected columns