cbouy / mols2grid

Interactive molecule viewer for 2D structures
https://mols2grid.readthedocs.io
Apache License 2.0
206 stars 25 forks source link

Responsive redesign #55

Closed themoenen closed 11 months ago

themoenen commented 11 months ago

Major refactoring

Small improvements

Bug fixes

cbouy commented 11 months ago

I fixed some of the tests but there are a couple more that I need to go through so the pipeline might still fail, will try to go through the rest either monday or wednesday

codecov[bot] commented 11 months ago

Codecov Report

Merging #55 (07f3aad) into master (2d3f2c9) will decrease coverage by 0.30%. The diff coverage is 92.30%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #55 +/- ## ========================================== - Coverage 90.43% 90.14% -0.30% ========================================== Files 10 10 Lines 523 538 +15 ========================================== + Hits 473 485 +12 - Misses 50 53 +3 ``` [![Impacted file tree graph](https://app.codecov.io/gh/cbouy/mols2grid/pull/55/graphs/tree.svg?width=650&height=150&src=pr&token=QDI1XQSDUC&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=C%C3%A9dric+Bouysset)](https://app.codecov.io/gh/cbouy/mols2grid/pull/55?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=C%C3%A9dric+Bouysset) | [Files Changed](https://app.codecov.io/gh/cbouy/mols2grid/pull/55?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=C%C3%A9dric+Bouysset) | Coverage Δ | | |---|---|---| | [mols2grid/molgrid.py](https://app.codecov.io/gh/cbouy/mols2grid/pull/55?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=C%C3%A9dric+Bouysset#diff-bW9sczJncmlkL21vbGdyaWQucHk=) | `92.41% <91.66%> (-0.57%)` | :arrow_down: | | [mols2grid/callbacks.py](https://app.codecov.io/gh/cbouy/mols2grid/pull/55?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=C%C3%A9dric+Bouysset#diff-bW9sczJncmlkL2NhbGxiYWNrcy5weQ==) | `95.45% <100.00%> (ø)` | | | [mols2grid/dispatch.py](https://app.codecov.io/gh/cbouy/mols2grid/pull/55?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=C%C3%A9dric+Bouysset#diff-bW9sczJncmlkL2Rpc3BhdGNoLnB5) | `60.71% <100.00%> (ø)` | | | [mols2grid/utils.py](https://app.codecov.io/gh/cbouy/mols2grid/pull/55?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=C%C3%A9dric+Bouysset#diff-bW9sczJncmlkL3V0aWxzLnB5) | `98.11% <100.00%> (ø)` | |
cbouy commented 11 months ago

Okay the test pipeline should pass now and the docs build as well. I just have two nitpicky comments which are related:

image
cbouy commented 11 months ago

Edit: I took care of the background, I still need to update a few things (updating the changelog and the demo image, hopefully today) before merging. I'll take care of the info button update as well this weekend if I have time, then merge and prerelease so that people can give it a go before the actual release!

cbouy commented 11 months ago

Thanks again @themoenen for the awesome contribution!

themoenen commented 9 months ago

I'll make sure to implement the info button feedback, but I may wrap this up with some other improvements that come out of testing later, so for now I will have to put this aside.