nextcloud / nextcloud/maps

[Enhancement] Track filters, automatic track colours based on filters

Open
#643 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
598
Forks
113
PR merge metrics
No merged PRs in 30d

Description

I track and store a lot of my outdoor activities, and Maps currently does find and show them well. However, while sorting by date is nice, sometimes I want to look at an older exercise I did a few months ago, but cannot recall the exact date. It would be nice to somehow be able to filter tracks by e.g. average speed, or total distance. I imagine it could look something like
map-with-filter
when a filter is applied, and filters could be selected via the three-dot menu.

Actually, one thing that I think would be nice/fun would also be automatic colour selection of tracks based on such filters. For instance, I have a python script that runs in a terminal, but allocates an "exercise" to each track based on a combination of speed and distance. I would really like to be able to set up and use such filters to automatically assign specific colours to each track.

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

Review the existing track sorting and the three-dot menu entry points, then determine how track data exposes average speed and total distance. Done would include user-configurable filters and automatic track colours based on those filters; the issue names no files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.