Texture icon indicating copy to clipboard operation
Texture copied to clipboard

Fix alwaysHandleTruncationTokenTap

Open ay8s opened this issue 5 years ago • 12 comments

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

ay8s avatar Mar 26 '20 18:03 ay8s

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 🤞

nguyenhuy avatar Mar 26 '20 19:03 nguyenhuy

👍 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 avatar Mar 26 '20 20:03 ay8s

@ay8s have any luck looking into tests for this?

jparise avatar Apr 02 '20 00:04 jparise

@jparise Not just yet. I'll take a look at it later this week hopefully.

ay8s avatar Apr 02 '20 01:04 ay8s

@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.

ay8s avatar Apr 02 '20 02:04 ay8s

@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.

jparise avatar Apr 02 '20 02:04 jparise

@ay8s Feel free to ping me there with more details!

nguyenhuy avatar Apr 02 '20 06:04 nguyenhuy

@ay8s have you gotten a chance to sync on the best way to write a test for this?

jparise avatar Apr 07 '20 18:04 jparise

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 avatar Apr 07 '20 22:04 ay8s

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jan 31 '21 05:01 CLAassistant

@ay8s looks like it's just the CLA check which is blocking this. Mind signing that?

jparise avatar Feb 05 '21 17:02 jparise

Is there any chance this could be merged, please?

mohamede1945 avatar Oct 02 '21 20:10 mohamede1945