Closed rrd108 closed 1 month ago
Hi @rrd108 🖐️
I understand that the ideal and reality you were looking for are as follows. Is it right?
ideal:
actual:
Exactly
https://github.com/nuxt/nuxters/blob/main/components/home/HomeContributors.vue
limit
should be saved to a store / storage.
I think there are several solutions.
limit
even if page transition occurs
・This is probably the story that @rrd108 is proposing.limit
. At the same time, I would like to improve useFetch('/api/contributors')
to narrow down the API response.
・eg. useFetch('/api/contributors', { query: { limit } })
・For many users, acquiring all Nuxters is not necessary, so consider the server load and would like to introduce limit query (or param body).I think this issue is a proposal for a new feature.
I would like to ask @Atinux for your opinion. (if the assignment is wrong, I would appreciate it if you could give me an additional mention 🙏).
I agree with this proposal. This is a good suggestion considering the users.
I agree we can do better.
What about being able to display the Nuxter card as a modal when clicking on the user instead?
Use history.back()
if previous page is homepage ?
I think it won't solve the pagination issue
steps for reproduction
You will again see only the first 100 nuxters. Pagination state is lost.