Skip to content

🖌️ Food Card Styling (#629)#638

Merged
EightBitByte merged 21 commits intodevfrom
629/food-card-styling
Apr 14, 2026
Merged

🖌️ Food Card Styling (#629)#638
EightBitByte merged 21 commits intodevfrom
629/food-card-styling

Conversation

@EightBitByte
Copy link
Copy Markdown
Collaborator

@EightBitByte EightBitByte commented Feb 18, 2026

Summary

General clean up and style adjustment to food cards.

Changes

  • Fixed issues with styling when it comes to the rating stars (stroke width, rating component, etc.)
  • Cards now adapt to theme
  • Refactored cards to have simple style change instead of redundant card on change to compact
  • Refactor interactive-star-rating to use MUI components
  • Ratings, Favorites, & Meal Tracker buttons are now disabled when user is not logged in, showing tooltips as such

Closes #629 #627

@EightBitByte EightBitByte added frontend Relating to Next.js, PWA styling Stylesheets, design labels Feb 18, 2026
@EightBitByte EightBitByte linked an issue Feb 18, 2026 that may be closed by this pull request
3 tasks
@EightBitByte EightBitByte temporarily deployed to staging-638 February 18, 2026 01:14 — with GitHub Actions Inactive
@EightBitByte EightBitByte marked this pull request as ready for review February 18, 2026 01:14
@github-actions github-actions Bot temporarily deployed to staging-638 February 18, 2026 01:15 Inactive
@EightBitByte EightBitByte temporarily deployed to staging-638 February 18, 2026 01:56 — with GitHub Actions Inactive
@github-actions github-actions Bot temporarily deployed to staging-638 February 18, 2026 01:57 Inactive
@EightBitByte EightBitByte linked an issue Feb 18, 2026 that may be closed by this pull request
@EightBitByte EightBitByte temporarily deployed to staging-638 February 18, 2026 02:06 — with GitHub Actions Inactive
@github-actions github-actions Bot temporarily deployed to staging-638 February 18, 2026 02:07 Inactive
@EightBitByte EightBitByte temporarily deployed to staging-638 February 18, 2026 02:22 — with GitHub Actions Inactive
@github-actions github-actions Bot temporarily deployed to staging-638 February 18, 2026 02:23 Inactive
@EightBitByte EightBitByte temporarily deployed to staging-638 February 18, 2026 02:34 — with GitHub Actions Inactive
@github-actions github-actions Bot temporarily deployed to staging-638 February 18, 2026 02:34 Inactive
Copy link
Copy Markdown
Collaborator

@LexTruong LexTruong left a comment

Choose a reason for hiding this comment

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

Looks great! I love the design decision on the tooltips.

However, I am unable to favorite a meal even when logged in.

@EightBitByte EightBitByte temporarily deployed to staging-638 March 5, 2026 01:19 — with GitHub Actions Inactive
@github-actions github-actions Bot temporarily deployed to staging-638 March 5, 2026 01:19 Inactive
@LexTruong LexTruong self-requested a review March 10, 2026 21:22
Copy link
Copy Markdown
Collaborator

@LexTruong LexTruong left a comment

Choose a reason for hiding this comment

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

The Favorite button works now! Just 1 nitpick before we merge: the padding around the Favorite button needs to be fixed on meal cards when in compact view.

Image

Copy link
Copy Markdown
Collaborator

@TheAbubakrAbu TheAbubakrAbu left a comment

Choose a reason for hiding this comment

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

Just following up on the requested changes from Lex with the padding issue on the favorite button in compact view.

It looks like there haven’t been any new commits since those comments. Just wanted to check if this is still being worked on.

Let us know if you need anything!

@EightBitByte
Copy link
Copy Markdown
Collaborator Author

I'll take care of it soon -- the bug is proving a little hard to squash because of the way the card is formatted. Thanks!

@EightBitByte EightBitByte temporarily deployed to staging-638 April 14, 2026 01:20 — with GitHub Actions Inactive
@github-actions github-actions Bot temporarily deployed to staging-638 April 14, 2026 01:20 Inactive
@EightBitByte EightBitByte temporarily deployed to staging-638 April 14, 2026 01:33 — with GitHub Actions Inactive
@EightBitByte EightBitByte requested a review from LexTruong April 14, 2026 01:33
@github-actions github-actions Bot temporarily deployed to staging-638 April 14, 2026 01:33 Inactive
@EightBitByte EightBitByte merged commit 6fc78d4 into dev Apr 14, 2026
1 of 2 checks passed
@EightBitByte EightBitByte deleted the 629/food-card-styling branch April 14, 2026 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Relating to Next.js, PWA styling Stylesheets, design

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 Food Card Styling ⭐ Update ratings to MUI built-in component

3 participants