Closed jaredkhan closed 2 days ago
@jaredkhan looks brilliant - thanks for posting.
Great, shall I merge this now @lentinj ?
Let's hold off, I found a bad issue. It works great on my external monitor, but on my laptop's monitor, it starts flashing like crazy and the site is essentially unusable. If you can't repro, let's work together to try to figure this out.
I found a small regression: with the new code, I need to zoom in significantly more on a leaf before it makes it to the URL. It doesn't happen until the leaf fills the entire screen, which is not something that would normally happen.
I found a small regression: with the new code, I need to zoom in significantly more on a leaf before it makes it to the URL. It doesn't happen until the leaf fills the entire screen, which is not something that would normally happen.
Hmmm, for some reason I don't see this now! Maybe it has to get into that state somehow. If no one else sees this, maybe we can ignore it (but I did see it! 😃)
Hmmm, for some reason I don't see this now! Maybe it has to get into that state somehow.
You're not making this up! This is definitely possible, but I'd be very surprised if it was a related regression. This is most likely largest_visible_node
/ https://github.com/OneZoom/OZtree/issues/547 tripping you up. "Visible" in this case may just be the invisible corner of the bounding box.
You're not making this up! This is definitely possible, but I'd be very surprised if it was a related regression. This is most likely
largest_visible_node
/ #547 tripping you up. "Visible" in this case may just be the invisible corner of the bounding box.
Ah, good to know. Then let's definitely ignore it in the context of this change.
@lentinj is there anything needed before we can get his one approved? I think @hyanwong is waiting for this to kick off a new release. Thanks!
@davidebbo glancing at the code it looks good to me, but I'd like to play with it first if there's time. I've tried to merge the 2 chunks of canvas-size-setting-code in the past and failed, if I can remember why it'd be good to see if it's still an issue.
@lentinj Yep, makes sense to take the time to play with it based on your previous experience.
I'm just eager as once I played with it on my big 4K monitor, there is no going back! 😄
Fixed a regression with the 'life_expert' page's screenshot tool where it was not clipping the result correctly. Just applied the same scale factor to that.
I'm keen to merge this: do you think it's ready @lentinj? There currently seems to me a conflict in renderer.js
though?
Indeed there is a conflict. As far as I can see, refresh_by_image
is not used, and probably doesn't need to be in this PR. Right @jaredkhan ?
Yeah that’s right @davidebbo. That function (which required updates in this PR) was removed by another PR that was merged recently. So just scrap that function now.
Re merging this: can always revert it if there is something glaring that we’re missing?
Re merging this: can always revert it if there is something glaring that we’re missing?
Yes. Also, we can start by putting this in the extinct tree which has a much smaller audience. And maybe the beta site? Then if we don't see issues after a few days of playing with it, we can pull it in the main site.
Definitely we can merge it and test on the extinct tree and then beta.onezoom.org too. I'm happy to press "merge" if we all thing this is generally fine.
(but could you fix the merge conflict before I merge, @jaredkhan? - thanks)
Conflicts resolved @hyanwong
Thanks so much for this @jaredkhan . Such great work. It is now merged and is the version running the extinct tree at https://www.onezoom.org/extinct/life/ if you want to try it out.
Wicked, thanks for the feedback everyone. New extinct tree is looking great with all those images!
Resolves #891
Before
After