Modify

Opened 9 years ago

Last modified 2 years ago

#9908 reopened enhancement

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 skyper)

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 (1)

Screenshot 2021-04-07 at 23.50.46.png (321.6 KB) - added by simon04 2 years ago.

Download all attachments as: .zip

Change History (16)

comment:1 Changed 9 years ago by skyper

Cc: iandees added

comment:2 Changed 9 years ago by Don-vip

Keywords: github added
Resolution: othersoftware
Status: newclosed

comment:3 Changed 8 years ago by skyper

Resolution: othersoftware
Status: closedreopened

As notes is integrated into core this enhancement request is back.

P.S.: Do we need an new component "Core notes" ?

comment:4 Changed 8 years ago by skyper

See also #9907 with a similar scenario.

comment:5 in reply to:  3 ; Changed 8 years ago by Don-vip

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?

comment:6 Changed 8 years ago by 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.

comment:7 in reply to:  5 Changed 8 years ago by skyper

Replying to Don-vip:

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.

Well, I can live with "plugin notes", so far, and enhancements might be valid for both.

comment:8 in reply to:  6 Changed 8 years ago by skyper

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 Changed 8 years ago by Klumbumbus

Cc: Klumbumbus added

comment:10 Changed 6 years ago by Don-vip

The Notes API is still very limited. We can only search for notes on text and comments, not on users and dates.
There are a few tickets aiming at improving the Notes API:

comment:11 Changed 3 years ago by skyper

There were some enhancements committed to search by user and dates, see #1955

comment:12 Changed 2 years ago by skyper

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.

comment:13 Changed 2 years ago by Don-vip

Ticket #20583 has been marked as a duplicate of this ticket.

Changed 2 years ago by simon04

comment:14 Changed 2 years ago by simon04

/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

The UI could be inspired by the changeset query dialog:

comment:15 Changed 2 years ago by Don-vip

Summary: Filter notesFilter downloaded notes

Modify Ticket

Change Properties
Set your email in Preferences
Action
as reopened The owner will remain ToeBee.
as The resolution will be set.
to The owner will be changed from ToeBee to the specified user.
The owner will change to skyper
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.