fix: different drawers for different devices #824
Open
cnk2024 wants to merge 4 commits from
tweaks/mobile-drawer into staging
pull from: tweaks/mobile-drawer
merge into: ScottyLabs:staging
ScottyLabs:main
ScottyLabs:kennel-no-mapkit-backend
ScottyLabs:eats-kennel
ScottyLabs:Issue#833Fix
ScottyLabs:issue-843-active-filter
ScottyLabs:staging
ScottyLabs:unblocking-search-bar
ScottyLabs:sort-by-rating
ScottyLabs:cirex-web-patch-1
ScottyLabs:copilot/add-user-settings-feature
ScottyLabs:uncorrupted-version
ScottyLabs:raffle_greeting
ScottyLabs:sort-locations-by-distance
ScottyLabs:edit-readme
ScottyLabs:delete
ScottyLabs:remove_collegecart_cards
ScottyLabs:revert-812-feat/collegecart-theme-apr-11-13
ScottyLabs:searchable_menus
ScottyLabs:ui/refactored-mobile-redesign-staged
ScottyLabs:ox-tooling
ScottyLabs:april-fools-2026
ScottyLabs:grubhub_links
ScottyLabs:rating-display
ScottyLabs:sort-by-distance
ScottyLabs:easter-theme
ScottyLabs:map-filter
ScottyLabs:feat/gallo-perm-close
ScottyLabs:feat/miku-day-2026
ScottyLabs:bruh3
ScottyLabs:report-system
ScottyLabs:valentines
ScottyLabs:review_system_promo_banner
ScottyLabs:banner-component
ScottyLabs:card-header-dropdown
ScottyLabs:listpage-offline-alert-fix
ScottyLabs:feat/review-system
ScottyLabs:compact-mode-style-tweaks
ScottyLabs:wrapped-analysis-2025
ScottyLabs:search-bar-query-delay
ScottyLabs:context-refactor-uhh
ScottyLabs:copilot/sub-pr-741
ScottyLabs:copilot/sub-pr-741-again
ScottyLabs:block_periods
ScottyLabs:eatery-card-refactor
ScottyLabs:sponsor_carousel
ScottyLabs:ui/refactored-mobile-redesign
ScottyLabs:google_auth
ScottyLabs:banner-update
ScottyLabs:chore/tiny-refactor
ScottyLabs:style/tweak-pin-and-hide-buttons
ScottyLabs:card-refactor
ScottyLabs:bye_nova_25
ScottyLabs:hide-location
ScottyLabs:add_nova_banner
ScottyLabs:swtich_to_pnpm
ScottyLabs:schatz-menu-link
ScottyLabs:ui/mobile-redesign
ScottyLabs:fix/search-bar
ScottyLabs:increase_form_visibility
ScottyLabs:feat/pinned-cards-on-map
ScottyLabs:feat/banner
ScottyLabs:copilot/fix-13c3c122-a651-43d2-8d62-56ddf22bdcf1
ScottyLabs:copilot/fix-9c1d6fe9-b606-44d1-a5b1-a90f3133e0b9
ScottyLabs:fix/error-reporting-2
ScottyLabs:fix/error-reporting
ScottyLabs:fix/time-sorting
ScottyLabs:fix/weekly-times
ScottyLabs:Readme
ScottyLabs:bruh2
ScottyLabs:chore/update-staging
ScottyLabs:staging-reset
ScottyLabs:fix/404
ScottyLabs:update-footer
ScottyLabs:literally-a-single-line-change-unless-I-reset-wrong
ScottyLabs:fix/copilot-suggestions
ScottyLabs:test/pwa
ScottyLabs:fix/pwa
ScottyLabs:fix/dot-flashing
ScottyLabs:fix/env
ScottyLabs:feature/dynamic-email-contacts
ScottyLabs:Fix-readme
ScottyLabs:star_items_v2
ScottyLabs:quick-fix
ScottyLabs:chore/upd-staging
ScottyLabs:Yuxiang-Huang-patch-2
ScottyLabs:Yuxiang-Huang-patch-1
ScottyLabs:emergency-url-fix
ScottyLabs:tsurbs-patch-1
ScottyLabs:Footer-link
ScottyLabs:Footer-name
ScottyLabs:style/code-cleanup
ScottyLabs:style/times-popup
ScottyLabs:fix/map-color
ScottyLabs:timesdatesbetter-hurebranch2
ScottyLabs:fix/aaaaaaaa
ScottyLabs:bruh
ScottyLabs:fix/a-bit-of-refactoring
ScottyLabs:april-fools
ScottyLabs:time_filter
ScottyLabs:location-filter
ScottyLabs:star_items
ScottyLabs:cmueats_filters_food
ScottyLabs:style/a-bit-of-animation
ScottyLabs:evelyn-branch
ScottyLabs:map-almost-closed-view
ScottyLabs:feedback-form
ScottyLabs:nutrition-details
ScottyLabs:discard
ScottyLabs:hurebranch
ScottyLabs:alex_branch
ScottyLabs:no-merge
ScottyLabs:css-improvements-2
ScottyLabs:railway-test
ScottyLabs:nicolas/fix-ci
ScottyLabs:nettlin/update-email
ScottyLabs:update-mapkit-js-token
ScottyLabs:fix-menus
ScottyLabs:fix-specials
ScottyLabs:nettlin/add-map
ScottyLabs:nettlin/fix-css-syntax
ScottyLabs:modern-react
No reviewers
Labels
Clear labels
bad first issue
bootcamp
Bootcamp Task
bug
Something isn't working
cmueats 2.0
codebase
Codebase or developer experience (DX) improvements
complexity: low
complexity: medium
complexity: nontrivial
dependencies
Pull requests that update a dependency file
design needed
documentation
Improvements or additions to documentation
duplicate
This issue or pull request already exists
enhancement
New feature or request
github_actions
Pull requests that update GitHub Actions code
good first issue
Good for newcomers
help wanted
Extra attention is needed
high priority
important
invalid
This doesn't seem right
javascript
Pull requests that update JavaScript code
low pri
math heavy
outdated
The pull request is outdated and there's a newer pull request for the issue
question
Further information is requested
theory heavy
typescript
Pull requests that update TypeScript code
ui/ux
UI and/or UX improvements
wontfix
This will not be worked on
needs/docs
Must have documentation written
needs/research
Discuss the ideal implementation with the tech lead
needs/upstream
Needs a contribution to an upstream project
type/bug
Something not working as intended
type/external
Lives outside of code
type/feature
New functionality
type/refactor
Improving existing code
urgency
high
This is currently causing issues
urgency
immediate
This is making a project or feature unusable
urgency
low
This can happen whenever
urgency
medium
This is expected to cause issues soon
No labels
bad first issue
bootcamp
bug
cmueats 2.0
codebase
complexity: low
complexity: medium
complexity: nontrivial
dependencies
design needed
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
high priority
important
invalid
javascript
low pri
math heavy
outdated
question
theory heavy
typescript
ui/ux
wontfix
needs/docs
needs/research
needs/upstream
type/bug
type/external
type/feature
type/refactor
urgency
high
urgency
immediate
urgency
low
urgency
medium
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
ScottyLabs/eats!824
Loading…
Reference in a new issue
No description provided.
Delete branch "tweaks/mobile-drawer"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The latest updates on your projects. Learn more about Vercel for GitHub.
Bro why the format check keeps failing 😭
It runs with no error locally
everything else LGTM!
@ -3,15 +3,16 @@ import { createContext, useContext, useState, useEffect } from 'react';const isMobileContext = createContext<boolean | undefined>(undefined);oops, I think this should be PascalCase
@ -15,3 +15,4 @@}, [isTouchScreen]);return <isMobileContext.Provider value={isMobile}>{children}</isMobileContext.Provider>;}did you leave this here for development purpose? I think in real use cases this don't need to be recalculated every render
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.