nowinandroid icon indicating copy to clipboard operation
nowinandroid copied to clipboard

Add swipe gesture to Tabs in Interests screen

Open Dark-Knight11 opened this issue 3 years ago • 11 comments

closes #53

I have used Horizontal Pager from the Acompanist Library to implement this swipe feature.

https://user-images.githubusercontent.com/55763604/170365872-0d3e3ae7-0057-4fad-bd48-ba8af13a51b3.mp4

Dark-Knight11 avatar Jun 08 '22 22:06 Dark-Knight11

Can you run ./gradlew spotlessApply to fix the formatting issues in the code?

JolandaVerhoef avatar Jun 09 '22 16:06 JolandaVerhoef

LGTM with a minor nit comment, also needs to resolve the conflicts and it's good to go :) thank you!

simona-anomis avatar Jun 24 '22 11:06 simona-anomis

Would it be possible to fix the conflicts and the build? Behavior-wise this PR looks great, so let's try to get it merged!

JolandaVerhoef avatar Jul 25 '22 10:07 JolandaVerhoef

I fixed the conflicts but I have no idea about the error that appeared in the workflow. I don't think it is because of my code.

Dark-Knight11 avatar Jul 25 '22 17:07 Dark-Knight11

Your changes introduced some code formatting issues which are being flagged by spotless. This is causing the build to fail. Please run: ./gradlew spotlessApply to fix these issues.

dturner avatar Jul 29 '22 13:07 dturner

@dturner can you please look into it now?

Dark-Knight11 avatar Aug 11 '22 16:08 Dark-Knight11

There seems to be a failing UI test. We'll have to investigate before we can merge.

JolandaVerhoef avatar Aug 22 '22 08:08 JolandaVerhoef

Apologies for letting this go unmerged for so long. If you could just fix the merge conflicts I will merge asap.

dturner avatar Nov 11 '22 16:11 dturner

Hi @dturner I have resolved the conflicts. Kindly look into it.

Dark-Knight11 avatar Nov 11 '22 18:11 Dark-Knight11

@Dark-Knight11 amazing, thanks.

dturner avatar Nov 11 '22 19:11 dturner

Hi I was also able to reproduce the error locally. I'm not understanding it though, like why tab is not being displayed during test. I haven't worked with UI testing before so I'm not sure on how it works. Do I need to rewrite the test code or do I have to make changes in my swipe implementation. Because in the app it works smoothly but the failing for test specifically.

Dark-Knight11 avatar Nov 12 '22 17:11 Dark-Knight11

Sorry for all the back on forth on this PR. In the end we decided to remove authors as it wasn't adding a lot of user value, which makes this PR redundant. We'll try to find somewhere else in the app where we can use tabs to show off the swipe gesture.

Thanks again for your contribution.

dturner avatar Dec 21 '22 18:12 dturner