phpmyadmin / phpmyadmin/phpmyadmin
Create view button doesn't unbind jQuery events
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 7.9k
- Forks
- 3.6k
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 36
Description
Describe the bug
When a user clicks on create view button, the system presents a dialog modal which binds actions to ok/cancel buttons. Upon submitting the modal, the page does not refresh and clicking it again causes the backend to be hit twice.
To Reproduce
Steps to reproduce the behavior:
- Go to Table >> Browse
- Click on 'Create view'
- Enter a valid name and submit
- Go back to step 2 and repeat
Expected behavior
I expect to see only one request to backend for every consecutive submission without complete page refresh.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin with the Table > Browse “Create view” flow and reproduce consecutive submissions to observe the duplicate backend request. Inspect the modal’s jQuery event binding around the create-view submission; done means each submission sends only one request without a complete page refresh.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jquery
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100