-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[Bug]: Disable clicking on Next page button when Table record reached to last page #22477
Comments
@chandannkumar @keyurparalkar @dilippitchika i wanted to contribute and work on this issue can you please assign this issue to me ? |
Greetings @avijeetpandey thanks for showing interest 🎉 , This is all your. Assigning this to you now. Please don't forget to read the Contribution Guidelines. Would appreciate if you can open a PR within the next 2 days. let us know here |
Thanks @dilippitchika , will try my best to do that |
Hi @dilippitchika @chandannkumar @keyurparalkar |
@dilippitchika the client is taking so much time to compile, anything that can be done to speed this up , have setup the client and server as per the docs , but upon running System Info
|
@dilippitchika @chandannkumar After following the docs and setting up the server successfully got the following error on the client, need little help in making the client a successful connection to a staging/local environment. Attaching the screenshot for a better understanding of the issue. |
Hey @avijeetpandey, I think you're opening http://dev.appsmith.com:3000 in your browser. Can you try https://dev.appsmith.com instead please? If that also shows the same error, please share the exact full command you've used to run the |
@sharat87 here are the set of commands i am running after setting up the repo as per the docs
on accessing |
Hi @dilippitchika @sharat87 @chandannkumar |
@avijeetpandey, that looks odd. Can you share the output of the |
@chandannkumar @keyurparalkar @dilippitchika I was going through this issue and I have found the buggy code. Code LocationThe below image is from /app/client/src/widgets/TableWidgetV2/component/TableStyledWrappers.tsx What's the issueWe are adding Proposed solutionWith CSS - We can add With JS - We can directly add the disable condition on the onClick event. Please suggest to me how to proceed. |
Greetings @harrybasra95 thanks for showing interest 🎉 , This is all your. Assigning this to you now. Please don't forget to read the Contribution Guidelines. Would appreciate if you can open a PR within the next 2 days. let us know here |
@harrybasra95 can you proceed with the JS solution where we add a disable condition to the onClick event |
@keyurparalkar Is this resolved, I can open a PR if required? |
@harshitpandey0426 thanks for showing interest but the PR has already been raised for it. |
Hi, is this issue still open, and it is client-side only?, I want to contribute |
…#25119) ## Description This PR fixes the issue mentioned below by preventing the click event when the next page button is disabled and when it is table's last page. #### PR fixes following issue(s) Fixes #22477 #### Type of change - Bug fix (non-breaking change which fixes an issue) ## Testing #### How Has This Been Tested? - [x] Manual - [ ] Jest - [ ] Cypress - should check whether the next page button is disabled and not clickable when last page is reached #### Test Plan > Add Testsmith test cases links that relate to this PR > > #### Issues raised during DP testing > Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR) > > > ## Checklist: #### Dev activity - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] PR is being merged under a feature flag #### QA activity: - [ ] [Speedbreak features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-) have been covered - [ ] Test plan covers all impacted features and [areas of interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-) - [ ] Test plan has been peer reviewed by project stakeholders and other QA members - [ ] Manually tested functionality on DP - [ ] We had an implementation alignment call with stakeholders post QA Round 2 - [ ] Cypress test cases have been added and approved by SDET/manual QA - [ ] Added `Test Plan Approved` label after Cypress tests were reviewed - [ ] Added `Test Plan Approved` label after JUnit tests were reviewed
Is there an existing issue for this?
Description
In Table widget, when pagination reach to it's last page the icon seems disabled but we can still Click on it and see rendering of data.
Steps To Reproduce
SELECT * FROM users ORDER BY id LIMIT {{Table2.pageSize}} offset {{Table2.pageOffset}}
Public Sample App
No response
Environment
Production
Issue video log
https://www.loom.com/share/bad8d690647c4583b7e82d6092a1ccbe
Version
Cloud / Production
The text was updated successfully, but these errors were encountered: