Bible-Translation-Tools / USFM-Converter

Tool for converting USFM to readable formats like HTML and DOCX
4 stars 3 forks source link

Allow Changing Files Order #48

Closed AnonymousWalker closed 3 years ago

AnonymousWalker commented 3 years ago

We shouldn't be allowing people to change the order of these scripture files. The better way to do this is to look at the metadata of the USFM files and then set the order in that way.

@rbnswartz this request comes from our product owner (#48). I don't have a strong opinion to that. There could be the case when usfm files are added separately, which could have incorrect order.

PurpleGuitar commented 3 years ago

It looks like you implemented this using a set of up/down buttons. Would it be possible to implement drag-and-drop, where the user can change the order of columns just by clicking them and moving the mouse?

AnonymousWalker commented 3 years ago

It looks like you implemented this using a set of up/down buttons. Would it be possible to implement drag-and-drop, where the user can change the order of columns just by clicking them and moving the mouse?

@PurpleGuitar, @Thundelly and I did a spike on that (drag and drop ~ similar) for a couple hours and didn't have any outcome at all. There seemed to have some limitation in retrieving pointer position from the mouse drag event and similar things in the framework. I think we can temporarily have the up/down buttons that way and let's see whether there is a need to invest more time on it or not.