Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[FEATURE] Update Pathogen Splice UI
#1
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/goonstati...h-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]
Reply
#2
Holy crap that's neat.
Reply
#3
Removed.
Reply
#4
Super neat and useful. Well done!
Reply
#5
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]
Reply
#6
Can you clean up your tabs and spacing differences so they align with current Goonstation code?
Reply
#7
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)