usememos / memos

An open-source, lightweight note-taking solution. The pain-less way to create your meaningful notes. Your Notes, Your Way.
https://usememos.com
MIT License
34.58k stars 2.49k forks source link

feat: add pull to refresh for PagedMemoList #4128

Closed nlfox closed 6 days ago

nlfox commented 1 week ago

https://github.com/usememos/memos/issues/1789 Although above issue is fixed, tap to reload still a bit hard to find and non-intuitive, I feel adding pull to refresh feature will make user experience better.

image

Looks like this^

GIF:

image

boojack commented 1 week ago

Can we customize the element of loader, the current one's style doesn't fit Memos very well.

nlfox commented 1 week ago

Can we customize the element of loader, the current one's style doesn't fit Memos very well.

Yes we can, what kind of style do you suggest? do you have some specific icon that you want to use? Like here: https://loading.io/css/ Or I just reuse elements currently in project like

      <div className="w-full flex flex-row justify-center items-center my-4">
            <LoaderIcon className="animate-spin text-zinc-500" />
          </div>

you can choose one, I will make code change. I can pm you the demo site (in discord maybe?)