libreant
libreant copied to clipboard
handle list insertion during item submission
see the following discussion for more info https://github.com/insomnia-lab/libreant/pull/22#issuecomment-70121998
http://sliptree.github.io/bootstrap-tokenfield/ Seems nice.
Yep! I prefer the "twitter typeahead" kind, where you can also use spaces. You can even edit already inserted token, just double clicking on it (or pressing your left arrow to "select" it, then pressing enter to edit it).
I ve no idea you re talkng about, please do it!
@g3-3k who do you refer with "you"? If that's me, then I was picking my favourite from https://sliptree.github.io/bootstrap-tokenfield/
My favourite is the second, Using Twitter Typeahead. Since this issue is mostly about userinterface, your opinion would be important. Oh, why don't you try to do something about this issue? I can give you some support, if you so prefer.
I set 0.3 as the milestone for this just to show that I am committing in doing this. @g3-3k I will be glad to do this together with you. But I would also like to do it in the next week, so please, confirm or drop this so I can get organized.
Can we postpone this to the next release?
Yes (and it's partially my fault that it wasn't closed).
@ael-code ok I started working on it. I can just say WTF! Can you help me in understanding the flow of it all? I'll put some issues here.
- I would have expected that the form is validated. Indeed, it is not, see #121
- I have fixed that, if you are ok on fixing it at the webant layer ( 33511964b9a )
- ... but even if I do, how can I get each property to parse raw data to get a more meaningful data?
PresetManager.validate
does not return data ready to be pushed to archivant, which is what I would have expected. I can try to do this, but do you think it is good design? Or do you see a better way?
I think I have done most of it, see c1de81f39af0
Things to do:
- nice ui with typeahead
- autocompletion
Maybe it makes sense to have a first stop here merging this, and proceed later with more niceness?