photoprism/photoprism

UX: Re-implement "pull to refresh" gesture to refresh search results on mobile devices

Open

#4,777 建立於 2025年2月7日

在 GitHub 查看
 (2 留言) (0 反應) (1 負責人)Go (39,670 star) (2,263 fork)batch import
help wantedmobileux

描述

As a mobile device user, I would like to use the "pull to refresh" gesture in a way that works well with modal dialogs and toolbars displayed over the search results:

  • A possible solution would be to refactor the search result views to use this component, which is included in the latest version of Vuetify 3: https://vuetifyjs.com/en/components/pull-to-refresh/
  • This will probably require moving the result scrollbar from the body to a div element, which may also allow the search toolbar to become sticky (TBD).
  • Alternatively, the touch/pointer event handlers could be attached differently, e.g. the UI could listen to the touchend event instead of the touchmove event.

Related Issues

貢獻者指南