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

Display Properties #24

Closed
lukasspettel opened this issue Oct 25, 2024 · 4 comments
Closed

Display Properties #24

lukasspettel opened this issue Oct 25, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@lukasspettel
Copy link

It would be amazing to have an option to display custom properties defined in tandoor (nutritional value, etc).

Here is how its currently displayed in Tandoor:

327084496-14345363-83dc-4b0e-9d44-f950dcacdb41

@aimok04 aimok04 added the enhancement New feature or request label Oct 25, 2024
@aimok04 aimok04 self-assigned this Oct 25, 2024
@aimok04
Copy link
Owner

aimok04 commented Oct 26, 2024

Hey @lukasspettel 👋

Since I had some spare time and also thought it would be a good addition, I added it.
It works similarly to the Tandoor card.

Again: Although I have already tested this, it would be great to hear from you if this also works with your data as expected :)

image

@lukasspettel
Copy link
Author

Looks amazing, thank you! One more question: Could you change formatting to decimal numbers or make fractions optional in the settings for this card? Would increase readability for some custom properties (e.g. price).

Screenshot_20241029_144143_kitshn

@aimok04
Copy link
Owner

aimok04 commented Oct 29, 2024

Hi, yeah good idea. Going to add this for the next release!

@lukasspettel
Copy link
Author

Hi, thank you for adding the ability to display decimal numbers. It would be great if you limit it to two? decimals for easier readability:

Screenshot_20241105_100836_kitshn

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

No branches or pull requests

2 participants