{"action":"created","issue":{"url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/2198","repository_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5","labels_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/2198/labels{/name}","comments_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/2198/comments","events_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/2198/events","html_url":"https://github.com/Jermolene/TiddlyWiki5/issues/2198","id":125758528,"number":2198,"title":"Proposal: Make use of url to influence the boot (starting) of TiddlyWiki","user":{"login":"felixhayashi","id":4307137,"avatar_url":"https://avatars.githubusercontent.com/u/4307137?v=3","gravatar_id":"","url":"https://api.github.com/users/felixhayashi","html_url":"https://github.com/felixhayashi","followers_url":"https://api.github.com/users/felixhayashi/followers","following_url":"https://api.github.com/users/felixhayashi/following{/other_user}","gists_url":"https://api.github.com/users/felixhayashi/gists{/gist_id}","starred_url":"https://api.github.com/users/felixhayashi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixhayashi/subscriptions","organizations_url":"https://api.github.com/users/felixhayashi/orgs","repos_url":"https://api.github.com/users/felixhayashi/repos","events_url":"https://api.github.com/users/felixhayashi/events{/privacy}","received_events_url":"https://api.github.com/users/felixhayashi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-01-09T13:04:58Z","updated_at":"2016-09-06T12:33:48Z","closed_at":"2016-01-29T14:15:41Z","body":"I think using URL ~~get parameters~~ to influence how the wiki starts would be a big plus for TiddlyWiki in general. \r\n\r\n**Status quo**\r\n\r\nAt the moment, the TiddlyWiki may be already partly influenced using the URL: The user can include in the link which tiddlers to open.\r\n\r\n**Suggestion**\r\n\r\n**edit** GET parameters should not be used, but something else e.g. how angular does it (GET notation but behind hashtag).\r\n\r\nAdd a URL parsing module (see \"implementation\" below) and a set of rules (get parameters) that influence the wiki. For example:\r\n\r\n* search=hello\r\n  * prepopulates the search field with hello world\r\n* view=storyviewXY\r\n  * Starts the wiki in storyviewXY\r\n* theme=tight\r\n  * Starts the wiki in theme \"tight\".\r\n* tab=recent\r\n  * Opens the recent tab at beginning\r\n* …\r\n\r\nURL looks like: `http://tiddlywiki.com#?search=hello&theme=tight`\r\n\r\nPossibilities are endless and the benefit is big. For example you can now store a bookmark with different start modes of your wiki. Or you can send a link to your wiki to a friend with certain setup that opens your wiki in a certain predefined way: **Imagine:** How cool would it be if you sent somebody a link that starts your wiki using a presentation theme?\r\n\r\n**Implementation**\r\n\r\n~~I looked at several light weight apis for URL parsing/manipulation and I would suggest to include: https://github.com/Mikhus/jsurl. I will use it in the next TiddlyMap release as a module already.~~\r\n\r\n**Proof of concept**\r\n\r\nIn the next release of TiddlyMap, I will include an option to influence how TiddlyMap starts when the page is loaded in the browser (https://github.com/felixhayashi/TW5-TiddlyMap/issues/130).\r\n\r\nThis way, a user will be able to send somebody a link e.g. …\r\n\r\n http://mywiki.tiddlyspot.com?tmap-enlarged=fullscreen&tmap-view=myview123\r\n\r\n…and it will start in fullscreen showing the view (map) myview123\r\n\r\n* Quick demo: https://github.com/felixhayashi/TW5-TiddlyMap/issues/130#issuecomment-169867952\r\n\r\n-Felix"},"comment":{"url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/comments/244936006","html_url":"https://github.com/Jermolene/TiddlyWiki5/issues/2198#issuecomment-244936006","issue_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/2198","id":244936006,"user":{"login":"Jermolene","id":174761,"avatar_url":"https://avatars.githubusercontent.com/u/174761?v=3","gravatar_id":"","url":"https://api.github.com/users/Jermolene","html_url":"https://github.com/Jermolene","followers_url":"https://api.github.com/users/Jermolene/followers","following_url":"https://api.github.com/users/Jermolene/following{/other_user}","gists_url":"https://api.github.com/users/Jermolene/gists{/gist_id}","starred_url":"https://api.github.com/users/Jermolene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jermolene/subscriptions","organizations_url":"https://api.github.com/users/Jermolene/orgs","repos_url":"https://api.github.com/users/Jermolene/repos","events_url":"https://api.github.com/users/Jermolene/events{/privacy}","received_events_url":"https://api.github.com/users/Jermolene/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T12:33:47Z","updated_at":"2016-09-06T12:33:47Z","body":"@danielo515 there is nothing to prevent you from writing a startup module in a plugin that extracts data from the URL query parameters."}}
{"actor":{"display_login":"Jermolene"}}