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

Calendar: Add Event / SignUp Button #53

Merged
merged 24 commits into from
Feb 15, 2024
Merged

Calendar: Add Event / SignUp Button #53

merged 24 commits into from
Feb 15, 2024

Conversation

sgill33
Copy link
Collaborator

@sgill33 sgill33 commented Feb 11, 2024

Developer: Shawn GIll

Closes #25

Pull Request Summary

  • Linked frontend to backend for users and admin.
  • Parsed database events and added field before adding them to calendar
  • Displayed different events with different colors
  • Created role-specific buttons for adding or signing up for events

Modifications

  • globals.css : added styling to calendar width and custom buttons
  • calendar.tsx : added event type and props to pass in events
  • calendar/page.tsx : added functions to get events from db and function to transform it into a FullCalendar event
  • events/admin/page.tsx : imported functions and calendar component to display the calendar on the admin page.
  • bootstrap.css : added bootstrap.css file to styles folder

Testing Considerations

  • Tested what happens when no events passed
  • Tested calendar display on mobile screens
  • Tested custom button click : should make an alert pop up

Pull Request Checklist

  • Code is neat, readable, and works
  • Comments are appropriate
  • The commit messages follows our guidelines
  • The developer name is specified
  • The summary is completed
  • Assign reviewers

Screenshots/Screencast

Screenshot 2024-02-11 at 1 16 30 PM Screenshot 2024-02-11 at 1 16 41 PM

@sgill33 sgill33 requested a review from javalosr2004 February 11, 2024 21:17
@sgill33 sgill33 linked an issue Feb 11, 2024 that may be closed by this pull request
Copy link
Collaborator

@javalosr2004 javalosr2004 left a comment

Choose a reason for hiding this comment

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

Nice work Shawn!

@javalosr2004 javalosr2004 merged commit c319080 into main Feb 15, 2024
1 of 4 checks passed
javalosr2004 added a commit that referenced this pull request Apr 2, 2024
feat: calendar load events (backend) / add event (frontend)
@SilveerDusk SilveerDusk deleted the iss25 branch May 18, 2024 20:37
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.

Link Backend and Frontend For Events For Members and Admin Page
2 participants