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

Workshop max attendees #444

Merged
merged 4 commits into from
Aug 27, 2023
Merged

Workshop max attendees #444

merged 4 commits into from
Aug 27, 2023

Conversation

18Aayushk
Copy link
Contributor

🎟️ Ticket(s): Closes # https://www.notion.so/ubcbiztech/b24732925a6745caa305a2c746fa5ba7?v=d557178d0a134acf85a3890882538364&p=7ba1e1b3691f49fcb097cab02fda54d9&pm=s

πŸ‘· Changes: A brief summary of what changes were introduced.
*Introduced new type of question: (Workshop Selection)
*In workshop selection type of question, admin has capability of placing a maximum capacity for each option.
*Added a default workshop selection question to show admins how this feature works.
*Enabled preview for workshop type of question.
*Collected number of signups from each workshop from backend
*If workshop is full, disabled selection capability with new 'disabled' style.

πŸ’­ Notes: Any additional things to take into consideration.
*Must be tested with backend together which sends the info over.
GitHub - ubc-biztech/serverless-biztechapp at workshop-cap

Wait! Before you merge, have you checked the following:

πŸ“· Screenshots
Screen Shot 2023-08-18 at 13 30 02

Screen Shot 2023-08-18 at 13 31 46 Screen Shot 2023-08-18 at 13 36 03

Checklist

  • Looks good on large screens
  • Looks good on mobile

@18Aayushk 18Aayushk self-assigned this Aug 18, 2023
@@ -173,6 +177,8 @@ const FormRegister = (props) => {
const [questionDomain, setQuestionDomain] = useState("");
const [isNonMemberModalOpen, setisNonMemberModalOpen] = useState(false);
const [isSubmitting, setIsSubmitting] = useState(false);
const [workshopChoicesArr, setWorkshopChoicesArr] = useState([]);
// const [workshopCounts, setWorkShopCounts] = useState([]);
Copy link
Member

Choose a reason for hiding this comment

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

remove comment

@github-actions
Copy link

Visit the preview URL for this PR (updated for commit 61f9463):

https://bt-web-dev-ebf17--pr444-workshop-max-attende-p23528hz.web.app

(expires Mon, 28 Aug 2023 22:21:04 GMT)

πŸ”₯ via Firebase Hosting GitHub Action 🌎

Sign: a1bf7afe94c954469059b9e3898cf94f4178c379

@ddennis924 ddennis924 merged commit ba0438a into dev Aug 27, 2023
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