Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extended Menu Redesign Pt.1 #318

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

NgaiJustin
Copy link
Member

Overview

This is the first of many PRs to come that are leading up to the Eatery redesign. This PR focuses on the fixes to Extended Menu

Changes Made

  • Seperate menu items by category
  • Update tabscroll animations to correspond to new headers
  • Remove sort feature

Test Coverage

Tested on iPhone 13, iPhone 12 and actual device (XR)

Next Steps (delete if not applicable)

  • After backend updates endpoint, will modify ExtendedMenuRow to support menu items that have detailed descriptions (new addition in redesign)

Screenshots (delete if not applicable)

Screen Recording
RPReplay_Final1637364995.MP4

Copy link
Member

@dishanest dishanest left a comment

Choose a reason for hiding this comment

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

Nice PR! I left a few nits.

@@ -10,7 +10,7 @@ import UIKit

class ExpandedHeaderContainer: UIView {

private var filterButton: ExpandedFilterButton!
// private var filterButton: ExpandedFilterButton!
Copy link
Member

Choose a reason for hiding this comment

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

Remove instead of commenting

categoryLabel = UILabel()
categoryLabel.text = category
categoryLabel.font = .systemFont(ofSize: 18, weight: .semibold)

super.init(frame: .zero)
Copy link
Member

Choose a reason for hiding this comment

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

Make first line of function

Copy link
Contributor

@Npikielny Npikielny 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!

Comment on lines +57 to +59
make.leading.equalToSuperview()
make.trailing.equalToSuperview()
make.bottom.equalToSuperview()
Copy link
Contributor

Choose a reason for hiding this comment

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

Can be shortened: make.leading.trailing.bottom.equalToSuperview()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants