Skip to content

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.

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.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.

5 participants