Skip to content

Fix #468#475

Merged
jbampton merged 5 commits intoNextCommunity:mainfrom
SaishWadnere:fix-metadata-layout-width
May 3, 2026
Merged

Fix #468#475
jbampton merged 5 commits intoNextCommunity:mainfrom
SaishWadnere:fix-metadata-layout-width

Conversation

@SaishWadnere
Copy link
Copy Markdown
Contributor

@SaishWadnere SaishWadnere commented May 3, 2026

Changes

  • Added min-w-28, max-w-40, and shrink-0 to the location/country metadata container in src/index.njk to prevent it from collapsing when name or role text is long
  • Added my profile to the developer directory

Context

The removal of shrink-0 in PR #466 caused the metadata badge to squeeze to its minimum width whenever the name or role text was long, leading to an awkward vertical stack of single words. This fix adds width constraints to maintain a balanced layout.

Add min-w, max-w, and shrink-0 to the location/country metadata container to avoid it collapsing when name or role text is long.

Addresses review feedback from PR NextCommunity#466.
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds a new user profile for Saish Milind Wadnere and updates the layout in src/index.njk to include width constraints and prevent shrinking on the location container. Feedback was provided to replace the arbitrary rem-based width values with standard Tailwind CSS spacing classes to maintain consistency with the framework's conventions.

Comment thread src/index.njk
@jbampton jbampton added this to the Turbo milestone May 3, 2026
@jbampton jbampton self-assigned this May 3, 2026
@jbampton jbampton added the good first issue Good for newcomers label May 3, 2026
@jbampton jbampton requested a review from Copilot May 3, 2026 09:26
@jbampton jbampton moved this to Review in progress in Next May 3, 2026
@jbampton
Copy link
Copy Markdown
Member

jbampton commented May 3, 2026

/gemini review

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds a new user profile for Saish Milind Wadnere and updates the styling of the location and country badge in the index template. The review feedback suggests removing the hardcoded minimum and maximum width constraints on the badge to allow it to size naturally based on the content length, while keeping the shrink-0 property to prevent layout compression.

Comment thread src/index.njk Outdated
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

This PR addresses a UI regression in the developer directory card header where the location/country badge can collapse when the name/role text is long, and it also adds a new developer profile entry.

Changes:

  • Adds width-related Tailwind utility classes to the location/country metadata container in src/index.njk to prevent badge collapse.
  • Adds a new user profile YAML file under src/users/.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/index.njk Adjusts the location/country badge flex behavior via additional Tailwind classes to maintain layout under long text.
src/users/saishwadnere.yaml Adds a new developer profile for inclusion in the directory.

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

Comment thread src/index.njk Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Member

@jbampton jbampton left a comment

Choose a reason for hiding this comment

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

Thanks 🏂

@github-project-automation github-project-automation Bot moved this from Review in progress to Reviewer approved in Next May 3, 2026
@jbampton jbampton merged commit eb004af into NextCommunity:main May 3, 2026
13 checks passed
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in Next May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants