Goonstation Forums
[FEATURE] Update Pathogen Splice UI - Printable Version

+- Goonstation Forums (https://forum.ss13.co)
+-- Forum: Discussion (https://forum.ss13.co/forumdisplay.php?fid=6)
+--- Forum: Patches (https://forum.ss13.co/forumdisplay.php?fid=30)
+---- Forum: Implemented (https://forum.ss13.co/forumdisplay.php?fid=31)
+---- Thread: [FEATURE] Update Pathogen Splice UI (/showthread.php?tid=7011)



[FEATURE] Update Pathogen Splice UI - ihenn - 09-05-2016

Allows splicing to feel more like splicing, and less about clicking 50 times.

The user can select a range DNA sequences to add and remove by clicking the start and end arrows.
This is a huge quality of life improvement in my opinion, and should make pathology a little less tedious.

My editor did some auto formatting to the files, but here is a link to the compare: https://github.com/goonstation/goonstation-2016/compare/master...BHennen:update-path-splicing
The gist of the changes is instead of manipulating a single DNA sequence, you manipulate the start and end pointers, adding or removing everything inbetween. Also did some minor visual updates (removed vertical scrollbars; made sequence text box tall enough for the characters).

Here is an example:
[Image: 1zus6q.jpg]

And after I click the "After" button:
[Image: 1e6r85.jpg]


RE: [FEATURE] Update Pathogen Splice UI - Noah Buttes - 09-06-2016

Holy crap that's neat.


RE: [FEATURE] Update Pathogen Splice UI - Erev - 09-06-2016

Removed.


RE: [FEATURE] Update Pathogen Splice UI - ferriswheel1 - 09-07-2016

Super neat and useful. Well done!


RE: [FEATURE] Update Pathogen Splice UI - ihenn - 09-18-2016

Made some UI changes, and cleaned up the code a bit.
Now users can drag the starting and stopping points. Looks cleaner than the other version and it functions in the same way.
Uses the same compare link as provided in the first post.

[Image: k46nma.jpg]


RE: [FEATURE] Update Pathogen Splice UI - ZeWaka - 09-18-2016

Can you clean up your tabs and spacing differences so they align with current Goonstation code?


RE: [FEATURE] Update Pathogen Splice UI - ihenn - 09-19-2016

Yes zewaka, sorry about that. I undid the auto-formatting done by my editor to the CSS and JS files. Should now be clearer to see the changes.