Improve transaction list for GraphQL requests#805
Conversation
|
Great library people, hope this is useful and we can release it soon |
Ohh @cortinico Thanks! I saw #70 because I come from the issue, but didn't spot #800 when I start to do these changes! I'm happy to move with 800 if @alkber wanna fix the issues open there. I'm happy to close this one. From another point of view, my implementation is a simple one and since the tests passed(if the code is valid) we could merge and use the 800 as an iterative improvement. I see that my sample implementation differs from the other PR too because I'm using a real schema from the guides, would be interesting to know what will be the best solution. That said, any of the solutions work for me if we can put them to work =D. Let me know @alkber |
Hi @cortinico , isorry i was really busy with personal work and couldn't address the comments in PR #800. I believe @Canato approach is more generic and neat than mine as i read the code, and he has decorated the PR with more test cases too.. You may close PR #800 and use this one. However I have a small suggestion, to @Canato PR. If the UI item can be updated to the way PR #800 does then it would be much appreciated and visually appealing. @Canato can you take it up? you can reuse my work in your code. |
|
If @cortinico is ok I can update the UI to use the graphql icon and add a new line ^^. Thanks @alkber |
|
@cortinico news on this? =D |
cortinico
left a comment
There was a problem hiding this comment.
Great stuff! Thanks for doing this. Sorry for the late review 🙏
Let me know if you need some help integrating the changes I suggested
There was a problem hiding this comment.
Please add a #!/bin/bash on top
There was a problem hiding this comment.
Just curious, but wouldn't we need to include a check for this parameter in the fun hasTheSameContent()?
|
Any news on this? Worth to solve the conflicts ? |
Yes, worth solving. Let's make it happen. |
|
Thanks @cortinico how do we know when will be the next release or if this will be available in a snapshot? |
|
No sorry we don't have an ETA at the moment. I'm looking into wrapping up the work for a 4.x. |
|
No issues, Thanks! =D |

Close #69
Close #116
🎥 Video
SVID_20220421_011146_1.mp4
📷 Image
after iterative improvement

📄 Context
Based on #69, #116 and a little on #579 we have a desire for a more clean list when using GraphQL.
This helps to debug who uses Graphql without changing normal okhttp requests
📝 Changes
Retrieve request header for transaction list and display it if is a GraphQl request and have the
operationName🛠️ How to test
On the Sample code, there is a new button
Do GraphQl Activitythat can be pressed for testing.⏱️ Next steps
Wanna be sure the code I add is following the library standards, open to suggestions!