Modify

Opened 6 years ago

Closed 14 months ago

Last modified 13 months ago

#17052 closed enhancement (fixed)

[PATCH][RFC] Support saving the TODO list content in the session file (requires changes to core)

Reported by: naoliv Owned by: team
Priority: normal Milestone: 23.11
Component: Core Version:
Keywords: Cc:

Description

It would be extremely welcome if we could save a session and also have the items in our TODO list included on it (so opening a session would restore the list, allowing us to fix/verify whatever was pending).

JOSM:

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-11-28 01:09:01 +0100 (Wed, 28 Nov 2018)
Revision:14460
Build-Date:2018-11-28 00:26:41
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (14460 en) Linux Debian GNU/Linux testing (buster)
Memory Usage: 855 MB / 6144 MB (245 MB allocated, but free)
Java version: 11.0.1+13-Debian-2, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1600x900, :0.1 1280x1024
Maximum Screen Size: 1600x1024
Java package: openjdk-11-jre:amd64-11.0.1+13-2
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-21
VM arguments: [-Dawt.useSystemAAFontSettings=gasp]
Program arguments: [--language=en]
Dataset consistency test: No problems found

Plugins:
+ OpeningHoursEditor (34535)
+ PicLayer (34544)
+ SimplifyArea (34586)
+ apache-commons (34506)
+ buildings_tools (34724)
+ download_along (34503)
+ ejml (34389)
+ geojson (87)
+ geotools (34513)
+ jaxb (34506)
+ jts (34524)
+ log4j (34527)
+ measurement (34529)
+ merge-overlap (34664)
+ opendata (34698)
+ poly (34546)
+ reverter (34552)
+ tageditor (34560)
+ todo (30306)
+ turnlanes-tagging (272)
+ turnrestrictions (34643)
+ undelete (34568)
+ utilsplugin2 (34506)

Attachments (2)

17052.core.patch (24.4 KB ) - added by taylor.smock 15 months ago.
Core changes
17052.todo.patch (11.4 KB ) - added by taylor.smock 15 months ago.
Todo changes

Download all attachments as: .zip

Change History (8)

comment:1 by taylor.smock, 16 months ago

This really needs JOSM to add an interface for non-layer session exporters.

At this time, JOSM requires all session exporters to be dependent upon a layer.

comment:2 by martien-vdg, 16 months ago

I would welcome any way to save an unfinished todo list.

Eg working with the Tasking Manager, adding say 50 "Ready for validation" tasks to the todo list, then sanity checking them for missing buildings. Suppose when done 30 i have to stop, to proceed the following day. How nice would it be that i could somehow keep the remaining 20 unchecked tasks in the todo list for the next day.

comment:3 by taylor.smock, 15 months ago

Component: Plugin todoCore
Milestone: 23.09
Owner: changed from Gnonthgol to team
Summary: Support saving the TODO list content in the session file[PATCH][RFC] Support saving the TODO list content in the session file (requires changes to core)

by taylor.smock, 15 months ago

Attachment: 17052.core.patch added

Core changes

by taylor.smock, 15 months ago

Attachment: 17052.todo.patch added

Todo changes

comment:4 by taylor.smock, 14 months ago

Resolution: fixed
Status: newclosed

In 18833/josm:

Fix #17052: Allow plugins to save state to session file

The primary feature request was for the TODO plugin to save the list elements for
a future session.

This allows plugins to register via ServiceLoader classes which need to be
called to save or restore their state.

In addition, this fixes an ordering issue with tests whereby the OsmApi cache
would be cleared, but the FakeOsmApi class would not recache itself when called.

comment:5 by taylor.smock, 14 months ago

Milestone: 23.0923.10

Ticket retargeted after milestone deleted

comment:6 by taylor.smock, 13 months ago

Milestone: 23.1023.11

Ticket retargeted after milestone deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.