Title: Jump to end problematic for some text files · Issue #291 · larray-project/larray-editor · GitHub
Open Graph Title: Jump to end problematic for some text files · Issue #291 · larray-project/larray-editor
X Title: Jump to end problematic for some text files · Issue #291 · larray-project/larray-editor
Description: There are several issues when jumping to the end of some CSV files navigation keys are broken in that case (e.g. pressing "down" just goes back to the beginning of the file) blank data I suppose this is when the file is large enough to n...
Open Graph Description: There are several issues when jumping to the end of some CSV files navigation keys are broken in that case (e.g. pressing "down" just goes back to the beginning of the file) blank data I suppose th...
X Description: There are several issues when jumping to the end of some CSV files navigation keys are broken in that case (e.g. pressing "down" just goes back to the beginning of the file) blank data I ...
Opengraph URL: https://github.com/larray-project/larray-editor/issues/291
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Jump to end problematic for some text files","articleBody":"There are several issues when jumping to the end of some CSV files\n * navigation keys are broken in that case (e.g. pressing \"down\" just goes back to the beginning of the file)\n * blank data\n\nI **suppose** this is when the file is large enough to not be entirely indexed at once AND the initially computed average line size is larger than the real average, which makes it try to read too far into the file, and thus gets a partial or even empty block. \n\nWe should generally implement a better behavior when read() returns fewer lines than what we expected, but could also special-case when the last \"block of lines\" is asked for and read backward (until we get enough lines) from the end of the file in that case. We should have a way from the adapter to signal that the shape and labels need to be updated immediately in that case.\n\nAlternatively (or in addition to the above, I am unsure), we could implement a different behavior when we are entirely (ie including start_line) in non-indexed land: instead of trying to get the exact lines from start_line to stop_line (which could be beyond the end of the file), compute a stop_percent (a percentage of the file size in **bytes**) and then read as many chunks backward as necessary to get the desired number of lines (stop_line - start_line).","author":{"url":"https://github.com/gdementen","@type":"Person","name":"gdementen"},"datePublished":"2025-12-01T14:25:30Z","url":"https://github.com/larray-project/larray-editor/issues/291"}
| 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:02d6c672-5728-40e2-d4da-f9b1a20a167f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF2C:23FDF9:1FD29D5:2B57A2A:6B002128 |
| html-safe-nonce | c835755ca5b1b47a2b968237a37f8c7127aaf300a9f74416a44f244b9be7821f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjJDOjIzRkRGOToxRkQyOUQ1OjJCNTdBMkE6NkIwMDIxMjgiLCJ2aXNpdG9yX2lkIjoiODgxMzIwNTA3OTk0ODUzNDA1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8ebcdc81710527efe38ba9f86bb4491919fef7f805ca71f48f90765c02af255e |
| hovercard-subject-tag | issue:3681258011 |
| 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/larray-project/larray-editor/291/issue_layout |
| twitter:image | https://opengraph.githubassets.com/65c3246881069a3e33729933cdf4926b4d3f78fa25789ae11c388d70644c69d8/larray-project/larray-editor/issues/291 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/65c3246881069a3e33729933cdf4926b4d3f78fa25789ae11c388d70644c69d8/larray-project/larray-editor/issues/291 |
| og:image:alt | There are several issues when jumping to the end of some CSV files navigation keys are broken in that case (e.g. pressing "down" just goes back to the beginning of the file) blank data I suppose th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gdementen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| turbo-cache-control | no-preview |
| go-import | github.com/larray-project/larray-editor git https://github.com/larray-project/larray-editor.git |
| octolytics-dimension-user_id | 26460981 |
| octolytics-dimension-user_login | larray-project |
| octolytics-dimension-repository_id | 95664837 |
| octolytics-dimension-repository_nwo | larray-project/larray-editor |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 95664837 |
| octolytics-dimension-repository_network_root_nwo | larray-project/larray-editor |
| 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 | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width