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

Update the Sample Data With Recurring Events #1903

Open
palisadoes opened this issue Feb 27, 2024 · 3 comments
Open

Update the Sample Data With Recurring Events #1903

palisadoes opened this issue Feb 27, 2024 · 3 comments
Assignees
Labels

Comments

@palisadoes
Copy link
Contributor

We need to have more realistic data in the Talawa-API sample data importation process. The data also needs to be more secular so that the application will more likely appeal to a wider range of Admins testing Talawa for their communities.

Possible Approach

You will need to investigate whether this approach is viable and suggest modifications where applicable.

  1. Load the current sample data into Talawa Admin
  2. Use Talawa Admin to make the modifications below
  3. Save the resulting database as the new sample data that setup.ts uses

Events

We need recurring events created so that the calendar is populated no matter when the data is loaded.

Weekly Recurring Events – Non Registration

Add the following public events to each organization. Registration is not required:

  1. Monday:
    1. "Aerobics for Everyone": 6:00am – 7:00am, Location: Studio A
    2. "Early Morning Pilates": 6:00am – 7:00am, Location: Studio B
    3. "Yoga Class for Seniors": 10:00am – 11:00am, Location: Studio B
    4. "Lap Swimming": 6:00am – 3:00pm, Location: Pool
    5. "Book of the Week Club": 2:00pm – 3:00pm, Location: Atlantic Conference Room
  2. Tuesday:
    1. "Aerobics for Everyone": 6:00am – 7:00am, Location: Studio A
    2. "Early Morning Pilates": 6:00am – 7:00am, Location: Studio B
    3. "Travel Club": 6:00pm – 7:00pm, Location: Atlantic Conference Room
    4. "Lap Swimming": 6:00am – 3:00pm, Location: Pool
  3. Wednesday:
    1. "Aerobics for Everyone": 6:00am – 7:00am, Location: Studio A
    2. "Early Morning Pilates": 6:00am – 7:00am, Location: Studio B
    3. "Travel Club": 6:00pm – 7:00pm, Location: Atlantic Conference Room
    4. "Art Class - Advanced": 10:00am – 11:00am, Location:
    5. "Lap Swimming": 6:00am – 3:00pm, Location: Pool
  4. Thursday:
    1. "Aerobics for Everyone": 6:00am – 7:00am, Location: Studio A
    2. "Early Morning Pilates": 6:00am – 7:00am, Location: Studio B
    3. "Kids Karate": 6:00pm – 7:00pm, Location: Studio B
    4. "Art Class - Beginners": 3:00pm – 4:00pm, Location: Studio A
    5. "Lap Swimming": 6:00am – 3:00pm, Location: Pool
  5. Friday:
    1. "Aerobics for Everyone": 6:00am – 7:00am, Location: Studio A
    2. "Early Morning Pilates": 6:00am – 7:00am, Location: Studio B
    3. "Neighborhood Watch Meeting": 6:00pm – 7:00pm, Location: Atlantic Conference Room
    4. "Lap Swimming": 6:00am – 3:00pm, Location: Pool
  6. Saturday:
    1. "So Bad They’re Good Movie Night": 7:00pm – 9:00pm, Location: Main Theatre
  7. Sunday:
    1. "Travel Club": 6:00pm – 7:00pm, Location: Atlantic Conference Room

Weekly Recurring Events – With Registration

Add the following public events to each organization. Registration is required. Make at least 4 of the newly added users be pre-registered in each of the events with no timing conflicts.

  1. Monday:
    1. "Youth Swimming Lessons": 3:00pm – 5:00pm, Location: Pool
    2. "Finance Committee Meeting": 5:00pm – 6:30pm, Location: Pacific Conference Room
    3. "Risk Committee Meeting": 6:00pm – 7:30pm, Location: Arctic Conference Room
  2. Tuesday:
    1. "Adult Swimming Lessons": 3:00pm – 5:00pm, Location: Pool
    2. "Conference Planning Committee": 5:00pm – 6:30pm, Location: Pacific Conference Room
    3. "Organization Strategy Workshop": 6:00pm – 7:30pm, Location: Arctic Conference Room
  3. Wednesday:
    1. "Youth Swimming Lessons": 3:00pm – 5:00pm, Location: Pool
    2. "Families With Addiction": 5:00pm – 6:30pm, Location: Pacific Conference Room
    3. "Investment Strategy Committee": 6:00pm – 7:30pm, Location: Arctic Conference Room
  4. Thursday:
    1. "Adult Swimming Lessons": 3:00pm – 5:00pm, Location: Pool
    2. "Programming for Everyone": 3:00pm – 5:00pm, Location: Computer Lab
    3. "University Preparation Tips": 5:00pm – 8:00pm, Location: Arctic Conference Room
  5. Friday:
    1. "Career Counseling": 3:00pm – 5:00pm, Location: Pacific Conference Room
  6. Saturday:
    1. "Saturday Serenade Concert": 5:00pm – 7:00pm, Location: Garden Patio
    2. "Youth Soccer Lessons": 9:00am – 10:00am, Location: Sports Field
  7. Sunday:
    1. "Travel Club": 6:00pm – 7:00pm, Location:

Other

  1. All tests must pass
  2. No functionality of the app must be affected
  3. The suggested entries above may have errors. Wherever possible there must not be scheduling conflicts for:
    1. Locations
    2. Users
  4. The sample data must be importable by the setup script without error and fully functional no matter how many times the setup script is run.
@palisadoes palisadoes self-assigned this Feb 27, 2024
@github-actions github-actions bot added the unapproved Unapproved for Pull Request label Feb 27, 2024
@its-VinayKumar
Copy link

@palisadoes Plz assign me this issue.

@palisadoes
Copy link
Contributor Author

It's already assigned

@Huy1996 Huy1996 removed the unapproved Unapproved for Pull Request label Mar 8, 2024
Copy link

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

@github-actions github-actions bot added the no-issue-activity No issue activity label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants