qcoder icon indicating copy to clipboard operation
qcoder copied to clipboard

Add new codes via the field on edit screen

Open elinw opened this issue 6 years ago • 5 comments

Currently if you try to add a new code to the field and press the button to add the codes, the code is not rendered after the #. Ideally we should be able to add a code on the fly. @laderast Any thoughts on this?

elinw avatar Oct 18 '18 11:10 elinw

@elinw Let me think about this. I think it should be possible in two steps.

laderast avatar Oct 18 '18 13:10 laderast

@elinw - do you mean adding a code to the text manually, and then adding codes to that selection?

laderast avatar Oct 18 '18 15:10 laderast

Hello @laderast @elinw I work on this today, I added a simple form. I needed a new function + change the app. I have a proposal in the branch https://github.com/FrdVnW/qcoder/tree/rapid-add-code if you want to check/ or starting from that

FrdVnW avatar Oct 19 '18 18:10 FrdVnW

@laderast I'm pretty sure the bootstrap code that handles the field can return a new value. Right now if you try to add a new value in the field you get {#} inserted with no text, so then you can go manually add the text next to the #. But it would be better to capture the text and add it just as if it were an existing code.

elinw avatar Oct 21 '18 02:10 elinw

@FrdVnW Will look at that.

elinw avatar Oct 24 '18 05:10 elinw