Paginação Página de Categoria/Departamento
- Dominant language
- TypeScript
- Stars
- 28
- Forks
- 30
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 4
Description
Cenário:
Estou desenvolvendo a paginação da PLP de jasmine e em nenhum momento o botão "show-more" aparece, fui destrinchando e debugando até chegar no arquivo "wake/loaders/productListingPage.ts" onde os dados que criam/definem as funcionalidades da página em questão; O problema está no print:

Nesta loja eu limito a PLP a 6 produtos por paginação, no admin as props que definem a páginação inicial estão definidas como 0 mas a página sempre retorna 1. Preciso que a paginação ocorra para poder atender a regra de negócio.
Página:
"/escolar" (testada em localhost)
Repositório:
https://github.com/deco-sites/jasmine
Admin:
https://admin.deco.cx/sites/jasmine/
Branch:
feat/swdev-2908
Ambiente:
l-gonzaga
Integração:
Wake
Contributor guide
Research direction
Start in wake/loaders/productListingPage.ts and reproduce the issue on /escolar using the jasmine repository's feat/swdev-2908 branch. Check how the admin pagination props are read when the PLP is limited to 6 products per page. Done means the show-more button appears and pagination follows the configured initial values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100