Comments (5)
Yoo! Sorry for the delay, been a little busy.
I implemented Pagination and Virtualization 🎉. Now it should feel smoother, I have pushed a minor release 🚀
Insanely cool. It works flawlessly! Thanks for the awesome updates
from tablex.
Hmmm, that all sounds like a solid plan.
I would be keen to try and help out with code if you decide to split up the work into different tasks/PRs. So I will keep an eye on this issue and the repo in general and then will let you know if I'm planning to pick anything up :)
Otherwise I'm happy to just help test stuff :)
from tablex.
Yoo!
Sorry for the delay, been a little busy.
I implemented Pagination and Virtualization 🎉.
Now it should feel smoother, I have pushed a minor release 🚀
from tablex.
Welcome back! 🥳
Thank you again for your descriptive and informative issues ⭐
I anticipated this issue because of ( as you have figured out ) the naive way of handling getting rows, so I was planning to handle this because I think of TableX handling all kinds of DB load ( i.e. big or small data ).
And you had the same thoughts and solutions that came up to me while I was thinking about it!
Let me break down how I think of it:
- Frontend
- As you have mentioned, virtualizing the table view will greatly help with the performance, so I was planning to use Tanstack Virtual for this. ( because we already use the Query & Table so why not :) )
- I am also thinking of implementing
Infinite Scrolling
instead of pagination for now, we already use Tanstack Query which I think has some docs about Infinite Scrolling.
This step though will require some changes in the backend, listed below.
- Backend
- the
get_rows
function should beget_rows_paginated
takingpage
as an input in order to work with Infinite Scrolling.
This change will help us both in the short-term and long-term because in the future I am planning, hopefully, that we implementsettings
where the user can specify whether he wantspagination
+ specifying the limit number of the page orInfinite Scrolling
- the
This change will be quite some work so I might split it into multiple PRs or just smash it into a single one idk yet.
I will keep the issue updated, you are obviously more than welcome if you would like to help in any part or if you would like to continue playing around with TableX and reporting the bugs you encounter. 😄
from tablex.
Something that could be cool could be to have similar behaviour to JetBrains DataGrip, where the results are paginated by default, and you can navigate through the different pages
from tablex.
Related Issues (11)
- Migrate the website to Astro
- Cannot connect to local PostgreSQL DB running in docker HOT 3
- SQLite driver should support all common SQLite file extensions
- TableX ignores cli arguments HOT 3
- Performance: App is sometimes slow to close (takes several seconds) HOT 3
- Migrating the frontend from NextJs to React + Vite
- Support cli args to establish DB connection HOT 2
- No back button HOT 1
- Build fails with "couldn't find a square icon to use as AppImage icon" for commands like `pnpm tauri:debug`
- [FEAT] Visual representation of foreign key relations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tablex.