-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: Make UI copiable mutation summary nicer #735
Comments
Not sure how to even approach that. There's some heavy html markup, including tables, involved. I have yet to encounter a website where copying something like that looks good. The result probably also depends on how browser and OS interact with each other. And perhaps even on where you paste that. For example if you paste something like that into MS Word on Windows, it may preserve the tables. One could add a dedicated "copy" button with carefully generated text. But the text generation code will duplicate a lot of code of the displayed markup, so twice the code to write and maintain. And eventually the 2 places will diverge. There might be some tricks people have come up with over the years. Needs some googling. |
I see, hmm, copying just the mutation badges seems to work. I get something like this which is quite ok:
Problems start when you copy the heading or extend beyond just a set of badges. |
It's a little miracle of technology and I don't know why that happens and where these pretty When I copy on my Linux machine from Chromium, it appears without these symbols:
|
It's pasted as a markdown table, at least into this little boxy box here on Github.
If I press shift, it pastes without formatting, perfect! C300T C5643T T7302C G12793T A13428G |
Right now, when I copy all of the text of the mutation tooltip, it isn't really as nice as it could be.
Once #734 is implemented, it would be nice to clean up the way that copiable text appears after pasting.
This is what it looks like right now (with code fences, otherwise markup gets messed up with all the
|
)There seems to be quite some duplication (because presumably you never intended this text to be neat after copying).
The text was updated successfully, but these errors were encountered: