-
Notifications
You must be signed in to change notification settings - Fork 16
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
Expanded lunch #168
Expanded lunch #168
Conversation
src/components/cards/LunchCard.vue
Outdated
font-weight: bold | ||
font-size: .85em | ||
text-align: center | ||
.exLunch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better class name
src/components/cards/LunchCard.vue
Outdated
const currTime = currentDate.getHours() * 100 + currentDate.getMinutes(); | ||
if (currTime < 830) { | ||
return true; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return currTime < 830
also currTime can be renamed to currentTime
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not resolved, some logic issue here
src/components/cards/LunchCard.vue
Outdated
isMorning() { | ||
const currentDate = new Date(); | ||
const currTime = currentDate.getHours() * 100 + currentDate.getMinutes(); | ||
if (currTime < 830) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a comment for what 830 means - what time it is
Thanks for submitting this PR, overall it's a great idea and I like the implementation. |
@Aaaaa501 when it's ready, there is a re-review button. Thanks |
Forgot to remove some testing code. Removed it now. |
@@ -49,19 +116,36 @@ export default { | |||
text-align: center | |||
margin-bottom: 4px | |||
|
|||
.breakfast | |||
border-top: var(--color) 1.5px solid | |||
padding: 10px 0 | |||
.lunch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.lunch | |
.lunch | |
src/components/cards/LunchCard.vue
Outdated
faChevronUp, | ||
}, | ||
expandNums: 0, | ||
alBreakfast: ['Bacon', 'Sausage', 'Potatoes', 'Eggs'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better name
src/data/miscLunch.json
Outdated
"Protein Box", | ||
"Bubble Tea" | ||
], | ||
"Coffee and Tea": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that "sides "and "beverages" accompany cafeteria food, while PWC Jazzmans, Grill and Pizza is a separate location. what is "Coffee and Tea"? is that a location of where to get food?
Is there some way we can make it more clear where these items are? I'm thinking some location tag and icon that's like these items are here. Thoughts on this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The arrangement ive used is just grouped by order on the school website, but the groups correspond roughly with location. Beverages and Sides are located in the same place as the cafeteria. The grill and pizza is in the wood commons, and the 'Coffee and Tea' category is at Jazzman's. I moved the beverages and sides to the top of the list because it makes more sense in proximity to the rest of the cafeteria foods, but otherwise I think the arrangement makes sense. The locations are common knowledge in my experience, so I'm not sure how useful a location tag would be
Co-authored-by: Joseph Shepin <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also please do not mark conversations as being resolved if they are not. Thank you.
src/components/cards/LunchCard.vue
Outdated
const currTime = currentDate.getHours() * 100 + currentDate.getMinutes(); | ||
if (currTime < 830) { | ||
return true; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not resolved, some logic issue here
Just coming across this now - love the concept! Would there be potential to rename the entire column to something like "Food" and only display the correct meals at the right times? Like Joey said - maybe breakfast from 7-11, and lunch from 11-3? We could also add a hyperlink to an additional page that shows an elegant version of the entire menu, and all the options like you currently have @Aaaaa501. But I think having them all there at first glance leaves everything a bit cluttered |
Not sure about the icon I'm using for the button, but otherwise does this work fine? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^^^
closing this due to inactivity, feel free to reopen when ready! |
Expanded lunch menu to cover some of jazzmans menue and wood commons