-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
WIP: fetch libraryItems within store #2102
Conversation
Something I've already ran into... Hitting local storage limits with this route, probably not the best approach... |
Cloudflare Pages deployment
|
Kudos, SonarCloud Quality Gate passed! |
Moved the userItems to a new store that doesn't use Now all objects are being passed on initial load of the page, but that seems to be pretty heavy on the client side rendering all those objects at once. I'm considering lazy-loading the content now that I have all of it. |
@ZachMyers3 First of all, sorry for my delay in answering, I'm full steam on uni atm in the hopes it's the last year. There are a couple of reasons why this issue has been sitting for a while. All our data fetching and stores related to items need huge refactoring because:
This also involves thinking and architecting the application in the following fronts:
Since you landed your PR, I've been tring to give another round in my head and make a plan, so we can get a little bit of the work done. I think this is a good set of baseline requirements:
Hopefully my idea came across clear enough. I understand implementing this at once it's so much, but I think a good baseline for an initial PR would be the database logic, which we can then later apply to the library view. Other stuff will tangle more the mess we're already in, and sadly I won't accept it. If you're willing to accept this extra work, that this PR might get quite some time without a merge and you have the compromise to do so, I'll be grateful and I'd try to help you along the road as much as I can (even though I can be late in my replies, at least this semester). |
@ZachMyers3 Do you have any interest in keep pursuing this? |
For #762
Moving at least the initial fetch of all items for a given library into the store.
Not sure the best route to go after that, passing all the filters in the library view or somehow pass them back into the store.