Title: General pagination · Issue #3907 · coder/coder · GitHub
Open Graph Title: General pagination · Issue #3907 · coder/coder
X Title: General pagination · Issue #3907 · coder/coder
Description: We want to support deployments with hundreds of users by the end of the year. Many of our current views do not support this kind of scale. Paginate Workspaces page Paginate Users page #4518 Only support pagination on resource lists with ...
Open Graph Description: We want to support deployments with hundreds of users by the end of the year. Many of our current views do not support this kind of scale. Paginate Workspaces page Paginate Users page #4518 Only su...
X Description: We want to support deployments with hundreds of users by the end of the year. Many of our current views do not support this kind of scale. Paginate Workspaces page Paginate Users page #4518 Only su...
Opengraph URL: https://github.com/coder/coder/issues/3907
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"General pagination","articleBody":"We want to support deployments with hundreds of users by the end of the year. Many of our current views do not support this kind of scale.\r\n\r\n- [x] Paginate Workspaces page\r\n- [x] Paginate Users page\r\n- [x] #4518\r\n- [x] Only support pagination on resource lists with a search present\r\n- [x] Do not force pagination so API/CLI usage is not paginated (e.g. optional query params)\r\n- [x] make it mobile friendly (maybe only prev, current, next)\r\n- [x] #5092\r\n- [x] refactor all pagination (Users, Workspaces, and Audit Log) to use window functions so that there is one endpoint and one SQL query per paginated feature\r\n\r\nWe can leave the Templates page as is. We assume the number of templates will grow logarithmically with the number of users. \r\n\r\nIn the future we may want to paginate:\r\n- Groups page\r\n - users within groups\r\n- Build log\r\nBut they're not a priority now.\r\n\r\nWe'll follow the pattern of pagination used in the Audit Log - limit/offset style pagination, with controls allowing the user to go forward, back, or to a specific page.\r\n\r\nWe will not apply pagination to the CLI because losing an entry due to the limit/offset style could be problematic there.\r\n\r\nEach page needs both the item fetching to be paginated and a count endpoint. They're separate endpoints so that the count one can be called less frequently, as it's more expensive.","author":{"url":"https://github.com/ammario","@type":"Person","name":"ammario"},"datePublished":"2022-09-06T18:22:55Z","url":"https://github.com/coder/coder/issues/3907"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bb51361e-cf2e-657f-1ac3-7ca65cb01ae1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA78:1F65:1D59CDC:255211E:6B01B8AB |
| html-safe-nonce | f8c3b8557e5d17dd3b466e6afd09b36a29fb8a70fdae4e34c8a8721de47b59fb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTc4OjFGNjU6MUQ1OUNEQzoyNTUyMTFFOjZCMDFCOEFCIiwidmlzaXRvcl9pZCI6IjYyNjQxMDQzMjcyMDQ0MTk3NTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2c178d43e5b1d9e1ee0a4edf34b972e8ece32c8264339035fbe2c88f5cc76284 |
| hovercard-subject-tag | issue:1363657308 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/3907/issue_layout |
| twitter:image | https://opengraph.githubassets.com/be009e72847e7237146346289f8ccb3bada6f7faf3815871035d594f692908cb/coder/coder/issues/3907 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/be009e72847e7237146346289f8ccb3bada6f7faf3815871035d594f692908cb/coder/coder/issues/3907 |
| og:image:alt | We want to support deployments with hundreds of users by the end of the year. Many of our current views do not support this kind of scale. Paginate Workspaces page Paginate Users page #4518 Only su... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ammario |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width