Fix alwaysHandleTruncationTokenTap
Previously enabling alwaysHandleTruncationTokenTap would break passthroughNonlinkTouches as it didn’t check if the tap was in the additionalTruncationMessage.
Feature introduced here https://github.com/TextureGroup/Texture/pull/1520
Thanks for the fix, @ay8s. Would it be possible to have unit/snapshot tests to make sure we won't regress again?
Btw, there was a build failure that looks like a fluke so I re-ran them all 🤞
👍 I'll see if I get chance to circle back and add one. Right now I don't think we have any ASTextNode2 tests around link touches.
@ay8s have any luck looking into tests for this?
@jparise Not just yet. I'll take a look at it later this week hopefully.
@jparise Got halfway there, would love to perhaps pair in Slack how best to tackle testing this. Seems something could be added to both ASTextNode and ASTextNode2.
@jparise Got halfway there, would love to perhaps pair in Slack how best to tackle testing this. Seems something could be added to both ASTextNode and ASTextNode2.
I think @nguyenhuy would be the best person to guide you through this one.
@ay8s Feel free to ping me there with more details!
@ay8s have you gotten a chance to sync on the best way to write a test for this?
I've just pinged @nguyenhuy on Slack. We have quite a bit on with some upcoming features at Buffer which takes priority but will see if me and Huy can work on this soon.
@ay8s looks like it's just the CLA check which is blocking this. Mind signing that?
Is there any chance this could be merged, please?