Opened 11 years ago
Last modified 15 months ago
#9908 reopened enhancement
[WIP patch] Filter downloaded notes
Reported by: | skyper | Owned by: | ToeBee |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core notes | Version: | |
Keywords: | filter github | Cc: | iandees, Klumbumbus |
Description (last modified by )
It would be nice to filter notes and to only download requested. Several filter options come to my mind:
- by user (exclude + only mentioned)
- by status
- I often want to get rid of closed ones as the system gets quite slow with lots of notes.
- by time (span of time, creation + closed)
Maybe even a combination would be cool in order to find only the notes closed by a certain user in a specific timespan.
Attachments (2)
Change History (19)
comment:1 by , 11 years ago
Cc: | added |
---|
comment:2 by , 11 years ago
Keywords: | github added |
---|---|
Resolution: | → othersoftware |
Status: | new → closed |
follow-up: 5 comment:3 by , 10 years ago
Resolution: | othersoftware |
---|---|
Status: | closed → reopened |
As notes is integrated into core this enhancement request is back.
P.S.: Do we need an new component "Core notes" ?
follow-up: 7 comment:5 by , 10 years ago
Replying to skyper:
P.S.: Do we need an new component "Core notes" ?
I will rename the "plugin notes" component to "core notes" when we deprecate the plugin.
@ToeBee: can we do that now, or are there some features in the plugin we don't offer yet in core?
follow-up: 8 comment:6 by , 10 years ago
I'd be fine with renaming. I think the only feature that hasn't been put into core yet is to use the API search functionality to download notes.
comment:7 by , 10 years ago
comment:8 by , 10 years ago
Replying to ToeBee:
I'd be fine with renaming. I think the only feature that hasn't been put into core yet is to use the API search functionality to download notes.
Did you implement "Open in Webbrowser", yet, or is there at least the id visible ?
By the way, I can only download and open new notes but all other actions are unavailable (greyed out) atm with r7787. Is this intended or should I open a new ticket ?
comment:9 by , 10 years ago
Cc: | added |
---|
comment:10 by , 7 years ago
comment:11 by , 4 years ago
There were some enhancements committed to search by user and dates, see #1955
comment:12 by , 4 years ago
Description: | modified (diff) |
---|
According to the API description, searching aka filtered download is now possible. See API_v0.6#Search_for_notes:_GET_/api/0.6/notes/search.
by , 4 years ago
Attachment: | Screenshot 2021-04-07 at 23.50.46.png added |
---|
comment:14 by , 4 years ago
/api/0.6/notes/search does not support filtering by a bounding box, e.g., https://api.openstreetmap.org/api/0.6/notes/search?bbox=11,47,12,48&q=trail
comment:15 by , 4 years ago
Summary: | Filter notes → Filter downloaded notes |
---|
comment:16 by , 15 months ago
I'm a bit uncertain if this issue is about filtering notes before downloading or after downloading. Title suggests after but content seems to be about before. I will assume before.
I'm posting to let anyone interested know that I'm working on an action that will use some more features of the current OSM API to select which notes to download. When done and tested it should replace the current "Search notes..." action.
The current state is that matching on a string and/or a username works. It is also possible to change some settings for this one query (or use the defaults from preferences). It should be usable and should not have any negative effects. It probably is lacking in the UI and several features of the OSM API is still missing.
I will attach a patch for what I have so far, any comments are welcome.
comment:17 by , 15 months ago
Summary: | Filter downloaded notes → [WIP patch] Filter downloaded notes |
---|
by , 14 months ago
Attachment: | wip-notes-download.patch added |
---|
Work In Progress on new notes download action.
upstream ticket: https://github.com/iandees/josm-notes/issues/24