OpenEnergyPlatform / oeplatform

Repository for the code of the Open Energy Platform (OEP) website. The OEP provides an interface to the Open Energy Family
http://openenergyplatform.org/
GNU Affero General Public License v3.0
62 stars 19 forks source link

Scenario Bundles: model / framwork dropdown with abbreviations instead #1781

Open han-f opened 3 months ago

han-f commented 3 months ago

Description of the issue

I think for users of the scenario bundles it is easier to find models in a dropdown via the abbreviation than the full name of the model. Thus I want to suggest to query the abbreviations of models instead of their full names in the scenario bundles.

Ideas of solution

Describe possible ideas for solution and evaluate advantages and disadvantages.

Workflow checklist

jh-RLI commented 3 months ago

I agree, I have used the name because it is a mandatory field when users create a model fact sheet. Otherwise, only the user's contact email is mandatory. The field for the acronym is not mandatory and can therefore be empty.

I could do it here again as I did for the code that displays the name or acronym if it's available.

I give it an urgency level m as the functionality is there but could be improved.

han-f commented 3 months ago

Thanks. On the end of the model factsheets: Might it be a possibility to automatically fill the abbreviation field in the model factsheets with the name in case a user does not provide an abbreviation?

jh-RLI commented 2 months ago

I will try it this way. We can also make this field mandatory. But then we have to edit all factsheets where this field is empty. I assume that would take a bit of time.