nextcloud / nextcloud/maps

Load relevant photos for current map sector only

Open
#317 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature: 🖼 photos
Dominant language
JavaScript
Stars
598
Forks
113
PR merge metrics
No merged PRs in 30d

Description

Hi,

I have some photos on my cloud (17,842 are currently initialized) and if I want to show them on the map it takes very long (1.8min) until apps/maps/photos request is done. After that the previews start to load. Browser performance breaks down, but it is okay. All in all it takes around 5 minutes.

Whatever, I think that it would make sense to filter the response of photos to the current view of the map.

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the apps/maps/photos request and the code that determines the current map viewport; the issue names no files or tests. Confirm where photo data is requested and how the map sector is represented. Done means the response is limited to photos relevant to the visible sector and the long initial loading reported here is addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, frontend, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.