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

Modal Not Closing and Events Not Updating Automatically After Creating #1011

Closed
skbhagat0502 opened this issue Oct 28, 2023 · 5 comments · Fixed by #1014
Closed

Modal Not Closing and Events Not Updating Automatically After Creating #1011

skbhagat0502 opened this issue Oct 28, 2023 · 5 comments · Fixed by #1014
Assignees
Labels
bug Something isn't working unapproved

Comments

@skbhagat0502
Copy link
Contributor

Describe the bug
Upon attempting to add an event through the "add event" button, a modal with a form appears. After filling out the form and clicking "create event," the modal fails to close automatically. While the event is created, it does not reflect in the events list until the page is manually refreshed.

To Reproduce
Steps to reproduce the behavior:

  1. Click on the "add event" button.
  2. Fill out the form in the modal.
  3. Click "create event."
  4. Notice that the modal does not close automatically, and the event does not appear until the page is refreshed.

Expected behavior
Upon creating an event, the modal should close automatically, and the newly created event should be immediately visible in the events page without requiring a page refresh.

Actual behavior
The modal does not close automatically after creating an event, and the event is not displayed in the events page until a manual page refresh is performed.

Screenshots

2023-10-28.17-39-42.mp4

Additional details
[Provide any additional context or screenshots related to the issue]

Potential internship candidates
If you are considering applying for a Palisadoes Foundation internship, please review additional information here.

@skbhagat0502 skbhagat0502 added the bug Something isn't working label Oct 28, 2023
@skbhagat0502
Copy link
Contributor Author

@palisadoes Please assign me this issue.

@palisadoes
Copy link
Contributor

@rishav-jha-mech Please comment. I know you have a very large PR submitted that may include this as a fix.

@rishav-jha-mech
Copy link
Contributor

@palisadoes, this is not involved in my current PR. @EshaanAgg would have a better idea about this, maybe he'll be covering this issue in his final PR.

@EshaanAgg
Copy link
Contributor

This is a separate issue that is present since the beginning of the GSoC. I feel that this can be assigned to @skbhagat0502. You would need to refetch the data of events after the submit button is called.

@SiddheshKukade
Copy link
Member

The events are updated on the calendar after a refresh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unapproved
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants