-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Coordinate the infographics main screen with the newsflash list #1051
Comments
Today api haven't indication about pagination. Api receive only offset and limit. To achieve this feature we need to add full pagination control to api request. As well in this case we need bi direction pagination. api params to add:
api response should include:
|
Hi @SejoB , |
Hi @SejoB , |
@ziv17 from my understanding, when |
Sounds good to me |
@ziv17 Just to make sure we're aligned with current functionality (that will either be changed or deprecated if we'll use And there is no option to fetch additional newsflashes using limit. |
Hi @SejoB , @atalyaalon
After the transition period, the current out format, and the parameters |
1-4 OK @ziv17 all in all looks good. Please make sure performance stays the same with these changes (for example, when adding calculations like 7a). |
Also, Regarding This can be implemented differently of course, what ever seems right to both of you, as long as we're consistent. |
Hi, Regarding performance: This calculation requires two queries, so it will take more time. It is possible to do it in a single combined select statement (as I saw on the web) but I do not understand the syntax of that query, so I am reluctant to use it. |
The pagination API is different from the current API. It works with pages rather than offset. I do not think there is a conflict since these are two different sets of parameters.
Regarding implementation of API:
I suggest to go for option (3) above (not placing the requested record at the middle of the page). It is:
What do you think? |
Hi, @atalyaalon , @SejoB |
I'm good with option 3. @SejoB any thoughts? |
Yes |
OK. |
Hi @atalyaalon , @SejoB I have issued a PR |
@SejoB great work! (And of course @ziv17 great work as well!) I merged into dev. All in all looks very good. @SejoB There is only a small bug (using Chrome browser on mac) Attaching video. Can you please fix this on your time? Screen.Recording.2024-11-28.at.19.28.42.mov |
@SejoB In addition to the bug above that needs to be fixed, there is a major bug when shifting between sources. See respective video: Screen.Recording.2024-12-18.at.13.57.21.mov |
Describe the bug
There is a mismatch between the infographics screen and the news flash list on the right.
The problem exists in several flows, therefore it is described in general terms.
To Reproduce
https://anyway-infographics-staging.web.app/newsflash/184863
Expected behavior
The text was updated successfully, but these errors were encountered: