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

Ability to rename (or alias) columns #74

Open
j-osephlong opened this issue Aug 29, 2024 · 3 comments
Open

Ability to rename (or alias) columns #74

j-osephlong opened this issue Aug 29, 2024 · 3 comments

Comments

@j-osephlong
Copy link

It would be nice if we could rename / alias columns to be more readable at a glance, especially when sharing the results of it via the sharable link or google sheets import.

@tolomea
Copy link
Owner

tolomea commented Aug 29, 2024

At what sort of scope would you want that? just a thing you do in the FE? persisted for the user? or something on the model/admin that applies to everyone always?

It's not the same but FYI it does respect verbose_name on the model fields and model meta.

@j-osephlong
Copy link
Author

Say I have a saved query on the data-browser app. Maybe it has an aggregation of some field that, for one reason or another, isn't immediately clear to a layman what it represents (especially to someone viewing it as a csv public link). It would be awesome if in the react app, I could right click a column or pivot header, and set an alias for the that header that better expresses what it means. This would save onto the model, maybe in a textfield of the format "{field}={alias},{field2}={alias2}" (I'm just spitballing here).

This would then apply to anyone viewing the query through the react app or a public view.

@tolomea
Copy link
Owner

tolomea commented Sep 11, 2024

Thank you, having the specific usecase like this is very helpful

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

2 participants