libreant icon indicating copy to clipboard operation
libreant copied to clipboard

handle list insertion during item submission

Open ael-code opened this issue 10 years ago • 9 comments

see the following discussion for more info https://github.com/insomnia-lab/libreant/pull/22#issuecomment-70121998

ael-code avatar Jan 15 '15 19:01 ael-code

http://sliptree.github.io/bootstrap-tokenfield/ Seems nice.

ael-code avatar Jan 16 '15 02:01 ael-code

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).

boyska avatar Jan 16 '15 08:01 boyska

I ve no idea you re talkng about, please do it!

cocconat avatar Oct 05 '15 10:10 cocconat

@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.

boyska avatar Oct 05 '15 15:10 boyska

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.

boyska avatar Nov 22 '15 23:11 boyska

Can we postpone this to the next release?

ael-code avatar Dec 17 '15 17:12 ael-code

Yes (and it's partially my fault that it wasn't closed).

boyska avatar Dec 17 '15 17:12 boyska

@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.

  1. I would have expected that the form is validated. Indeed, it is not, see #121
  2. I have fixed that, if you are ok on fixing it at the webant layer ( 33511964b9a )
  3. ... 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?

boyska avatar Dec 21 '15 08:12 boyska

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?

boyska avatar Dec 21 '15 09:12 boyska