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

Column support for currency kind of values #15169

Open
kartik1000 opened this issue Apr 8, 2019 · 7 comments
Open

Column support for currency kind of values #15169

kartik1000 opened this issue Apr 8, 2019 · 7 comments
Labels
enhancement A feature request for improving phpMyAdmin ui Issues relating to the user interface

Comments

@kartik1000
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Few days back while working in some hackathon, I realised that nowadays we often use databases, for say storing amount of certain items, something like what Amazon does but seeing the amount of different items as simple integral values is a bit frustrating as neither does one get to understand if it is amount of something or in which currency type has the amount been stored in the database.

Describe the solution you'd like

Personally, I would love to have a clear distinction between normal integer type columns and currency type columns either using different column headers and adding currency sign say '$' against each entry. Actually other ideas are also welcomed on how we can make them more distinctive.

Possible Solution

One of the solutions or enhancements to it can be made by adding a transformation plugin as suggested to me by @williamdes

Additional context

  • phpMyAdmin version: 4.8.4
@williamdes williamdes added enhancement A feature request for improving phpMyAdmin ui Issues relating to the user interface labels Apr 8, 2019
@saurass
Copy link
Contributor

saurass commented Apr 8, 2019

Yeah that would be great, @kartik1000 , PMA already supports some transformation. It would be great if currency transformation is implemented.

We can even implement something like currency conversion in real time. We can use some APIs to convert a currency to other. It will enhance user experience.

@kartik1000
Copy link
Contributor Author

Yes, using an API for conversion definitely seems a great idea to me too @saurass. It will definitely be useful for users using database for market related activities.

@williamdes
Copy link
Member

@kartik1000 I am not sure that depending on an api is a good idea 😕
@ibennetch what do you think about that idea?

@kartik1000
Copy link
Contributor Author

@williamdes, is it because if the api host make some change into it then our converter/transformation might crash?

@saurass
Copy link
Contributor

saurass commented Apr 9, 2019

@williamdes, is it because if the api host make some change into it then our converter/transformation might crash?

Yeah maybe this is one of the reason.

This will surely enhance user experience, but also this isn't much of scope for phpMyAdmin project.

@williamdes
Copy link
Member

williamdes commented Apr 9, 2019

@kartik1000 Yes

  • Data leak
  • Api closing down
  • Api deprecation
  • Api changing to paid plan
  • Api not supporting currencies and then users posting issues to PMA

Lots of things like the points above

@kartik1000
Copy link
Contributor Author

@williamdes, I think transformation plugin idea would be better then and i think we can wait for @ibennetch review for this one

@williamdes williamdes added this to Triage zone in Enhancements Jan 23, 2020
@williamdes williamdes moved this from Triage zone to Blocked for some reason in Enhancements Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature request for improving phpMyAdmin ui Issues relating to the user interface
Projects
Enhancements
  
Blocked for some reason
Development

No branches or pull requests

3 participants