Skip to content
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

[WAKE] previous page button #863

Merged
merged 5 commits into from
Oct 1, 2024
Merged

Conversation

lucas-social
Copy link
Contributor

continuation of PR #859

"previous page" button was replicating the same products on the tested page and did not change the parameter as it repeated the current page

Copy link
Contributor

Tagging Options

Should a new tag be published when this PR is merged?

  • 👍 for Patch 0.59.9 update
  • 🎉 for Minor 0.60.0 update
  • 🚀 for Major 1.0.0 update

Co-authored-by: Matheus Gaudencio do Rêgo <matheusgr@users.noreply.github.com>
@matheusgr
Copy link
Contributor

matheusgr commented Sep 24, 2024

@lucas-social thanks for the changes.

Has the hasPreviousPage work as expected when pageOffset is zero?

const hasPreviousPage = page > 1;

@lucas-social
Copy link
Contributor Author

hey Gaudêncio, I’m still doing some tests but without success. i think it would be interesting to have closer contact since this is affecting my project and could impact its delivery. what do you think?

@viktormarinho
Copy link
Contributor

viktormarinho commented Oct 1, 2024

Seems to be working with the current code, but a bug was found in the process of writing the .deco json files. when the json value was 0, deco did not seem to write it. Probably a bug either on our admin or ir our daemon, in some check for a falsy value.

Lucas could follow by now by editing the json directly.

@matheusgr

@viktormarinho viktormarinho merged commit 2d33d44 into deco-cx:main Oct 1, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants