tum-esi / wade

WoT API Development Environment built on top of thingweb.node-wot
https://www.ei.tum.de/en/esi/home/
MIT License
25 stars 6 forks source link

[Thing Description Interface] Input Button -> click outer div #32

Open egekorkan opened 4 years ago

egekorkan commented 4 years ago

Low Priority, only an UI improvement.

from Readme.md:

(+) Interaction Selection (UI): Input Button -> only click on outer div

Detailed explanation: In TD/TD-Editor: when the given TD is parsed and buttons for each interaction (props/actions/events) are generated, these buttons (and therefor the attached interaction) can only be selected when the user clicks on the small circle on the button. Same with deselection. Only a click on the checked circle can deselect. The improvement would be to make the whole button clickable and trigger selection with that.

egekorkan commented 4 years ago

I find it a good idea since it would mean that there would be a bigger thing to click to and that we would win space to put more/longer title. However, there has to be a way to indicate that this is clickable and then show the state of being selected or not. Minimalism (?) can actually hurt in this case.