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

feat: add LocationPicker for students to select physical location #157

Merged
merged 2 commits into from
Jan 18, 2025

Conversation

22anirudhk
Copy link
Contributor

feat: add LocationPicker for students to select physical location (inspired by issue #23), bump package versions.

Copy link

vercel bot commented Jan 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
simple-office-hours-queue ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 17, 2025 8:46pm

// Map of location IDs to their configuration
// Each location can have different floor plans for staff/students
// Important: make sure the location ID value is for the correct room based on the database
const locationConfigs: Record<number, LocationConfig> = {
Copy link
Contributor

Choose a reason for hiding this comment

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

I worry if other classes use this, this might mess them up

perhaps what we can do is check if the name of the location is "Soda 271" or "Soda 273" also

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added checking of location name to next commit

@22anirudhk 22anirudhk merged commit 32ed929 into main Jan 18, 2025
2 checks passed
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.

2 participants