Skip to content

add points breakdown table and fix animation bugs#87

Merged
ashworks1706 merged 14 commits intomainfrom
commit-that-shit-v3
Mar 7, 2026
Merged

add points breakdown table and fix animation bugs#87
ashworks1706 merged 14 commits intomainfrom
commit-that-shit-v3

Conversation

@ashworks1706
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings March 7, 2026 04:15
@ashworks1706 ashworks1706 requested a review from a team as a code owner March 7, 2026 04:15
Signed-off-by: Ash Srivastava <85481905+ashworks1706@users.noreply.github.com>
@ashworks1706 ashworks1706 requested a review from benjuntilla March 7, 2026 04:18
@ashworks1706 ashworks1706 self-assigned this Mar 7, 2026
@ashworks1706 ashworks1706 added the bug Something isn't working label Mar 7, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the shop UI to make the points breakdown more accessible and refreshes some shop/points content presentation.

Changes:

  • Add a floating Points drawer (with a reusable points breakdown table) to all /shop/* pages via ShopLayout.
  • Update the shop hero carousel layout and add support for a configurable background video URL.
  • Simplify the points system page breakdown table and tweak shop category section visuals/layout.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/pages/Shop/ShopIndex.tsx Passes a videoUrl into ProductCarousel and adjusts hero section overflow behavior.
src/pages/PointsSystem.tsx Replaces the markdown points breakdown with a smaller “event type” table.
src/components/Shop/ShopLayout.tsx Injects PointsDrawer into all shop routes.
src/components/Shop/ProductCarousel.tsx Adds rightPanel support, changes layout, adds viewport-resize logic, and changes default videoUrl.
src/components/Shop/PointsDrawer.tsx New floating drawer component for points breakdown (desktop hover + mobile button UI).
src/components/Shop/PointsBreakdownTable.tsx New table component used by the drawer.
src/components/Shop/CategorySection.tsx Removes hover-only reveal behavior for product cards, adjusts title sizing, and adds a static section title.
Comments suppressed due to low confidence (1)

src/components/Shop/CategorySection.tsx:166

  • This comment says product cards are “hover on desktop”, but the updated container no longer applies the md:opacity-0 md:group-hover:opacity-100 behavior (cards are always visible on desktop now). Update the comment to match the new behavior (or reintroduce the hover-only classes if that’s still intended).
      {/* Product Cards - Always visible on mobile, hover on desktop */}
      <div className="relative z-10 p-3 md:p-4 lg:p-6 h-full pt-14 md:pt-14 lg:pt-16">

You can also share your feedback on Copilot code review. Take the survey.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Ash Srivastava <85481905+ashworks1706@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 7, 2026 04:20
ashworks1706 and others added 2 commits March 6, 2026 21:20
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Ash Srivastava <85481905+ashworks1706@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Ash Srivastava <85481905+ashworks1706@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated 5 comments.


You can also share your feedback on Copilot code review. Take the survey.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Ash Srivastava <85481905+ashworks1706@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 7, 2026 04:39
@ashworks1706
Copy link
Contributor Author

@copilot apply the suggestions.

Copy link
Contributor

Copilot AI commented Mar 7, 2026

@ashworks1706 I've opened a new pull request, #88, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.


You can also share your feedback on Copilot code review. Take the survey.

…88)

* Initial plan

* fix: add scope=col to th headers, fix PointsDrawer pin/hover/keyboard UX, remove unused import

Co-authored-by: ashworks1706 <85481905+ashworks1706@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ashworks1706 <85481905+ashworks1706@users.noreply.github.com>
@ashworks1706 ashworks1706 enabled auto-merge (squash) March 7, 2026 05:10
@ashworks1706 ashworks1706 removed the request for review from benjuntilla March 7, 2026 05:10
@ashworks1706
Copy link
Contributor Author

@SachinVenugopalan30 please stamp this

Copy link
Member

@benjuntilla benjuntilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need descriptive title

@ashworks1706 ashworks1706 changed the title Commit that shit v3 points breakdown table and animation bugs Mar 7, 2026
@ashworks1706
Copy link
Contributor Author

done

@benjuntilla
Copy link
Member

edited title to have action verbs

@benjuntilla benjuntilla changed the title points breakdown table and animation bugs add points breakdown table and fix animation bugs Mar 7, 2026
@ashworks1706 ashworks1706 merged commit 61ea035 into main Mar 7, 2026
5 checks passed
@ashworks1706 ashworks1706 deleted the commit-that-shit-v3 branch March 7, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants