-
Notifications
You must be signed in to change notification settings - Fork 3
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
Han event expanded view component issue 11 #31
Han event expanded view component issue 11 #31
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think those changes were pushed.
…n components and onclick to expand/collapse when clicked on anywhere of the component
…github.com/hack4impact-calpoly/slo-beaver-brigade into han-event-expanded-view-component-issue-11 Merge branch 'han-event-expanded-view-component-issue-11' of https://github.com/hack4impact-calpoly/slo-beaver-brigade into han-event-expanded-view-component-issue-11# the commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bugs:
- if you click on the edit or delete or any of the buttons within the modal, it closes the modal and does the operation after opening it again.
Improvements: - Can you separate the eventDetails.startTime.toLocaleTimeString, to a seperate const variable within the Page itself. possibly as multiple variables.
… buttons within the modal, it closes the modal and does the operation after opening it again.
…t constant variables
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went ahead and fixed a cursor pointer bug you had, if you want to run git pull, but I see you created an event props, and while I appreciate the effort, there is a premade / updated one in the database folder.
make sure to run git pull origin main, to stay up to date with changes, after you run git pull |
…ver-brigade into han-event-expanded-view-component-issue-11
…ver-brigade into han-event-expanded-view-component-issue-11
…github.com/hack4impact-calpoly/slo-beaver-brigade into han-event-expanded-view-component-issue-11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing work Han! Your hard work has paid off! Time to merge!
…ew-component-issue-11 feat: expanded view component
Developer: HanYu Wu
Closes #11
Pull Request Summary
Created expanded view client component and its parent component which serves as a mock data setup to showcase the EventExpandedView Component. toggleModal function is created for better modal control, content section is conditionally rendered to appear only when showExpandedView is true, which happens when clicking on the expanded icon, collapsing when clicking on the X. Sign up options, edit, and delete feature are also conditionally rendered based on the user state, everything are styled for better mobile-friendliness by utilizing Chakra UI's responsive utility.
Modifications
Added a ExpandedViewComponent.tsx, YourParentComponent.tsx, added ChakraProvider in Providers.tsx
Pull Request Checklist
Screenshots/Screencast