mazipan / tanyaaja.in

❓Kumpulkan pertanyaan secara anonim dari siapa saja dengan mudah
https://tanyaaja.in
MIT License
138 stars 38 forks source link

FEAT: pagination question #95

Closed FarhanRafid97 closed 1 year ago

FarhanRafid97 commented 1 year ago

Closes #93

Description

implementasi pagination for question list on account page with useInfiniteQuery

preview download.webm

Tangkapan Layar 2023-10-17 pukul 19 31 30

vercel[bot] commented 1 year ago

Someone is attempting to deploy a commit to a Personal Account owned by @mazipan on Vercel.

@mazipan first needs to authorize it.

mazipan commented 1 year ago

Can we check the optimistic update when doing some actions, such as mark as done and toggle public/private?

FarhanRafid97 commented 1 year ago

It seems like i need to update the code for updating the data, as the return pagination structure has already changed.

Tangkapan Layar 2023-10-17 pukul 20 36 32

Tangkapan Layar 2023-10-17 pukul 20 39 01

FarhanRafid97 commented 1 year ago

I have pushed the latest code, but I'm not sure if this is the best way to address the update and delete question issues.

7602cbd3-8020-4f1e-8fec-4327d8a69434.webm

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tanyaaja ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 18, 2023 8:20pm
mazipan commented 1 year ago

Gagal di build, bantu check build nya juga ya

FarhanRafid97 commented 1 year ago

gagal build gara2 useCustomOgByUser ketimpa useQuestionListPagination :facepalm:

mazipan commented 1 year ago

LGTM 🚀🎉