appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.21k stars 3.71k forks source link

Improve documentation for table pagination #8210

Closed eco-monk closed 1 year ago

eco-monk commented 3 years ago

Widget: Table Feature: Server Side Pagination

https://docs.appsmith.com/widget-reference/table And some tooltips on the property pane of a table.


Problem description

Explanations given for the feature could be clearer. So the users find it easier to implement it in their tables.

Example of some properties:


Describe the improvement

The critical information the user needs to know, in order to implement server side pagination is as follows:

(Please add to this if I have missed/misunderstood something)


Suggested changes

P.S. Also consider reviewing other tooltips and documentations pertaining paginations, which may not be mentioned here.

idivyanshbansal commented 3 years ago

Can I do this job

somangshu commented 3 years ago

Hey @idivyanshbansal, this issue still under going triaging, We will inform you once we are done, If you are still interested then, we will assign it to you. Meanwhile feel free to look at other issues under good first issues & hacktoberfest to find relevant issue you might be interested in.

idivyanshbansal commented 3 years ago

Hey @idivyanshbansal, this issue still under going triaging, We will inform you once we are done, If you are still interested then, we will assign it to you. Meanwhile feel free to look at other issues under good first issues & hacktoberfest to find relevant issue you might be interested in.

OK @somangshu sir

idivyanshbansal commented 3 years ago

@somangshu Sir, please review this I was assigned but no one viewing https://github.com/appsmithorg/appsmith/pull/8364

somangshu commented 3 years ago

@somangshu Sir, please review this I was assigned but no one viewing #8364

Added reviewers to the PR, Without this our team is not notified of the PR

idivyanshbansal commented 3 years ago

@somangshu Sir, please review this I was assigned but no one viewing #8364

Added reviewers to the PR, Without this out team is not notified of the PR

Thank you @somangshu sir. Have a great day! 😄

ajinkyakulkarni commented 2 years ago

Additional internal discussion about this - https://theappsmith.slack.com/archives/CGBPVEJ5C/p1643702368121879

dilippitchika commented 2 years ago

Reach: 250 in last 6 months Impact: High

Pranay105 commented 2 years ago

@dilippitchika please review this and pass it to @jnikhila https://docs.appsmith.com/core-concepts/displaying-data-read/display-data-tables#pagination

jnikhila commented 2 years ago

Properties - Table Record Count and onPageSizeChange added and available on docs.appsmith.com.

dilippitchika commented 2 years ago

Feedback for docs only - https://docs.appsmith.com/core-concepts/displaying-data-read/display-data-tables#pagination

Thought process

  1. Are the pre-requisites clear - PageSize, PageNo, Using the same query
  2. Is the process clear - Each step broken down for the table

Items noted

  1. Currently there's no information on what PageSize and PageNo are in the page we need to link it or expand on it
  2. We need to show the steps sequentially on how to configure pagination we are talking about it on a high level. A video will help better here
    • Switch on Server side pagination
    • Update the query
    • Bind the onPageChange event to the same query
    • Add a new query for total record count
    • Bind the result to total record count

[DONE] onPageSizeChange - This should be a separate section as this can only work when the developer is resizing the table. This has indirect impact on pagination and can be mentioned in the table's documentation rather than here.

CC - @jnikhila @Pranay105

jnikhila commented 2 years ago

@danciaclara - Please share pointers on the above.

Rishabhkaul commented 1 year ago

@danciaclara Did we manage to do this?

jnikhila commented 1 year ago

@Rishabhkaul - This will be worked about as part of the Rehaul project and is in the pipeline to be picked up. CC: @Pranay105 - FYI, when you start working on this ticket.