Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Configurable Column Presentation in Content View #705

Open
tdotclare opened this issue Apr 23, 2020 · 0 comments
Open

Feature Request: Configurable Column Presentation in Content View #705

tdotclare opened this issue Apr 23, 2020 · 0 comments

Comments

@tdotclare
Copy link

I love Postico's subquery popups for foreign keys in content views, but it would be FANTASTIC if it could go one step further and allow aliasing of how that column is presented in column view; eg, if, as is common, the key is on an integer or uuid, to let you alias that column's presentation as a different column from the referenced table (italicized or somehow otherwise graphically adjusted to reflect that it's not the true value of the column).

Obviously this is non-trivial since you're effectively doing a join for every content view but would be a huge readability & entry time-saver, especially for heavily-normalized schema.

While you can achieve similar results by setting up views in the DB itself, there are many advantages to not creating permanent schema in the DB purely for presentation/utility reasons, and then having to limit or otherwise scope access for what's a convenience for one user.

Even better would be if this was configurable by way of a bi-directional data handler function, to allow other aliasing/presentation step transformations. Extensibility could then allow other things like, for instance, configuring a column that stores image urls to actually show the image :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant