Skip to content

Fix : Mobile community layout, menu close on navigation, and dropdown auto-close#350

Merged
calvadev merged 2 commits intoshopstr-eng:mainfrom
Aryan0699:fix/ui_2
Apr 7, 2026
Merged

Fix : Mobile community layout, menu close on navigation, and dropdown auto-close#350
calvadev merged 2 commits intoshopstr-eng:mainfrom
Aryan0699:fix/ui_2

Conversation

@Aryan0699
Copy link
Copy Markdown
Contributor

Description

Resolves navigation and responsive UI issues in the Communities, My Listings, and profile dropdown flows.

Fixes :

  • Community cards now use full-width sizing on mobile so they fill grid columns cleanly and no longer appear left-constrained.
  • Mobile top-nav now closes immediately when navigating to Communities from the hamburger menu.
  • Duplicate Add Listing and Edit Shop buttons in the 640px to 768px range were removed by aligning mobile visibility breakpoints with side-nav visibility.
  • Profile dropdown items now use NextUI press handlers so the dropdown closes automatically after selecting actions like Shop Profile, Profile, Settings, and Log Out.

Resolved or fixed issue

Fixes #344

Screenshots (if applicable)

Before

Screenshot from 2026-04-05 21-35-33 Screenshot from 2026-04-05 21-35-01 Screenshot from 2026-04-05 21-37-04

After

Screenshot from 2026-04-06 01-57-48 image Screenshot from 2026-04-06 01-58-16

Affirmation

…nity in mobile view and fixed community layout
Copilot AI review requested due to automatic review settings April 5, 2026 20:53
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 5, 2026

@Aryan0699 is attempting to deploy a commit to the shopstr-eng Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Copy Markdown
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

Note

Copilot was unable to run its full agentic suite in this review.

Fixes several responsive/navigation UX issues across Communities, My Listings, and the profile dropdown—especially on mobile.

Changes:

  • Make Community cards fill their grid column width (improves mobile layout).
  • Close the mobile hamburger menu immediately when navigating to Communities.
  • Update profile dropdown items to use NextUI onPress and control open state to auto-close after actions.

Reviewed changes

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

Show a summary per file
File Description
components/utility-components/profile/profile-dropdown.tsx Controls dropdown open state and switches item handlers to onPress to auto-close on selection
components/utility-components/profile/tests/profile-dropdown.test.tsx Updates NextUI mocks to align with onPress usage and adds missing icon mock
components/nav-top.tsx Closes mobile menu when navigating to Communities
components/my-listings/my-listings.tsx Adjusts breakpoint visibility to remove duplicate buttons between 640px–768px
components/communities/CommunityCard.tsx Changes card width to fill available space (intended for mobile)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread components/communities/CommunityCard.tsx
Comment thread components/utility-components/profile/profile-dropdown.tsx Outdated
Comment thread components/utility-components/profile/profile-dropdown.tsx
Comment thread components/utility-components/profile/profile-dropdown.tsx
@GautamBytes
Copy link
Copy Markdown
Contributor

LGTM

@calvadev calvadev merged commit ef316be into shopstr-eng:main Apr 7, 2026
1 check failed
@Aryan0699 Aryan0699 changed the title fix(navigation-behavior): mobile community layout, menu close on navigation, and dropdown auto-close Fix : Mobile community layout, menu close on navigation, and dropdown auto-close Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants