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

Client: Make the modal system more compatible with dynamic content #173

Merged
merged 2 commits into from
Jun 29, 2024

Conversation

ritwik-69
Copy link
Contributor

Description

Updated the modal system which allows the content that changes often to render dynamically. In this change you have to pass an id to the modal and if the modal with that id is opened then it will update the content inside the modal dynamically.

How to Test

cd frontend
npm run dev

Related Issues

Checklist

  • I have tested these changes locally.
  • I have reviewed the code and ensured it follows the project's coding guidelines.
  • I have updated the documentation, if necessary.
  • I have assigned reviewers to this pull request.

This commit updates the modal system which allows
the content that changes often to render dynamically.
In this change you have to pass an id to the modal
and if the modal with that id is opened then it will
update the content inside the modal dynamically.

Fixes shivansh-bhatnagar18#168
Copy link

vercel bot commented Jun 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
multiplayer-uno ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 7:51pm

This commits updates the existing modals to use
the update function if necessary and passes id
for every modal.

Fixes shivansh-bhatnagar18#168
@kuv2707
Copy link
Collaborator

kuv2707 commented Jun 29, 2024

LGTM

@kuv2707 kuv2707 merged commit ac3bc0e into shivansh-bhatnagar18:master Jun 29, 2024
8 checks passed
@kuv2707
Copy link
Collaborator

kuv2707 commented Jun 29, 2024

Merged, thanks @ritwik-69 !

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