Skip to content

Add a shop menu onto the dashboard #40

Open
GuyOnWifi wants to merge 50 commits into
mainfrom
shop
Open

Add a shop menu onto the dashboard #40
GuyOnWifi wants to merge 50 commits into
mainfrom
shop

Conversation

@GuyOnWifi

Copy link
Copy Markdown
Contributor

Pulls from the database shopItem table and displays it

* feat: implement schedule management with database integration and static fallback

- Added a new ScheduleService for unified schedule data retrieval from the database or static configuration.
- Introduced database schema for schedule events and implemented CRUD operations.
- Updated components to utilize the new schedule structure and improved loading UI with skeletons.
- Refactored existing schedule data to align with the new schema and types.
- Added migration script to populate the database with initial schedule data.

* refactor: simplify the loading skeleton

* refactor: restore email verification functionality and update SES email sending method

- Re-enabled the sending of the welcome email with verification code upon user registration.
- Updated the email sending logic to use the new SendEmailCommand from the AWS SDK.
- Improved the structure and styling of the WelcomeEmail component for better presentation.

* feat: prevent user registration until registration is enabled
- Updated email verification URLs to include the user's email for better context.
- Modified EmailVerificationCard to display the email address in the verification prompt.
- Adjusted NewCodeForm and SignUpForm to pass the email parameter during verification code requests.
- Improved error handling and user feedback in the SignUpForm component.
- Updated the S3 client initialization to a dedicated module for better organization.
- Enhanced the S3 URL generation to include the region dynamically.
- Refactored SES client configuration to use a unified AWS region and credentials.
- Upgraded the AWS SDK for S3 to the latest version for improved functionality.
- Replaced hardcoded year references with dynamic `hackathonYear` variable in various components and emails.
- Updated the schedule configuration to reflect the new hackathon year.
- Ensured consistency in messaging related to Hack Canada 2026 throughout the application.
- Introduced a centralized phase management system to control feature availability based on the current hackathon phase.
- Updated application submission, saving, and registration processes to respect phase settings.
- Enhanced the dashboard and application components to dynamically display content based on the current phase.
- Added new PhaseGuard and FeatureGuard components for conditional rendering based on phase and feature flags.
- Refactored application-related logic to utilize the new phase-aware configuration for better maintainability and clarity.
… component

- Deleted the package-lock.json file to streamline project dependencies.
- Refactored CountdownTimer component to use useCallback for better performance and prevent unnecessary re-renders.
- Added userEmail prop to HackerApplicationForm and GeneralInformationStep for better user context.
- Updated application submission and saving routes to securely use the authenticated user's email instead of form input.
- Ensured email field is displayed as disabled in the GeneralInformationStep for clarity.
- Introduced phone number input in the GeneralInformationStep component, utilizing a new PhoneInput component for better user experience.
- Implemented validation to check if the provided phone number is already registered with another account during application submission and saving.
- Updated application schema and validation logic to include phone number handling, ensuring proper formatting and uniqueness.
- Enhanced the ReviewDisplay component to show the submitted phone number for better visibility.
- Updated AuthLayout to adjust padding and added a gradient fade effect.
- Modified AuthCardWrapper to conditionally show tabs and ensure fixed height for better layout stability.
- Improved styling across various components, including SignIn, SignUp, and email verification forms for a more cohesive design.
- Enhanced accessibility and user experience with updated button labels and input placeholders.
- Removed unnecessary elements like horizontal rules for a cleaner interface.
- Updated global CSS variables for dark mode, including background, text, and border colors.
- Improved layout and styling in Dashboard and Auth components, adding gradient backgrounds and hover effects.
- Enhanced MobileMenu and Navbar for better responsiveness and visual consistency.
- Refined ApplicationCard and Form components with updated styles and accessibility improvements.
- Added new animations and decorative elements to enhance user experience.
- Updated various dashboard components to enhance user engagement with new headings and descriptions, incorporating playful language and emojis.
- Improved the visual appeal of headers, buttons, and messages across the dashboard, including the CountdownSection, DashboardHeader, and ThankYouCard.
- Enhanced application status messages to create a more inviting and exciting user experience.
- Refined the layout and styling of components like DiscordInviteCard and HackerPackageCard for better usability and aesthetics.
…yling

- Adjusted padding in AuthLayout for a cleaner design.
- Removed unnecessary dark overlay in AuthCardWrapper to enhance visibility.
- Reformatted text in SignInHeader for better readability.
- Updated tab link colors in Tabs component for improved contrast and consistency.
…yling (#25)

- Adjusted padding in AuthLayout for a cleaner design.
- Removed unnecessary dark overlay in AuthCardWrapper to enhance visibility.
- Reformatted text in SignInHeader for better readability.
- Updated tab link colors in Tabs component for improved contrast and consistency.
sohelshekhIn and others added 19 commits February 5, 2026 14:48
* refactor: improve messaging and layout across dashboard components

* feat: implement dynamic site banners with dismissal functionality

* fix: banner build error

* refactor: banner implementation
* fix: update registration close date for the hackathon phase

* refactor: fix invalid email error

* refactor: clean up SiteBanner component formatting and improve class handling
* refactor: improve messaging and layout across dashboard components

* feat: implement dynamic site banners with dismissal functionality

* fix: banner build error

* refactor: banner implementation

* refactor: update short question 1
* fix: update schedule-view for dark mode

* feat: dyanmic time slot to reduce scroll height

* feat: little more fun to the schedule view

- Introduced a theme toggle for light and dark modes in the schedule view.
- Updated ScheduleEvent component to adapt event colors based on the selected theme.
- Created ScheduleThemeToggle and ScheduleThemeProvider components for managing theme state.
- Enhanced global CSS with new variables for light mode styling.
- Refactored SchedulePage to utilize the new ScheduleView component for improved structure.

* build fix
@vercel

vercel Bot commented Feb 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
daedalus-hacker-portal Ready Ready Preview, Comment Mar 5, 2026 1:10am

Request Review

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