Thermometer as field widget for core number fields

Created on 4 July 2022, over 2 years ago
Updated 28 March 2024, 8 months ago

That would be a powerful feature.

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡ΉAustria maxilein

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States chrisfromredfin Portland, Maine

    This is a neat idea! Do we think the "maximum" and all other config should come from the field formatter settings? So each time you use the formatter, you would choose the locale/currency, goal, etc?

  • πŸ‡¦πŸ‡ΉAustria maxilein

    If you want to use it as indicator for let's say funds raised:
    It would make sense to have views support. Then you could use views aggregation summing up multiple donations and format to output as a thermometer.
    Very nice.

    Goal on the field/view level:
    You could set a goal on the field formatter. But what happens if you get more donations than that? Because in the views scenario the individual donation may be much less than the aggregated sum.
    Maybe it is more clever to have an individual views formatter? I can't say.

    Anyway: Maybe one doesn't specify an absolute number, but a relative one. Like what is the equivalent of the goals 100%? e.g. field formatter value: 50 000. So then you'd have Label [100% equivalent] = Value [50 000]
    Then you could also display a higher amount than that and still show you have met the goal.

    And the same could go with maximum.

Production build 0.71.5 2024