Refactor Game Catalog post-catalog: compact benefits, reviews, How-it-works and actionable CTA#78
Open
Andrey1771 wants to merge 18 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
tale-gameshop/src/components/game-list-page/catalog-post-sections.tsxand replaced the inline blocks ingame-list-page.tsxwith<CatalogPostSections />.Secure checkout,Instant key delivery,Refund policy,24/7 support), a refined reviews/rating block (rating + two review cards + breakdown), a 3-stepHow it worksblock, an action-focused CTA banner (Still choosing?) and a short footer micro-copy.Most PopularsetssortBy=popular, clearsdiscountedand resetspage=1;View Dealssetsdiscounted=1andpage=1; both smooth-scroll to the catalog area viacatalogSectionRef.scrollIntoView({ behavior: 'smooth' }).discounted=1ingame-list-page.tsxso deals are produced from real game fields (discountActive,finalPrice,price) anddiscountedis included in filter/reset flows (clearAllFiltersdeletesdiscounted).catalog-layout,catalog-grid, search input, filters sidebar, sorting UI, pagination, game card data and cart/wishlist/link behaviors were not modified.Testing
npm run buildin thetale-gameshoppackage which failed in the environment due to missing dev tooling (sh: 1: cross-env: not found).npm run lintwhich failed due to missingtslint(sh: 1: tslint: not found).discountedfiltering is implemented through URL params and was exercised locally in-code review (handlers and param patching added).Codex Task