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
61 stars 19 forks source link

Scenario Bundles: How to remove a label is not always clear to the user #1398

Open han-f opened 11 months ago

han-f commented 11 months ago

2023-10-13: project meeting

In case I have accidently added, for example an author, to a factsheet, I have no possibility to remove this information. While the "button" with this information has an edit "pencil" attached, the context menu that pops open does not contain the functionality to remove this information from the scenario bundle.

Edit @jh-RLI : Removing works in general (see comments below) But it is not always clear how to do it. Adding an remove icon to each of the labels would be good.

jh-RLI commented 10 months ago

That is confusing, I agree. Currently you can reopen the dropdown menu and uncheck the selected option to remove a label badge. We have also agreed to add a delete icon to the badge. @adelmemariani @bmlancien

stap-m commented 8 months ago

Is this still an issue?

jh-RLI commented 8 months ago

It is possible to remove "labels" or "badges" such as year or author by deactivating the option in the selection list. But there is more to this problem.

I think we should add a "bin" icon to the badges (after a option was selected from dropdown).

Remark: After testing this feature, I realised that we might be mixing things up here.

  1. we want to add a property to the scenario bundle (such as an author or a year, like I did with 2030 below) image
  2. now a badge with a pencil icon is visible. This icon opens a dialogue in which you can edit exactly this entry in the oekg, which then leads to a change for all bundles that use this entry. This is a bit confusing.

The solution?

Well, I'm not 100% sure:

My logic is that the user will better understand that they can edit the available options from the oekg if they see all the available options in the dropdown. And the user will understand that they can remove options that they have selected for that particular scenario bundle.

jh-RLI commented 8 months ago

I think i accidently removed the 2030 option. I clicked on the pencil icon and then clicked save without changing anything and now it appears to be empty. @adelmemariani image

I think it's too easy to fiddle with the oekg entries here. Sure we are working on access control, but it will still be difficult to make consistent changes to entries.

jh-RLI commented 7 months ago

We have deactivated the editing function for the time being. Removal remains the same: you can remove badges such as the scenario year by deselecting them in the drop-down menu.

jh-RLI commented 3 months ago

We want to add a delete icon to each pill. This will enhance usbility.