1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-09 11:29:58 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/mechanisms/UpgradeMechanism.tid

39 lines
1.6 KiB
Plaintext
Raw Normal View History

2014-07-12 08:09:36 +00:00
title: UpgradeMechanism
modified: 20140711090154150
created: 20140711090154150
2014-09-11 19:12:25 +00:00
tags: Mechanisms
2014-07-12 08:09:36 +00:00
# Open upgrade.html
# Includes a data tiddler called `$:/UpgradeLibrary` that contains the latest compatible versions of all plugins in the library
# Drag in old wiki file
# Place tiddlers into a data tiddler `$:/Import` that is typed as a "pending import"
# Kick off import processing for each tiddler
## Give each "upgrader" module a chance to inspect the incoming tiddlers
## Upgrader modules can trigger actions for each tiddler:
##* Display a warning message
##* Don't import
##* Replace with another tiddler from the upgrade library
##* Disable incompatible plugins
# Display the newly created pending import tiddler through a new view template segment
## Displays the payload tiddlers as a list of titles and checkboxes, with a dropdown showing the full details of the tiddler
## Perhaps we also suppress the usual JSON display for data tiddlers behind a reveal widget
# The user can adjust the selection checkboxes
2014-07-14 16:58:50 +00:00
# Clicking "done" unpacks the selected tiddlers from the pending import tiddler
# The pending import tiddler and the upgrade library tiddler are excluded from the subsequent save operation
2014-07-12 08:09:36 +00:00
! ToDo
* Incoming tiddler preview
2014-07-16 09:06:31 +00:00
* ~~Better display text for plugins~~
* ~~Better handling of encrypted upgrades~~
2014-07-14 16:58:50 +00:00
* Docs
* ~~Add upgrade plugin containing instructions and one-shot UI~~
2014-07-14 13:53:27 +00:00
* ~~Suppressing $:/UpgradeLibrary and upgrade plugin from save~~
2014-07-12 08:09:36 +00:00
* ~~Checkboxes~~
* ~~Visual difference for suppressed tiddlers~~
2014-07-15 12:11:25 +00:00
* Translation of upgrade wizard
2014-07-16 19:30:15 +00:00
! NoToDo
* Grouping plugins - not possible without extending the core