ucladevx / Bruin-Bite-iOS

Mozilla Public License 2.0
8 stars 1 forks source link

Fix constraints/positioning on the top bar #97

Closed HirdayGupta closed 5 years ago

HirdayGupta commented 5 years ago

Motivation Right now, in the development branch, the top bar behaves terribly in terms of positioning itself. This is due to an inherent issue with the way constraints are handled on the top bar and fixing that is the focus of this issue. PS: in case it is unclear, the "top bar" refers to the bar on top of the menu screen with the meal period and date selection options.

The Task Right now there are two known issues with the top bar:

  1. It doesn't center itself on phones larger than the iPhone 8 (and sometimes cuts off on smaller phones)
  2. As pointed out by @niharmitra at last week's meeting, when the user has bold text enabled, some parts of the top bar get cut off.

Some Requirements

Acceptable Criteria

EDIT: Forgot to mention: Check out the contributing guide for the git/github workflow we'd like to follow.

niharmitra commented 5 years ago

The feature I have enabled isn't Bold Text, its Display Zoom -> View Zoomed, so UI elements are enlarged, not just font size.

HirdayGupta commented 5 years ago

Thanks for the clarification, @niharmitra! @sahenrai keep that in mind while working on this.

HirdayGupta commented 5 years ago

@sahenrai Can confirm that the commit I was talking about that solves the first known issue is present in development. Focus on solving the second one - and feel free to use the storyboard flag you were talking about. Looking forward to a pull request soon, this task is a week overdue!

sahenrai commented 5 years ago

Issue already fixed in development