{"action":"created","issue":{"url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/1741","labels_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/1741/labels{/name}","comments_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/1741/comments","events_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/1741/events","html_url":"https://github.com/Jermolene/TiddlyWiki5/issues/1741","id":77370149,"number":1741,"title":"Loading perma-url containing non-existing Draft should open the original in Edit","user":{"login":"twMat","id":4534056,"avatar_url":"https://avatars.githubusercontent.com/u/4534056?v=3","gravatar_id":"","url":"https://api.github.com/users/twMat","html_url":"https://github.com/twMat","followers_url":"https://api.github.com/users/twMat/followers","following_url":"https://api.github.com/users/twMat/following{/other_user}","gists_url":"https://api.github.com/users/twMat/gists{/gist_id}","starred_url":"https://api.github.com/users/twMat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twMat/subscriptions","organizations_url":"https://api.github.com/users/twMat/orgs","repos_url":"https://api.github.com/users/twMat/repos","events_url":"https://api.github.com/users/twMat/events{/privacy}","received_events_url":"https://api.github.com/users/twMat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-17T18:52:18Z","updated_at":"2015-05-18T07:37:55Z","closed_at":null,"body":"[Note: The following is possibly related to - i.e affected by any decisions in - the ongoing discussion #1202 about the display of Drafts as independent entities.]\r\n\r\nI propose that loading a permalink to a Draft should, even if the draft is undefined, load the original tiddler in Draft mode.\r\n\r\nThe major reason is because IMO it should \"simply work like this\". If I happen to know that I want to load a tiddler in edit mode, then I should be able to do so straight away. A general scenario (that I've encountered quite a few times) is when I've somehow messed up a tiddler to the degree where I can't easily access it for edit. (Need I specify examples?)\r\n\r\nAnother, perhaps smaller, reason is for a tiddler I'm composing for tw.com. It encourages the visitor to \"play around\", primarily to remove the scare of \"breaking something\" and the weirdness of changing stuff on someones site on the web. It also serves to engage them so to hopefully hook them. As part of this tiddler, I explain that if their experimenting messes up \"too much\" they can simply reload the page. And if they want to return immediately to the same tiddlers, they can create a permalink before reloading. Again, this should create a better \"feel\" for how TW works.\r\n...buuut to not have them reload and get \"Draft is undefined\", I hope it can simply open the tiddler in edit mode instead.\r\n\r\nIf there is no original title (either), then the \"Draft is undefined\" is justified."},"comment":{"url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/comments/102951543","html_url":"https://github.com/Jermolene/TiddlyWiki5/issues/1741#issuecomment-102951543","issue_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/1741","id":102951543,"user":{"login":"pmario","id":374655,"avatar_url":"https://avatars.githubusercontent.com/u/374655?v=3","gravatar_id":"","url":"https://api.github.com/users/pmario","html_url":"https://github.com/pmario","followers_url":"https://api.github.com/users/pmario/followers","following_url":"https://api.github.com/users/pmario/following{/other_user}","gists_url":"https://api.github.com/users/pmario/gists{/gist_id}","starred_url":"https://api.github.com/users/pmario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmario/subscriptions","organizations_url":"https://api.github.com/users/pmario/orgs","repos_url":"https://api.github.com/users/pmario/repos","events_url":"https://api.github.com/users/pmario/events{/privacy}","received_events_url":"https://api.github.com/users/pmario/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T07:37:55Z","updated_at":"2015-05-18T07:37:55Z","body":">I'm afraid I don't understand your optional examples.\r\n\r\nWhat I suggest is, that we could support [URL query strings](http://en.wikipedia.org/wiki/Query_string)\r\n\r\nAt the moment TW accepts permalinks and permaviews:\r\n\r\n- permalink:  `http://tiddlywiki.com/#HelloThere`\r\n- permaview: `http://tiddlywiki.com/#HelloThere:HelloThere%20GettingStarted%20Community`\r\n- filter: `http://tiddlywiki.com/#:[tag[task]]`\r\n\r\nIt would be possible to add something like this: \r\n\r\n- query string: `http://tiddlywiki.com/?title=hello` or\r\n- query string: `http://tiddlywiki.com/?title=hello&filter=[tag[task]]` \r\n\r\nWhere the first one searches for the field `title` and its value `hello`\r\nThe second one adds a filter `[tag[task]]` to the query. \r\n\r\n- edit could be: `http://tiddlywiki.com/&edit=HelloThere`\r\n\r\nThe exact format of the URL needs to be ironed out, but imo you get the idea now. \r\n\r\nSo the TW edit template could contain a new \"permalink\" button that creates `http://tiddlywiki.com/&edit=HelloThere` which imo is much clearer as your initial OP. eg: no hard coded \"Draft of\" dependency.  ...\r\n\r\n - If HelloThere exists, it opens it in edit mode\r\n - If HelloThere doesn't exist, it may open a new tiddler named HelloThere in edit mode. readOnly mode may ignore \"edit\" commands, but work with permalinks and filters ... \r\n\r\n\r\n\r\n"}}