Tags: acmutd/hackportal
Tags
HackPortal 1.0 (#68) * feat: Implemented basic UI for role-changing feature * feat(roles): Implemented backend for role-changing feature * refactor: Refactor check authorization function * fix: Fixed response handling * feat: Finished role-changing feature * fix: Fixed logic for validating user token * refactor: Refactored React render logic Refactored React render logic to improve user experiences and reflect addition of a new user role * fix: Add firebase messaging browser support check Check if browser supports firebase messaging to fix error for safari * chore: Merge with develop * refactor: Added super_admin role * feat: Add challenge cards to hack center Added challenges cards with info fetched from firebase * fix: Fix event timing parsing for AM time * feat: Implemented create new scan feature Implemented feature for super admin to create a new scantype * style: Reorder tailwind classes for easier customizability Put tailwind classes that should be changed and customized to fit desired theme to the end of className * feat(adminheader): Replace links with active navlinks Used active navlinks to allow user to tell which page they are on from the admin header. Active links are underlined. * feat(admin): Implemented edit scantype Implemented feature for super admin to edit scan types * feat(admin): Implemented delete scans Implemented feature for super admin to delete scantype * refactor: Move Ask a Question page to be under Dashboard Transitioned Ask a Question page out of About and into Dashboard. Cleaned up dashbaord header code. * chore(naming): Update HackUTD refs to HackPortal Changed all instances of HackUTD to HackPortal * fix(announcements): Fix announcement display order on dashboard * feat: Show notif prompt on certain conditions Shows notif prompt only if browswer supports push notif and user has not enabled it. * feat: Add prizes to challenge card Challenge cards display prizes on bottom of card depending on if firebase challenge info has prizes * refactor: Removed redundant code * feat: Add challenge cards to homepage and newline options to description Challenge cards can be viewed in home page and switched to view different org challenges. Challenge cards also has newline options and supports over 3 prizes. * feat: Display challenges in order based on given rank Added rank property that determines where the challenge should be displayed relative to the other challenges. Lower rank means challenges will be displayed first(idx of array) * feat: Add password based login to signin page Password based login is successful but needs to update user context to let application know user is logged in. Sign up section is added but not functional. * feat: Add sign up page and create account functionality User is able to create a password based account by going to the sign up page. Creates account for user but does not log in user directly afterwards yet. * feat: Send email verification when creating an account Verifies email but is not able to log in users from said email yet * fix: Fix first time login registration with password based sign in * feat: Create sm screens for login and sign up. Update userInfo on regist Make login and sign up pages mobile responsive. Update user info directly after registration to be able to be displayed on profile page. * feat: Add qr scan for hackers and improve dismiss dialog functionality Qr codes now work for hackers. Dismiss dialog toggles when user pressed anywhere but the dialog component. * feat: Complete password reset email functionality and pages Create password reset section in auth pages to redirect users to enter email and send password reset email. * feat(admin): Implemented Stats at a Glance page * fix: Fix email verification sign in error Signs out user when app detects that user is not verified and displays message. * feat: Rresend verification option and get images from firestore storage * feat: Create masonry layout for challenge section in dashboard Refector challenge section under hackcenter to be more even and fluid using a masonry layout * feat: UI/UX improvements throughout entire app Make home page challenges selections more clear, fix resend verification option when swithing pages in login page, fix video resizing in home page for smaller screens, implement colored texts when scanning qr codes symbolizing success/fail * chore(deps): Bump next from 12.0.7 to 12.0.9 Bumps [next](https://github.com/vercel/next.js) from 12.0.7 to 12.0.9. - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](vercel/next.js@v12.0.7...v12.0.9) --- updated-dependencies: - dependency-name: next dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * feat: Add autocomplete and save account credentials in browser for login Browser asks to save account info after logging in to autocomplete when logging in again. * fix(sponsor and schedule page): Add schedule and sponsor page re #32 * fix: Fixed issue when permission is undefined * feat: Implemented feature to prevent deletion of check-in scan-type * feat: Implemented feature to prevent creating redundant scans Added feature to prevent creating more than 1 check-in scan and creating scans with the same name * feat: Added feature to persist data of deleted scan-type * chore(env.template): Update .env.template to reflect env vars needed * chore(registration): Fix issue with registraiton not writing to fs * feat(schedule page): Made schedule page dynamic re #32, re #33, re #35 * fix: Fixed issue with trailing and leading whitespaces in scan name * feat: Place toggle password visbility for sign up and add more comments Sign up page password field now password visbility toggle. More comments to descript page sections to various files. * feat: Display keynote speaker images onto speaker cards Speaker images are fetched from firebase storage and displayed to corresponding speaker card. * fix: Remove w-screen from adding extra width in homepage W-screen items would add extra width to page causing a horizontal scroll bar to show. Unnecessary as user would only be able to scroll a couple extra pixels. * fix: Fixed issues with forced registration * fix: Fixed issue with service worker not registering * chore: Added .env.template * fix: Change how images are fetched from firebase storage Add storage bucket to env variables and refactor image fetchign * feat(sponsor page): Added styling to sponsor page Added styling to sponsor page re #123 * Update index.tsx Remove appointments data from hackutd * Update SponsorHeader.tsx Fix typo in sponsor message * refactor: Refactor keynote speaker to main bucket folder Keynote speaker images are not part of main bucket folder instead of seperate bucket * Update index.tsx Remove console log statement * refactor: Change sponsor image fetch to folder and add error handling Fetched sponsor images to folder and adds error handling if firebase cannot find file * chore: Remove references to HackUTD and ready code for reuse Delete empty submit page, remove HackUTD swag stats and leftover debug code, remove nonexistent sort options for admins * fix: Fix notification support check in home page to work for mobile * feat: Update Meet our Team section Add image support and refactor UI of Meet our Team section * fix: Make meet the team cards work for mobile devices * feat: Sponsor - match UI, mobile friendly, scalable images Make sponsor page fit overal site UI. Sponsor page mobile responsive. Sponsor images scalable. * fix: Hero section mobile fix and sponsor page tune ups Hero sections scales in mobile as buttons push down section to become larger. Spacing is fixed in safari since flex gap does not work. Sponsor page format changed a bit. Co-authored-by: Mike Nguyen <[email protected]> Co-authored-by: nam-t24 <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: SameerHaq349 <[email protected]>