From 34e55d32625a6e6fd75b5815a75f3e133ed14067 Mon Sep 17 00:00:00 2001 From: Nicolas Petton Date: Fri, 21 May 2021 09:24:16 +0200 Subject: [PATCH] Update demo and empty editions --- docs/demo.html | 96 +++++++++---------- docs/empty.html | 92 +++++++++--------- editions/demo/tiddlers/$__StoryList.tid | 5 +- .../empty-de-DE/tiddlers/$__StoryList.tid | 5 +- .../empty-es-ES/tiddlers/$__StoryList.tid | 5 +- editions/empty/tiddlers/$__StoryList.tid | 5 +- 6 files changed, 94 insertions(+), 114 deletions(-) diff --git a/docs/demo.html b/docs/demo.html index 2a5a847..fdea673 100644 --- a/docs/demo.html +++ b/docs/demo.html @@ -10804,10 +10804,10 @@ Error message and password prompt "title": "$:/plugins/nico/projectify/changelog", "caption": "ChangeLog", "created": "20201208093546936", - "modified": "20210131213115129", + "modified": "20210206205208368", "tags": "", "type": "text/vnd.tiddlywiki", - "text": "! Release 0.13.1\n\n!! Improvements\n\n* New Spanish translation and empty edition\n* New configuration option to show completed tasks by default\n* Move down the \"convert into project\" button in the todo actions dropdown\n\n!! Fixes\n\n* Fix the link of the icon of todos with content not to toggle the state of the todos\n* Fix the filter macro used in the filter dashboard tab\n* Fix the position of the scheduled dropdown in the topbar\n* Fix the rendering of todo captions in the scheduled dropdown\n\n! Release 0.13.0\n\n!! Features\n\n* New Simplified Chinese translation plugin\n* New German translation plugin\n* New icon indicator in todo-lists for tasks that have content\n\n!! Improvements\n\n* Improve the rendering of the checkbox in the titlebar\n* Render the checkbox button before the close button in the titlebar\n* Improve the category selection dropdown\n* When using the Relink plugin, automatically relink project categories\n* Add links to category tiddlers in the control panel\n\n! Release 0.12.0\n\n!! Features\n\n* Add a configuration option to hide welcome messages\n* New filter tab in the dashboard\n* New icons for projects and next actions\n\n!! Improvements\n\n* Improve the rendering of the QuickCapture tiddler\n* Add a dragover style to project cards\n* Improved the layout of the dashboard tabs on mobile\n* New CSS transition on project card mouseover\n\n!! Fixes\n\n* Fix several translation issues\n* If a project has no category, do not render it in the project card\n* Fix the position of the count tag in the Today dashboard tab\n\n! Release 0.11.0\n\n!! Features\n\n* Add support for categories in projects, with colours and filtering from the dashboard\n* New button to convert todos into projects\n* New category configuration tab in the Control Panel\n* New French (fr-FR) language add-on plugin\n* New Dutch (nl-NL) language add-on plugin\n\n!! Improvements\n\n* Render todo items using the new $:/plugins/nico/projectify/ui/todo/TodoCaption template\n* Action buttons in Todo tiddlers are now rendered as regular buttons\n\n! Release 0.10.0\n\n!! Features\n\n* New priority property on todos\n* New configuration tab to the Control Panel\n* New configuration setting for the default dashboard tab\n* New configuration setting for switching between the list and card view of projects\n\n!! Improvements\n\n* New todo item layout\n* Display due dates for yesterday/tomorrow as \"Yesterday\"/\"Tomorrow\"\n* Add support for dragging todos in the welcome message of empty projects and inbox\n* Add welcome screens to the Upcoming and Next Actions tabs of the dashboard\n* Improved dashboard tabs on mobile to fit all tabs on one row\n\n!! Fixes\n\n* Fix an annoying bug where the calendar picker keyboard events stay active after the popup has been closed\n\n! Release 0.9.0\n\n!! Features\n\n* New \"Today\" dashboard tab for todos due today\n* New \"Upcoming\" dashboard tab for all scheduled todos\n\n!! Improvements\n\n* Only show scheduling button in todos that are not scheduled on hover\n* Add a caption and description to ToggleTodo for the control panel\n* Improve the rendering of sidebar sections by setting a max width\n* Update icons and colors of the date-picker\n\n!! Fixes\n\n* Fix the selection of months and years in the date picker\n* Fix the rendering of due dates in Notebook sidebar\n\n! Release 0.8.0\n\n!! Features\n\n* New date picker popup for scheduling todo due dates\n* Todos can now be moved between projects by dragging title links\n* New search input in the Help tiddler\n* Update the stylesheets to work with dark colour palettes\n\n!! Improvements\n\n* Display the link to the Help tiddler at the bottom of the Dashboard\n* Remove the dependency to $:/plugins/kixam/datepicker\n* Redesign Todo tiddler header buttons\n* Trigger auto-save when modifying a project or todo\n* Show today's date as \"Today\" in todo due dates\n\n!! Fixes\n\n* Fix the popup placement for creating new projects on mobile\n* Filter out project drafts from project lists\n\n! Release 0.7.1\n\n!! Features\n\n* New Help tab in the dashboard\n* All tiddler links can now be dropped within todo lists to add the target tiddlers as todos\n* New \"Projects\" and \"Schedule\" tabs added to the sidebar\n\n!! Fixes\n\n* Fix Scheduled button when there are overdue tasks\n* Fix rendering glitch of project titles in project cards\n* Fix rendering of scheduled todos in Notebook sidebar\n\n! Release 0.7.0\n\n!! Features\n\n* New color setting on project cards\n\n!! Improvements\n\n* New icons from the OpenMoji project\n* New welcome screens for the inbox and project list\n* New project list in the sidebar when using the Notebook theme\n\n!! Fixes\n\n* Fix a typo in the Scheduled sidebar button\n* Fix colors to work with dark palettes\n\n! Release 0.6.1\n\n!! Features\n\n* When a project has both scheduled and unscheduled items, split the todo-list in 2 distinct sections\n* Project cards now show the project description if set\n* Item that have sub-tasks now show a pie chart in todo lists\n\n!! Improvements\n\n* Add a drag handle on scheduled todo items as well, so they can be dragged & moved between projects\n* The button to add projects now toggles a form rendered within a popup\n* The Schedule popup now shows overdue todos as well as today's todos\n* Always render the todo-list so that todos can be dragged into empty projects\n\n! Release 0.6.0\n\n!! Features\n\n* Todos can now moved between projects using drag & drop\n* Todos can now be made into sub-projects by clicking the `Make this into a sub-project` button\n* Empty projects and Inbox now show a welcome screen\n* New checkbox button in the view toolbar of todo tiddlers\n* New form to add new projects including an input for the project title\n* The number of todos in a project is now represented with a small pie chart icon\n* New card view of active projects in the dashboard\n* Projects in the dashboard can now be reordered\n* Projects without active todos are now omitted from the \"Next\" dashboard section\n* New Schedule button in the page controls listings all todos scheduled today\n* New list in the Schedule tab of the dashboard listing all item scheduled to be done after the next 30 days.\n\n!! Improvements\n\n* New icon set\n* Improved style for checkboxes, buttons and inputs\n* Improved style for the dashboard projects section\n* Improved layout for completed todos in a project\n* Added a drag handle for draggable todo items\n* Scheduled todos are always sorted first\n\n!! Fixes\n\n* Fix creation of projects with triple double quotes\n* Fix creation of todos with triple double quotes\n* Fix drag&drop of todos with double quotes or triple double quotes\n\n!! Breaking changes\n\n* The `<<project>>` macro should not be used anymore. Instead, the plugin adds the <<tag SubProject>> tag to sub projects and renders their todo-list automatically.\n* Projects are now archived using the <<tag done>> tag. The former `Archived` tag is not used anymore.\n" + "text": "! Master\n\n!! Features\n\n* New redesigned input for adding todos\n* New buttons for scheduling and setting a priority directly when adding a todo\n\n!! Improvements\n\n* New filters in dashboard tab for todo priorities\n* Documentation improvements WRT customizing Projectify\n\n!! Fixes\n\n* Prevent creation of todos with empty titles\n\n! Release 0.13.1\n\n!! Improvements\n\n* New Spanish translation and empty edition\n* New configuration option to show completed tasks by default\n* Move down the \"convert into project\" button in the todo actions dropdown\n\n!! Fixes\n\n* Fix the link of the icon of todos with content not to toggle the state of the todos\n* Fix the filter macro used in the filter dashboard tab\n* Fix the position of the scheduled dropdown in the topbar\n* Fix the rendering of todo captions in the scheduled dropdown\n\n! Release 0.13.0\n\n!! Features\n\n* New Simplified Chinese translation plugin\n* New German translation plugin\n* New icon indicator in todo-lists for tasks that have content\n\n!! Improvements\n\n* Improve the rendering of the checkbox in the titlebar\n* Render the checkbox button before the close button in the titlebar\n* Improve the category selection dropdown\n* When using the Relink plugin, automatically relink project categories\n* Add links to category tiddlers in the control panel\n\n! Release 0.12.0\n\n!! Features\n\n* Add a configuration option to hide welcome messages\n* New filter tab in the dashboard\n* New icons for projects and next actions\n\n!! Improvements\n\n* Improve the rendering of the QuickCapture tiddler\n* Add a dragover style to project cards\n* Improved the layout of the dashboard tabs on mobile\n* New CSS transition on project card mouseover\n\n!! Fixes\n\n* Fix several translation issues\n* If a project has no category, do not render it in the project card\n* Fix the position of the count tag in the Today dashboard tab\n\n! Release 0.11.0\n\n!! Features\n\n* Add support for categories in projects, with colours and filtering from the dashboard\n* New button to convert todos into projects\n* New category configuration tab in the Control Panel\n* New French (fr-FR) language add-on plugin\n* New Dutch (nl-NL) language add-on plugin\n\n!! Improvements\n\n* Render todo items using the new $:/plugins/nico/projectify/ui/todo/TodoCaption template\n* Action buttons in Todo tiddlers are now rendered as regular buttons\n\n! Release 0.10.0\n\n!! Features\n\n* New priority property on todos\n* New configuration tab to the Control Panel\n* New configuration setting for the default dashboard tab\n* New configuration setting for switching between the list and card view of projects\n\n!! Improvements\n\n* New todo item layout\n* Display due dates for yesterday/tomorrow as \"Yesterday\"/\"Tomorrow\"\n* Add support for dragging todos in the welcome message of empty projects and inbox\n* Add welcome screens to the Upcoming and Next Actions tabs of the dashboard\n* Improved dashboard tabs on mobile to fit all tabs on one row\n\n!! Fixes\n\n* Fix an annoying bug where the calendar picker keyboard events stay active after the popup has been closed\n\n! Release 0.9.0\n\n!! Features\n\n* New \"Today\" dashboard tab for todos due today\n* New \"Upcoming\" dashboard tab for all scheduled todos\n\n!! Improvements\n\n* Only show scheduling button in todos that are not scheduled on hover\n* Add a caption and description to ToggleTodo for the control panel\n* Improve the rendering of sidebar sections by setting a max width\n* Update icons and colors of the date-picker\n\n!! Fixes\n\n* Fix the selection of months and years in the date picker\n* Fix the rendering of due dates in Notebook sidebar\n\n! Release 0.8.0\n\n!! Features\n\n* New date picker popup for scheduling todo due dates\n* Todos can now be moved between projects by dragging title links\n* New search input in the Help tiddler\n* Update the stylesheets to work with dark colour palettes\n\n!! Improvements\n\n* Display the link to the Help tiddler at the bottom of the Dashboard\n* Remove the dependency to $:/plugins/kixam/datepicker\n* Redesign Todo tiddler header buttons\n* Trigger auto-save when modifying a project or todo\n* Show today's date as \"Today\" in todo due dates\n\n!! Fixes\n\n* Fix the popup placement for creating new projects on mobile\n* Filter out project drafts from project lists\n\n! Release 0.7.1\n\n!! Features\n\n* New Help tab in the dashboard\n* All tiddler links can now be dropped within todo lists to add the target tiddlers as todos\n* New \"Projects\" and \"Schedule\" tabs added to the sidebar\n\n!! Fixes\n\n* Fix Scheduled button when there are overdue tasks\n* Fix rendering glitch of project titles in project cards\n* Fix rendering of scheduled todos in Notebook sidebar\n\n! Release 0.7.0\n\n!! Features\n\n* New color setting on project cards\n\n!! Improvements\n\n* New icons from the OpenMoji project\n* New welcome screens for the inbox and project list\n* New project list in the sidebar when using the Notebook theme\n\n!! Fixes\n\n* Fix a typo in the Scheduled sidebar button\n* Fix colors to work with dark palettes\n\n! Release 0.6.1\n\n!! Features\n\n* When a project has both scheduled and unscheduled items, split the todo-list in 2 distinct sections\n* Project cards now show the project description if set\n* Item that have sub-tasks now show a pie chart in todo lists\n\n!! Improvements\n\n* Add a drag handle on scheduled todo items as well, so they can be dragged & moved between projects\n* The button to add projects now toggles a form rendered within a popup\n* The Schedule popup now shows overdue todos as well as today's todos\n* Always render the todo-list so that todos can be dragged into empty projects\n\n! Release 0.6.0\n\n!! Features\n\n* Todos can now moved between projects using drag & drop\n* Todos can now be made into sub-projects by clicking the `Make this into a sub-project` button\n* Empty projects and Inbox now show a welcome screen\n* New checkbox button in the view toolbar of todo tiddlers\n* New form to add new projects including an input for the project title\n* The number of todos in a project is now represented with a small pie chart icon\n* New card view of active projects in the dashboard\n* Projects in the dashboard can now be reordered\n* Projects without active todos are now omitted from the \"Next\" dashboard section\n* New Schedule button in the page controls listings all todos scheduled today\n* New list in the Schedule tab of the dashboard listing all item scheduled to be done after the next 30 days.\n\n!! Improvements\n\n* New icon set\n* Improved style for checkboxes, buttons and inputs\n* Improved style for the dashboard projects section\n* Improved layout for completed todos in a project\n* Added a drag handle for draggable todo items\n* Scheduled todos are always sorted first\n\n!! Fixes\n\n* Fix creation of projects with triple double quotes\n* Fix creation of todos with triple double quotes\n* Fix drag&drop of todos with double quotes or triple double quotes\n\n!! Breaking changes\n\n* The `<<project>>` macro should not be used anymore. Instead, the plugin adds the <<tag SubProject>> tag to sub projects and renders their todo-list automatically.\n* Projects are now archived using the <<tag done>> tag. The former `Archived` tag is not used anymore.\n" }, "$:/config/ShortcutInfo/py-quick-capture": { "title": "$:/config/ShortcutInfo/py-quick-capture", @@ -10872,10 +10872,19 @@ Error message and password prompt "caption": "Core concepts", "description": "Learn the basics of Projectify", "created": "20200427133943777", - "modified": "20210122101837878", + "modified": "20210206204400292", "tags": "[[Projectify documentation]] $:/plugins/nico/projectify/tags/help-card", + "list-after": "$:/plugins/nico/projectify/doc/GettingStarted", "type": "text/vnd.tiddlywiki", - "text": "The following tiddlers will help you learn the basics of Projectify.\n\n* [[Dashboard|$:/plugins/nico/projectify/doc/Dashboard]]\n* [[Inbox|$:/plugins/nico/projectify/doc/Inbox]]\n* [[Todos|$:/plugins/nico/projectify/doc/Todos]]\n* [[Projects|$:/plugins/nico/projectify/doc/Projects]]\n* [[Categories|$:/plugins/nico/projectify/doc/Categories]]\n* [[Refiling|$:/plugins/nico/projectify/doc/Refiling]]\n* [[Schedule|$:/plugins/nico/projectify/doc/Schedule]]\n" + "text": "The following tiddlers will help you learn the basics of Projectify.\n\n* [[Dashboard|$:/plugins/nico/projectify/doc/Dashboard]]\n* [[Inbox|$:/plugins/nico/projectify/doc/Inbox]]\n* [[Todos|$:/plugins/nico/projectify/doc/Todos]]\n* [[Projects|$:/plugins/nico/projectify/doc/Projects]]\n* [[Categories|$:/plugins/nico/projectify/doc/Categories]]\n* [[Refiling|$:/plugins/nico/projectify/doc/Refiling]]\n* [[Schedule|$:/plugins/nico/projectify/doc/Schedule]]\n* [[Customizing Projectify|$:/plugins/nico/projectify/doc/Customizing]]\n" + }, + "$:/plugins/nico/projectify/doc/Customizing": { + "title": "$:/plugins/nico/projectify/doc/Customizing", + "created": "20210206204003498", + "modified": "20210206204343092", + "tags": "[[Projectify documentation]]", + "type": "text/vnd.tiddlywiki", + "text": "* [[Adding custom tabs to the bashboard|$:/plugins/nico/projectify/doc/DashboardCustomTabs]]\n* [[Customizing how todos are rendered|$:/plugins/nico/projectify/doc/Todos]]\n" }, "$:/plugins/nico/projectify/doc/Dashboard": { "title": "$:/plugins/nico/projectify/doc/Dashboard", @@ -10888,10 +10897,10 @@ Error message and password prompt "$:/plugins/nico/projectify/doc/DashboardCustomTabs": { "title": "$:/plugins/nico/projectify/doc/DashboardCustomTabs", "created": "20201228014905847", - "modified": "20201228020921622", + "modified": "20210206205140144", "tags": "[[Projectify documentation]]", "type": "text/vnd.tiddlywiki", - "text": "Any tiddler with the tag <<tag $:/plugins/nico/projectify/tags/dashboard>> will be displayed as a tab in the dashboard.\n\nYou can also [[display the Inbox in a separate tab|$:/plugins/nico/projectify/doc/DashboardInboxSeparateTab]].\n" + "text": "Any tiddler with the tag <<tag $:/plugins/nico/projectify/tags/dashboard>> will\nbe displayed as a tab in the dashboard.\n\n!! Listing high priority todos in the dashboard\n\nThe example below demonstrate how to add a tab to the\n[[Dashboard|$:/plugins/nico/projectify/doc/Dashboard]] to list all\n[[Todos|$:/plugins/nico/projectify/doc/Todos]] marked as high-priority. Save a\nnew tiddler with the content below, set its `caption` field to `High Priority`\nand add the tag <<tag $:/plugins/nico/projectify/tags/dashboard>>.\n\n```\n!! High priority todos \n\n<$list\n filter=\"[tag[todo]!tag[done]priority[3]]\"\n template=\"$:/plugins/nico/projectify/ui/todo/TodoItem\"\n/>\n```\n\nYou can also [[display the Inbox in a separate tab|$:/plugins/nico/projectify/doc/DashboardInboxSeparateTab]].\n" }, "$:/plugins/nico/projectify/doc/DashboardInboxSeparateTab": { "title": "$:/plugins/nico/projectify/doc/DashboardInboxSeparateTab", @@ -10906,7 +10915,7 @@ Error message and password prompt "caption": "Getting started", "description": "Install & start using Projectify", "created": "20201228014905847", - "modified": "20210117205102830", + "modified": "20210206203806867", "tags": "[[Projectify documentation]] $:/plugins/nico/projectify/tags/help-card", "type": "text/vnd.tiddlywiki", "text": "Projectify is a [[TiddlyWiki|https://tiddlywiki.com]] plugin for managing\nprojects & todo lists, inspired by projects such as\n[[Todoist|https://todoist.com]] and [[Basecamp|https://basecamp.com]]. It is\nreleased under the [[MIT license|$:/plugins/nico/projectify/LICENSE]].\n\n* See [[installation instructions|$:/plugins/nico/projectify/doc/Installation]] for help on installing Projectify in an existing wiki.\n\n* To start using Projectify, [[transclude|https://tiddlywiki.com/#Transclusion]] the [[Dashboard|$:/plugins/nico/projectify/doc/Dashboard]] into another tiddler.\n\n* Configure Projectify from the ''Projectify'' tab of the [[Control panel|$:/ControlPanel]].\n\n* Read the documentation about the [[core concepts|$:/plugins/nico/projectify/doc/CoreConcepts]] of Projectify.\n\n\nFor all changes in the latest {{$:/plugins/nico/projectify!!version}} release,\nsee [[ChangeLog|$:/plugins/nico/projectify/changelog]].\n" @@ -10940,8 +10949,9 @@ Error message and password prompt "caption": "External links", "description": "Useful links to online resources", "created": "20201228214411502", - "modified": "20210117203643063", + "modified": "20210206203756938", "tags": "[[Projectify documentation]] $:/plugins/nico/projectify/tags/help-card", + "list-after": "$:/plugins/nico/projectify/doc/CoreConcepts", "type": "text/vnd.tiddlywiki", "text": "!! External links\n\n* [[Online website|https://projectify.wiki]]\n* [[GitHub repository|https://github.com/nicolaspetton/projectify]]\n" }, @@ -10956,10 +10966,10 @@ Error message and password prompt "$:/plugins/nico/projectify/doc/Projects": { "title": "$:/plugins/nico/projectify/doc/Projects", "created": "20200427152938733", - "modified": "20201228222008629", + "modified": "20210206204003498", "tags": "[[Projectify documentation]]", "type": "text/vnd.tiddlywiki", - "text": "Projects structure [[Todos|$:/plugins/nico/projectify/doc/Todos]] together into\nseparate todo lists. If you're working on something that requires more than one\ntask, create a project to structure your work.\n\nYou can create projects from the\n[[Dashboard|$:/plugins/nico/projectify/doc/Dashboard]], or by adding the\n<<tag Project>> tag to an existing tiddler.\n\nClicking the {{$:/plugins/nico/projectify/ui/buttons/ProjectListSettings}}\nbutton in the projects section of the\n[[Dashboard|$:/plugins/nico/projectify/doc/Dashboard]] let you change how\nprojects are displayed and reorder them.\n\nFrom within a project tiddler, the\n{{$:/plugins/nico/projectify/ui/buttons/AddTodo}} button lets you quickly add\n[[Todos|$:/plugins/nico/projectify/doc/Todos]] directly to a project. The\n{{$:/plugins/nico/projectify/ui/buttons/ArchiveProject}} button lets you archive\na project so that it is hidden from the main project list in the\n[[Dashboard|$:/plugins/nico/projectify/doc/Dashboard]].\n\n" + "text": "!! When to use projects\n\nProjects structure [[Todos|$:/plugins/nico/projectify/doc/Todos]] together into\nseparate todo lists. If you're working on something that requires more than one\ntask, create a project to structure your work.\n\n!! How to create projects\n\nYou can create projects from the\n[[Dashboard|$:/plugins/nico/projectify/doc/Dashboard]], or by adding the\n<<tag Project>> tag to an existing tiddler.\n\nClicking the {{$:/plugins/nico/projectify/ui/buttons/ProjectListSettings}}\nbutton in the projects section of the\n[[Dashboard|$:/plugins/nico/projectify/doc/Dashboard]] let you change how\nprojects are displayed and reorder them.\n\n!! Adding tasks to projects\n \nThe input at the bottom of a project tiddler lets you quickly add\n[[Todos|$:/plugins/nico/projectify/doc/Todos]] directly to that project.\n\n!! Archiving projects\n \nThe {{$:/plugins/nico/projectify/ui/buttons/ArchiveProject}} button lets you\narchive a project.\n\nArchived projects are hidden by default from the main project list in the\n[[Dashboard|$:/plugins/nico/projectify/doc/Dashboard]].\n\n" }, "$:/plugins/nico/projectify/doc/QuickCapture": { "title": "$:/plugins/nico/projectify/doc/QuickCapture", @@ -11396,7 +11406,7 @@ Error message and password prompt }, "$:/language/projectify/AddTodo/Caption": { "title": "$:/language/projectify/AddTodo/Caption", - "text": "Add a todo" + "text": "Add todo" }, "$:/language/projectify/AddTodo/Hint": { "title": "$:/language/projectify/AddTodo/Hint", @@ -11755,7 +11765,7 @@ Error message and password prompt "modified": "20210117173623112", "tags": "$:/tags/Stylesheet", "type": "text/vnd.tiddlywiki", - "text": "\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline\n\n.py-btn {\n border-radius: 1.5em;\n border: 1px solid #ccc;\n background: <<colour tiddler-background>>;\n padding: .3em 1em;\n cursor: pointer;\n transition: box-shadow ease-in .1s;\n}\n\n.py-btn:focus {\n outline: 0 none;\n}\n\n.py-btn:active {\n box-shadow: 0 0 0 0.2rem rgba(0,0,0,.08);\n}\n\n.py-btn.btn-small {\n font-size: .9em;\n padding: .2em .8em;\n}\n\n.py-btn.btn-primary {\n background-color: <<colour primary>>;\n border-color: <<colour primary>>;\n color: <<colour background>>;\n fill: <<colour background>>;\n}\n\n.py-btn.btn-primary:active {\n box-shadow: 0 0 0 0.2rem rgba(0,125,255,.3);\n}\n\n.py-btn.btn-danger {\n border-color: #e73939;\n color: #e73939;\n fill: #e73939;\n}\n\n.py-btn.btn-danger:active {\n box-shadow: 0 0 0 0.2rem rgba(255,0,0,.2);\n}\n\n.py-form .py-control-group {\n margin: 8px 0;\n}\n\n.py-form .py-control-group .py-label {\n padding: 0;\n}\n\n.py-actions {\n margin: 10px 0 20px 0;\n}\n\n.py-form .py-actions {\n margin-top: 20px;\n}\n\ninput.py-input {\n transition: border .14s ease-in-out;\n border: 1px solid <<colour tiddler-editor-border>>;\n padding: 8px;\n border-radius: 4px;\n width: 300px;\n}\n\ninput.py-input:focus {\n box-shadow: 0 0 0.2rem 0 <<colour primary>>;\n outline: 0;\n border-color: <<colour primary>>;\n\n}\n\ninput.py-input.input-larger {\n width: 450px;\n max-width: 100%;\n}\n\nInput.py-input.input-large {\n width: 100%;\n padding: .5em 1em;\n font-size: 1.1em;\n}\n\n.py-todo input[type=\"checkbox\"],\n.py-toggle-todo-button input[type=\"checkbox\"] {\n display: none;\n}\n\n.py-checkbox {\n color: <<colour muted-foreground>>;\n cursor: pointer;\n transition: all ease-in .2s;\n}\n\n.py-todo .py-checkbox {\n margin-right: 3px;\n}\n\n.py-checkbox .todo-hover {\n display: none;\n}\n\n.py-checkbox:hover .todo-hover {\n display: initial;\n}\n\n.py-checkbox:hover .todo {\n display: none;\n}\n\n.py-checkbox:hover {\n color: #2da562;\n}\n\n.py-checkbox .done {\n color: #2da562;\n}\n\n.py-popup {\n background: <<colour tiddler-background>>;\n border-radius: 8px;\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);\n padding: 5px 20px;\n width: 350px;\n}\n" + "text": "\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline\n\n.py-btn {\n border-radius: 1.5em;\n border: 1px solid #ccc;\n background: <<colour tiddler-background>>;\n padding: .3em 1em;\n cursor: pointer;\n transition: box-shadow ease-in .1s;\n}\n\n.py-btn:focus {\n outline: 0 none;\n}\n\n.py-btn:active {\n box-shadow: 0 0 0 0.2rem rgba(0,0,0,.08);\n}\n\n.py-btn.btn-small {\n font-size: .9em;\n padding: .2em .8em;\n}\n\n.py-btn.btn-primary {\n background-color: <<colour primary>>;\n border-color: <<colour primary>>;\n color: <<colour background>>;\n fill: <<colour background>>;\n}\n\n.py-btn.btn-primary:active {\n box-shadow: 0 0 0 0.2rem rgba(0,125,255,.3);\n}\n\n.py-btn.btn-danger {\n border-color: #e73939;\n color: #e73939;\n fill: #e73939;\n}\n\n.py-btn.btn-danger:active {\n box-shadow: 0 0 0 0.2rem rgba(255,0,0,.2);\n}\n\n.py-form .py-control-group {\n margin: 8px 0;\n}\n\n.py-form .py-control-group .py-label {\n padding: 0;\n}\n\n.py-actions {\n margin: 10px 0 20px 0;\n}\n\n.py-form .py-actions {\n margin-top: 20px;\n}\n\n.py-composite-input {\n position: relative;\n padding: 10px 12px;\n border-radius: 8px;\n border: 1px solid <<colour tiddler-editor-border>>;\n}\n\n.py-composite-input:focus-within {\n border-color: <<colour primary>>;\n}\n\n.py-composite-input input.py-input {\n border: none;\n width: 100%;\n padding: 5px 0;\n}\n\n.py-composite-input input.py-input:focus {\n border: none;\n box-shadow: none;\n}\n\n.py-composite-input .py-todo-actions {\n margin-top: 6px;\n font-size: .9em;\n}\n\ninput.py-input {\n transition: border .14s ease-in-out;\n border: 1px solid <<colour tiddler-editor-border>>;\n padding: 8px;\n border-radius: 4px;\n width: 300px;\n}\n\ninput.py-input:focus {\n box-shadow: 0 0 0.2rem 0 <<colour primary>>;\n outline: 0;\n border-color: <<colour primary>>;\n\n}\n\ninput.py-input.input-larger {\n width: 450px;\n max-width: 100%;\n}\n\ninput.py-input.input-large {\n width: 100%;\n padding: .5em 1em;\n font-size: 1.1em;\n}\n\n.py-todo input[type=\"checkbox\"],\n.py-toggle-todo-button input[type=\"checkbox\"] {\n display: none;\n}\n\n.py-checkbox {\n color: <<colour muted-foreground>>;\n cursor: pointer;\n transition: all ease-in .2s;\n}\n\n.py-todo .py-checkbox {\n margin-right: 3px;\n}\n\n.py-checkbox .todo-hover {\n display: none;\n}\n\n.py-checkbox:hover .todo-hover {\n display: initial;\n}\n\n.py-checkbox:hover .todo {\n display: none;\n}\n\n.py-checkbox:hover {\n color: #2da562;\n}\n\n.py-checkbox .done {\n color: #2da562;\n}\n\n.py-popup {\n background: <<colour tiddler-background>>;\n border-radius: 8px;\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);\n padding: 5px 20px;\n width: 350px;\n}\n" }, "$:/plugins/nico/projectify/styles/notebook": { "title": "$:/plugins/nico/projectify/styles/notebook", @@ -11779,7 +11789,7 @@ Error message and password prompt "modified": "20210127111843916", "tags": "$:/tags/Stylesheet", "type": "text/vnd.tiddlywiki", - "text": "\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline\n\n.py-projects-heading {\n display: flex;\n justify-content: space-between;\n}\n\n.py-projects-heading h2 {\n margin: 0;\n display: inline-block;\n}\n\n@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {\n .py-projects-heading {\n display: block;\n }\n\n .py-projects-heading .py-title {\n margin-bottom: 20px;\n }\n}\n\n.py-projects-heading > button {\n display: inline-block;\n margin-left: 5px;\n}\n\n.tc-titlebar .py-checkbox svg {\n width: 26px;\n height: 26px;\n fill: <<colour tiddler-controls-foreground>>;\n}\n\n.tc-titlebar .py-checkbox .done svg {\n width: 26px;\n height: 26px;\n fill: #2da562;\n}\n\n.py-reorder-projects:not([hidden]) {\n display: block;\n}\n\n.py-projects, .py-todos {\n padding-left: 0;\n}\n\n.py-projects .py-project,\n.py-todos .tc-menu-list-item {\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n\n.py-projects,\n.py-todos .tc-menu-list-item:first-child {\n border-top: 1px solid rgba(0, 0, 0, 0.08);\n}\n\n.py-todo {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n padding: 5px 0;\n}\n\n.py-project {\n list-style: none;\n padding: 5px 0;\n}\n\n.py-project a {\n font-weight: bold;\n}\n\n.py-project .py-project-infos {\n font-size: .8em;\n line-height: 1em;\n color: <<colour muted-foreground>>;\n margin-left: 20px;\n}\n\n.py-project .py-project-heading {\n display: flex;\n justify-content: space-between;\n}\n\n.py-project .py-project-heading .py-project-category {\n font-size: .9em;\n white-space: nowrap;\n}\n\n/* Align the completed todos with the non-completed ones that have a drag\n handle. TODO: Check why the padding is different from the drag-handle's width\n */\n.py-completed-todos .py-todo .py-checkbox {\n padding-left: 22px;\n}\n\n.py-todo .tc-tiddlylink:hover {\n text-decoration: none;\n}\n\n.py-todo .py-todo-actions {\n float: right;\n}\n\n.py-todo .py-btn.py-priority {\n border: none;\n}\n\n.py-todo .py-project-link {\n font-size: .8em;\n color: #aaa;\n}\n\n.py-todo .py-todo-text-icon {\n color: #999;\n fill: #999;\n}\n\n.py-todo.py-completed a {\n color: <<colour muted-foreground>>;\n}\n\n.py-todo-heading {\n margin-top: 4px;\n margin-bottom: 14px;\n}\n\n.py-todo-heading .py-btn {\n font-size: .9em;\n padding: .3em .9em;\n}\n\n.py-todo-actions .py-btn,\n.py-todo .py-btn.py-priority {\n color: #999;\n fill: #999;\n padding: 2px 3px;\n border-radius: 4px;\n}\n\n.py-due-date.py-overdue {\n color: <<colour background>>;\n background: #e73939;\n border-color: #e73939;\n font-weight: bold;\n}\n\n.py-due-date.py-due-today {\n color: <<colour primary>>;\n fill: <<colour primary>>;\n border-color: <<colour primary>>;\n}\n\n.py-todo .py-todo-actions .py-btn {\n font-size: .8em;\n margin-left: 6px;\n}\n\n@media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {\n .py-todo .py-todo-actions .py-btn.py-not-scheduled,\n .py-todo .py-todo-actions .py-btn.py-priority- {\n opacity: 0;\n transition: opacity ease-in .14s;\n }\n\n .py-todo:hover .py-todo-actions .py-btn {\n opacity: 1 !important;\n }\n}\n\n.py-projects .tc-droppable.tc-dragover {\n background: rgba(255,255,100,0.3);\n display: block;\n}\n\n.py-tabs.tc-tab-buttons button {\n font-weight: bold;\n font-size: 1.2em;\n border: 0;\n padding: .6em .8em .4em .8em;\n background: transparent;\n cursor: pointer;\n color: <<colour tiddler-title-foreground>>;\n}\n\n@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {\n .py-tabs.tc-tab-buttons button {\n font-size: .8em;\n padding: 8px;\n }\n\n .py-tabs.tc-tab-buttons button svg {\n display: block;\n width: 1.5rem;\n height: 1.5rem;\n margin: 0 auto 6px auto;\n }\n}\n\n.py-tabs.tc-tab-buttons button.tc-tab-selected {\n border: 0;\n border-bottom: 4px solid <<colour primary>>;\n color: <<colour tiddler-title-foreground>>;\n}\n\n.py-scheduled-drop-down h4 {\n margin: 5px 10px;\n color: <<colour foreground>>;\n font-weight: bold;\n}\n\n.py-scheduled-drop-down .clear {\n margin: 5px 10px;\n}\n\n.tc-drop-down.py-drop-down {\n min-width: 200px;\n}\n\n.tc-drop-down.py-drop-down .tc-btn-invisible {\n font-size: 14px;\n line-height: 2em;\n}\n\n.tc-drop-down.py-drop-down .tc-btn-invisible svg {\n margin-right: 6px;\n}\n\n.tc-drop-down.py-drop-down hr {\n margin: 2px 0;\n padding: 0;\n border: 0;\n border-bottom: 1px solid <<colour muted-foreground>>;\n}\n\n.tc-drop-down .py-priorities {\n display: flex;\n align-items: space-between;\n}\n\n.tc-drop-down .py-priorities .tc-btn-invisible {\n width: auto;\n text-align: center;\n}\n\n.py-priority-3, .py-priority-3 svg,\n.py-drop-down .py-priority-3,\n.py-drop-down .py-priority-3 svg,\n.py-btn.py-priority-3 {\n fill: #e73939;\n color: #e73939;\n}\n\n.py-priority-2, .py-priority-2 svg,\n.py-drop-down .py-priority-2,\n.py-drop-down .py-priority-2 svg,\n.py-btn.py-priority-2 {\n fill: #e77a39;\n color: #e77a39;\n}\n\n.py-priority-1, .py-priority-1 svg,\n.py-drop-down .py-priority-1,\n.py-drop-down .py-priority-1 svg,\n.py-btn.py-priority-1 {\n fill: #24cd5e;\n color: #24cd5e;\n}\n\n.py-project-category-manager-table {\n width: 100%;\n}\n\n.py-project-category-manager-table td {\n padding: 4px;\n}\n\n.py-project-category-manager-table input {\n width: 100%;\n}\n\n.py-project-category-manager-table input[type=\"color\"] {\n width: 50px;\n padding: 3px;\n}\n" + "text": "\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline\n\n.py-projects-heading {\n display: flex;\n justify-content: space-between;\n}\n\n.py-projects-heading h2 {\n margin: 0;\n display: inline-block;\n}\n\n@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {\n .py-projects-heading {\n display: block;\n }\n\n .py-projects-heading .py-title {\n margin-bottom: 20px;\n }\n}\n\n.py-projects-heading > button {\n display: inline-block;\n margin-left: 5px;\n}\n\n.tc-titlebar .py-checkbox svg {\n width: 26px;\n height: 26px;\n fill: <<colour tiddler-controls-foreground>>;\n}\n\n.tc-titlebar .py-checkbox .done svg {\n width: 26px;\n height: 26px;\n fill: #2da562;\n}\n\n.py-reorder-projects:not([hidden]) {\n display: block;\n}\n\n.py-projects, .py-todos {\n padding-left: 0;\n}\n\n.py-projects .py-project,\n.py-todos .tc-menu-list-item {\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n\n.py-projects,\n.py-todos .tc-menu-list-item:first-child {\n border-top: 1px solid rgba(0, 0, 0, 0.08);\n}\n\n.py-todo {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n padding: 5px 0;\n}\n\n.py-project {\n list-style: none;\n padding: 5px 0;\n}\n\n.py-project a {\n font-weight: bold;\n}\n\n.py-project .py-project-infos {\n font-size: .8em;\n line-height: 1em;\n color: <<colour muted-foreground>>;\n margin-left: 20px;\n}\n\n.py-project .py-project-heading {\n display: flex;\n justify-content: space-between;\n}\n\n.py-project .py-project-heading .py-project-category {\n font-size: .9em;\n white-space: nowrap;\n}\n\n/* Align the completed todos with the non-completed ones that have a drag\n handle. TODO: Check why the padding is different from the drag-handle's width\n */\n.py-completed-todos .py-todo .py-checkbox {\n padding-left: 22px;\n}\n\n.py-todo .tc-tiddlylink:hover {\n text-decoration: none;\n}\n\n.py-todo .py-todo-actions {\n float: right;\n}\n\n.py-todo .py-btn.py-priority {\n border: none;\n}\n\n.py-todo .py-project-link {\n font-size: .8em;\n color: #aaa;\n}\n\n.py-todo .py-todo-text-icon {\n color: #999;\n fill: #999;\n}\n\n.py-todo.py-completed a {\n color: <<colour muted-foreground>>;\n}\n\n.py-todo-heading {\n margin-top: 4px;\n margin-bottom: 14px;\n}\n\n.py-todo-heading .py-btn {\n font-size: .9em;\n padding: .3em .9em;\n}\n\n.py-todo-actions .py-btn,\n.py-todo .py-btn.py-priority {\n color: #999;\n fill: #999;\n padding: 4px 8px;\n border-radius: 4px;\n}\n\n.py-due-date.py-overdue {\n color: <<colour background>>;\n background: #e73939;\n border-color: #e73939;\n font-weight: bold;\n}\n\n.py-due-date.py-due-today {\n color: <<colour primary>>;\n fill: <<colour primary>>;\n border-color: <<colour primary>>;\n}\n\n.py-todo .py-todo-actions .py-btn {\n font-size: .8em;\n margin-left: 6px;\n}\n\n@media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {\n .py-todo .py-todo-actions .py-btn.py-not-scheduled,\n .py-todo .py-todo-actions .py-btn.py-priority- {\n opacity: 0;\n transition: opacity ease-in .14s;\n }\n\n .py-todo:hover .py-todo-actions .py-btn {\n opacity: 1 !important;\n }\n}\n\n.py-projects .tc-droppable.tc-dragover {\n background: rgba(255,255,100,0.3);\n display: block;\n}\n\n.py-tabs.tc-tab-buttons button {\n font-weight: bold;\n font-size: 1.2em;\n border: 0;\n padding: .6em .8em .4em .8em;\n background: transparent;\n cursor: pointer;\n color: <<colour tiddler-title-foreground>>;\n}\n\n@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {\n .py-tabs.tc-tab-buttons button {\n font-size: .8em;\n padding: 8px;\n }\n\n .py-tabs.tc-tab-buttons button svg {\n display: block;\n width: 1.5rem;\n height: 1.5rem;\n margin: 0 auto 6px auto;\n }\n}\n\n.py-tabs.tc-tab-buttons button.tc-tab-selected {\n border: 0;\n border-bottom: 4px solid <<colour primary>>;\n color: <<colour tiddler-title-foreground>>;\n}\n\n.py-scheduled-drop-down h4 {\n margin: 5px 10px;\n color: <<colour foreground>>;\n font-weight: bold;\n}\n\n.py-scheduled-drop-down .clear {\n margin: 5px 10px;\n}\n\n.tc-drop-down.py-drop-down {\n min-width: 200px;\n}\n\n.tc-drop-down.py-drop-down .tc-btn-invisible {\n font-size: 14px;\n line-height: 2em;\n}\n\n.tc-drop-down.py-drop-down .tc-btn-invisible svg {\n margin-right: 6px;\n}\n\n.tc-drop-down.py-drop-down hr {\n margin: 2px 0;\n padding: 0;\n border: 0;\n border-bottom: 1px solid <<colour muted-foreground>>;\n}\n\n.tc-drop-down .py-priorities {\n display: flex;\n align-items: space-between;\n}\n\n.tc-drop-down .py-priorities .tc-btn-invisible {\n width: auto;\n text-align: center;\n}\n\n.py-priority-3, .py-priority-3 svg,\n.py-drop-down .py-priority-3,\n.py-drop-down .py-priority-3 svg,\n.py-btn.py-priority-3 {\n fill: #e73939;\n color: #e73939;\n}\n\n.py-priority-2, .py-priority-2 svg,\n.py-drop-down .py-priority-2,\n.py-drop-down .py-priority-2 svg,\n.py-btn.py-priority-2 {\n fill: #e77a39;\n color: #e77a39;\n}\n\n.py-priority-1, .py-priority-1 svg,\n.py-drop-down .py-priority-1,\n.py-drop-down .py-priority-1 svg,\n.py-btn.py-priority-1 {\n fill: #24cd5e;\n color: #24cd5e;\n}\n\n.py-project-category-manager-table {\n width: 100%;\n}\n\n.py-project-category-manager-table td {\n padding: 4px;\n}\n\n.py-project-category-manager-table input {\n width: 100%;\n}\n\n.py-project-category-manager-table input[type=\"color\"] {\n width: 50px;\n padding: 3px;\n}\n" }, "$:/plugins/nico/projectify/styles/utils": { "title": "$:/plugins/nico/projectify/styles/utils", @@ -11800,10 +11810,10 @@ Error message and password prompt "$:/plugins/nico/projectify/styles/welcome": { "title": "$:/plugins/nico/projectify/styles/welcome", "created": "20210117173623112", - "modified": "20210117174118787", + "modified": "20210205180906058", "tags": "$:/tags/Stylesheet", "type": "text/vnd.tiddlywiki", - "text": "\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline\n\n\n.py-welcome {\n max-width: 800px;\n text-align: center;\n padding: 40px 20px;\n margin: 20px auto;\n background: <<colour message-background>>;\n color: <<colour message-foreground>>;\n border-radius: 12px;\n}\n\n.py-welcome .icon {\n font-size: 4em;\n}\n\n.py-welcome h3 {\n font-weight: bold;\n}\n\n.py-welcome p {\n margin: 0;\n}\n" + "text": "\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline\n\n\n.py-welcome {\n max-width: 800px;\n text-align: center;\n padding: 40px 20px;\n margin: 0 auto;\n background: <<colour message-background>>;\n color: <<colour message-foreground>>;\n border-radius: 12px;\n}\n\n.py-welcome .icon {\n font-size: 4em;\n}\n\n.py-welcome h3 {\n font-weight: bold;\n}\n\n.py-welcome p {\n margin: 0;\n}\n" }, "$:/plugins/nico/projectify/ui/buttons/AddCategory": { "title": "$:/plugins/nico/projectify/ui/buttons/AddCategory", @@ -11819,20 +11829,13 @@ Error message and password prompt "type": "text/vnd.tiddlywiki", "text": "\\define lingo-base() $:/language/projectify/\n\n<$button\n class=\"py-btn btn-primary\"\n popup=\"$:/state/projectify/show-new-project-popup\"\n tooltip={{$:/language/projectify/AddProject/Hint}}\n aria-label={{$:/language/projectify/AddProject/Hint}}\n>\n {{$:/core/images/edit-button}}\n <<lingo AddProject/Caption>>\n</$button>\n\n<$reveal\n type=\"popup\"\n class=\"tc-popup-keep py-popup\"\n state=\"$:/state/projectify/show-new-project-popup\"\n position=\"above\"\n>\n <h2> <<lingo NewProject>></h2>\n {{$:/plugins/nico/projectify/ui/forms/NewProject}}\n</$reveal>\n" }, - "$:/plugins/nico/projectify/ui/buttons/AddTodo": { - "title": "$:/plugins/nico/projectify/ui/buttons/AddTodo", - "created": "20201212172804699", - "modified": "20210112180541864", - "type": "text/vnd.tiddlywiki", - "text": "\\define lingo-base() $:/language/projectify/\n\n<$button\n class=\"py-btn\"\n set=<<stateTiddler>>\n setTo=\"show\"\n tooltip={{$:/language/projectify/AddTodo/Hint}}\n aria-label={{$:/language/projectify/AddTodo/Hint}}\n>\n {{$:/core/images/list-bullet}} <<lingo AddTodo/Caption>>\n</$button>\n" - }, "$:/plugins/nico/projectify/ui/buttons/ArchiveProject": { "title": "$:/plugins/nico/projectify/ui/buttons/ArchiveProject", "created": "20201209150027612", - "modified": "20210112180541889", + "modified": "20210205111043378", "tags": "", "type": "text/vnd.tiddlywiki", - "text": "\\define lingo-base() $:/language/projectify/\n\n<$fieldmangler>\n <$button\n class=\"py-btn btn-danger nc-archive-project\"\n tooltip={{$:/language/projectify/ArchiveProject/Hint}}\n aria-label={{$:/language/projectify/ArchiveProject/Hint}}\n >\n <$action-sendmessage $message=\"tm-add-tag\" $param=\"done\"/>\n <$action-sendmessage $message=\"tm-auto-save-wiki\"/>\n {{$:/core/images/delete-button}} <<lingo ArchiveProject/Caption>>\n </$button>\n</$fieldmangler>\n" + "text": "\\define lingo-base() $:/language/projectify/\n\n<$fieldmangler>\n <$button\n class=\"py-btn btn-small btn-danger nc-archive-project\"\n tooltip={{$:/language/projectify/ArchiveProject/Hint}}\n aria-label={{$:/language/projectify/ArchiveProject/Hint}}\n >\n <$action-sendmessage $message=\"tm-add-tag\" $param=\"done\"/>\n <$action-sendmessage $message=\"tm-auto-save-wiki\"/>\n {{$:/core/images/delete-button}} <<lingo ArchiveProject/Caption>>\n </$button>\n</$fieldmangler>\n" }, "$:/plugins/nico/projectify/ui/buttons/Cancel": { "title": "$:/plugins/nico/projectify/ui/buttons/Cancel", @@ -11928,9 +11931,9 @@ Error message and password prompt "$:/plugins/nico/projectify/ui/buttons/ToggleCompletedTodos": { "title": "$:/plugins/nico/projectify/ui/buttons/ToggleCompletedTodos", "created": "20201212172804699", - "modified": "20210131212757806", + "modified": "20210205173145448", "type": "text/vnd.tiddlywiki", - "text": "\\define lingo-base() $:/language/projectify/\n\n<$list filter=<<py-has-completed-todos>> variable=\"ignore\">\n <$vars stateTiddler=<<qualify \"$:/state/projectify/show-completed\">>\n\t default={{$:/config/projectify/ShowCompletedTodos}}>\n\n <$reveal type=\"nomatch\" state=<<stateTiddler>> text=\"yes\" default=<<default>>>\n <$button class=\"tc-btn-invisible py-link-muted\" set=<<stateTiddler>> setTo=\"yes\">\n {{$:/plugins/nico/projectify/images/eye}}\n\t<$count filter=<<py-completed-todos>>/> <<lingo Completed/Caption>>\n </$button>\n </$reveal>\n\n <$reveal type=\"match\" state=<<stateTiddler>> text=\"yes\" default=<<default>>>\n <$macrocall $name=\"todo-list-completed\"/>\n\n <div class=\"py-actions\">\n <$button class=\"tc-btn-invisible py-link-muted\" set=<<stateTiddler>> setTo=\"no\">\n {{$:/plugins/nico/projectify/images/eyeslash}} <<lingo HideCompleted/Caption>>\n </$button>\n </div>\n </$reveal>\n\n </$vars>\n</$list>\n" + "text": "\\define lingo-base() $:/language/projectify/\n\n<$list filter=<<py-has-completed-todos>> variable=\"ignore\">\n <$vars stateTiddler=<<qualify \"$:/state/projectify/show-completed\">>\n\t default={{$:/config/projectify/ShowCompletedTodos}}>\n\n <$reveal type=\"nomatch\" state=<<stateTiddler>> text=\"yes\" default=<<default>>>\n <$button class=\"tc-btn-invisible py-link-muted\" set=<<stateTiddler>> setTo=\"yes\">\n {{$:/plugins/nico/projectify/images/eye}}\n\t<$count filter=<<py-completed-todos>>/> <<lingo Completed/Caption>>\n </$button>\n </$reveal>\n\n <$reveal type=\"match\" state=<<stateTiddler>> text=\"yes\" default=<<default>>>\n <div class=\"py-actions\">\n <$button class=\"tc-btn-invisible py-link-muted\" set=<<stateTiddler>> setTo=\"no\">\n {{$:/plugins/nico/projectify/images/eyeslash}} <<lingo HideCompleted/Caption>>\n </$button>\n </div>\n <$macrocall $name=\"todo-list-completed\"/>\n </$reveal>\n </$vars>\n</$list>\n" }, "$:/plugins/nico/projectify/ui/buttons/ToggleTodo": { "title": "$:/plugins/nico/projectify/ui/buttons/ToggleTodo", @@ -12031,18 +12034,18 @@ Error message and password prompt "$:/plugins/nico/projectify/ui/Everything": { "title": "$:/plugins/nico/projectify/ui/Everything", "created": "20210122212615059", - "modified": "20210123152400707", + "modified": "20210206142638704", "caption": "{{$:/plugins/nico/projectify/images/funnel}} {{$:/language/Search/Filter/Caption}}", "list-after": "$:/plugins/nico/projectify/ui/NextActions", "tags": "$:/plugins/nico/projectify/tags/dashboard", "type": "text/vnd.tiddlywiki", - "text": "{{$:/language/Search/Filter/Hint}}\n\n<$vars stateTiddler=\"$:/state/projectify/todo-filter\">\n <$edit-text class=\"py-input input-larger\" tiddler=<<stateTiddler>> field=\"filter\"/>\n <$vars popupTiddler=<<qualify \"$:/state/projectify/todo-filter-dropdown\">>\n\t todoFilter={{$:/state/projectify/todo-filter!!filter}}\n\t showProjectLinks=\"yes\">\n <span class=\"tc-popup-keep\">\n <$button popup=<<popupTiddler>> class=\"tc-btn-invisible\">\n\t{{$:/core/images/down-arrow}}\n </$button>\n </span>\n\n <$reveal state=<<popupTiddler>> type=\"popup\" position=\"belowleft\">\n <div class=\"tc-drop-down py-drop-down\">\n\t<$button class=\"tc-btn-invisible\">\n\t Outstanding\n\t <$action-setfield $tiddler=<<stateTiddler>> filter=\"[!tag[done]]\"/>\n\t</$button>\n\t<$button class=\"tc-btn-invisible\">\n\t Scheduled\n\t <$action-setfield $tiddler=<<stateTiddler>> filter=\"[!tag[done]has[due]]\"/>\n\t</$button>\n\t<$button class=\"tc-btn-invisible\">\n\t Completed\n\t <$action-setfield $tiddler=<<stateTiddler>> filter=\"[tag[done]]\"/>\n\t</$button>\n </div>\n </$reveal>\n\n <dl>\n <$count filter=<<py-filtered-todos>>/> {{$:/language/Search/Filter/Matches}}\n <$list filter=<<py-filtered-todos>> template=\"$:/plugins/nico/projectify/ui/todo/TodoItem\"></$list>\n </dl>\n </$vars>\n</$vars>\n" + "text": "{{$:/language/Search/Filter/Hint}}\n\n<$vars stateTiddler=\"$:/state/projectify/todo-filter\">\n <$edit-text class=\"py-input input-larger\" tiddler=<<stateTiddler>> field=\"filter\"/>\n <$vars popupTiddler=<<qualify \"$:/state/projectify/todo-filter-dropdown\">>\n\t todoFilter={{$:/state/projectify/todo-filter!!filter}}\n\t showProjectLinks=\"yes\">\n <span class=\"tc-popup-keep\">\n <$button popup=<<popupTiddler>> class=\"tc-btn-invisible\">\n\t{{$:/core/images/down-arrow}}\n </$button>\n </span>\n\n <$reveal state=<<popupTiddler>> type=\"popup\" position=\"belowleft\">\n <div class=\"tc-drop-down py-drop-down\">\n\t<$button class=\"tc-btn-invisible\">\n\t Outstanding\n\t <$action-setfield $tiddler=<<stateTiddler>> filter=\"[!tag[done]]\"/>\n\t</$button>\n\t<$button class=\"tc-btn-invisible\">\n\t Scheduled\n\t <$action-setfield $tiddler=<<stateTiddler>> filter=\"[!tag[done]has[due]]\"/>\n\t</$button>\n\t<$button class=\"tc-btn-invisible\">\n\t High priority\n\t <$action-setfield $tiddler=<<stateTiddler>> filter=\"[!tag[done]priority[3]]\"/>\n\t</$button>\n\t<$button class=\"tc-btn-invisible\">\n\t Medium priority\n\t <$action-setfield $tiddler=<<stateTiddler>> filter=\"[!tag[done]priority[2]]\"/>\n\t</$button>\n\t<$button class=\"tc-btn-invisible\">\n\t Low priority\n\t <$action-setfield $tiddler=<<stateTiddler>> filter=\"[!tag[done]priority[1]]\"/>\n\t</$button>\n\t<$button class=\"tc-btn-invisible\">\n\t Completed\n\t <$action-setfield $tiddler=<<stateTiddler>> filter=\"[tag[done]]\"/>\n\t</$button>\n </div>\n </$reveal>\n\n <dl>\n <$count filter=<<py-filtered-todos>>/> {{$:/language/Search/Filter/Matches}}\n <$list filter=<<py-filtered-todos>> template=\"$:/plugins/nico/projectify/ui/todo/TodoItem\"></$list>\n </dl>\n </$vars>\n</$vars>\n" }, "$:/plugins/nico/projectify/ui/dashboard/InboxAndProjects": { "title": "$:/plugins/nico/projectify/ui/dashboard/InboxAndProjects", "caption": "{{$:/plugins/nico/projectify/images/collection}} {{$:/language/projectify/Projects}}", "created": "20200425193559847", - "modified": "20210122213121097", + "modified": "20210205175036448", "tags": "$:/plugins/nico/projectify/tags/dashboard", "type": "text/vnd.tiddlywiki", "text": "{{$:/plugins/nico/projectify/ui/inbox/Inbox}}\n{{$:/plugins/nico/projectify/ui/dashboard/Projects}}\n" @@ -12132,6 +12135,13 @@ Error message and password prompt "type": "text/vnd.tiddlywiki", "text": "\\define lingo-base() $:/language/projectify/\n\n<$vars showProjectLinks=\"yes\">\n <$list\n filter=<<py-has-scheduled-todos-in-projects>>\n emptyMessage={{$:/plugins/nico/projectify/ui/welcome/EmptyUpcoming}}\n >\n <$list filter=<<py-has-overdue-todos>>>\n <dl>\n\t<dt><<lingo Overdue>></dt>\n\t<dd><<py-schedule-overdue>></dd>\n </dl>\n </$list>\n\n <$list filter=<<py-upcoming-due-dates>>>\n <dl>\n\t<dt>{{||$:/plugins/nico/projectify/ui/dashboard/Date}}</dt>\n\t<dd><$macrocall $name=\"py-schedule-day\" day={{!!due}}/></dd>\n </dl>\n </$list>\n </$list>\n</$vars>\n" }, + "$:/plugins/nico/projectify/ui/forms/AddTodo": { + "title": "$:/plugins/nico/projectify/ui/forms/AddTodo", + "created": "20201207165347344", + "modified": "20210206210842918", + "type": "text/vnd.tiddlywiki", + "text": "\\define lingo-base() $:/language/projectify/\n\n\\define add-todo-actions()\n<$list filter=\"[<stateTiddler>get[todo-name]trim[]!is[blank]]\" variable=\"ignore\">\n <$action-createtiddler\n $basetitle={{{ [<stateTiddler>get[todo-name]] }}}\n $savetitle=\"$:/temp/projectify/new-todo\"\n />\n\n <$action-listops $tiddler={{$:/temp/projectify/new-todo}} $tags=<<todo-tags>>/>\n <$action-setfield $tiddler={{$:/temp/projectify/new-todo}} due={{{ [<stateTiddler>get[due]] }}}/>\n <$action-setfield $tiddler={{$:/temp/projectify/new-todo}} priority={{{ [<stateTiddler>get[priority]] }}}/>\n <$action-deletefield $tiddler=<<stateTiddler>> $field=\"todo-name\"/>\n <$action-deletefield $tiddler=<<stateTiddler>> $field=\"due\"/>\n <$action-deletefield $tiddler=<<stateTiddler>> $field=\"priority\"/>\n\n <$action-sendmessage $message=\"tm-auto-save-wiki\"/>\n</$list>\n\\end\n\n<$vars stateTiddler=<<qualify \"$:/temp/projectify/add-todo-form\">>>\n <div class=\"py-composite-input\">\n <$keyboard key=\"enter\">\n <<add-todo-actions>>\n <$edit-text\n\tclass=\"py-input\"\n\ttiddler=<<stateTiddler>>\n\tfield=\"todo-name\"\n\tplaceholder=<<placeholder>>\n\t/>\n </$keyboard>\n\n <div class=\"py-todo-actions\">\n <$vars currentTiddler=<<stateTiddler>>>\n\t<$transclude tiddler=\"$:/plugins/nico/projectify/ui/buttons/TodoDueDate\" mode=\"inline\"/>\n\t<$transclude tiddler=\"$:/plugins/nico/projectify/ui/buttons/TodoPriority\" mode=\"inline\"/>\n </$vars>\n </div>\n </div>\n <div class=\"py-actions\">\n <$button\n class=\"py-btn btn-primary\"\n actions=<<add-todo-actions>>\n tooltip={{$:/language/projectify/AddTodo/Hint}}\n aria-label={{$:/language/projectify/AddTodo/Hint}}\n >\n <<lingo AddTodo/Caption>>\n </$button>\n </div>\n</$vars>\n" + }, "$:/plugins/nico/projectify/ui/forms/HelpSearch": { "title": "$:/plugins/nico/projectify/ui/forms/HelpSearch", "created": "20201229010310903", @@ -12147,13 +12157,6 @@ Error message and password prompt "type": "text/vnd.tiddlywiki", "text": "\\define lingo-base() $:/language/projectify/\n\n\\define add-project-actions()\n <$action-createtiddler\n $basetitle={{$:/state/projectify/new-category!!tag_name}}\n color={{$:/state/projectify/new-category!!color}}\n tags=\"$:/plugins/nico/projectify/tags/Category\"/>\n <$action-setfield\n $tiddler=\"$:/state/projectify/new-category\"\n tag_name=\"\"\n color=\"\"\n />\n <$action-setfield $tiddler=\"$:/state/projectify/show-new-category-popup\" text=\"\"/>\n <$action-sendmessage $message=\"tm-auto-save-wiki\"/>\n\\end\n\n<div class=\"py-form\">\n <$keyboard key=\"enter\">\n <<add-project-actions>>\n <div class=\"py-control-group\">\n <div class=\"py-label\"><<lingo Category>></div>\n <$edit-text\n class=\"py-input\"\n focus=\"true\"\n tiddler=\"$:/state/projectify/new-category\"\n field=\"tag_name\"\n />\n </div>\n <div class=\"py-control-group\">\n <div class=\"py-label\">{{$:/language/TagManager/Colour/Heading}}</div>\n <$edit-text\n class=\"py-input\"\n tiddler=\"$:/state/projectify/new-category\"\n field=\"color\"\n />\n </div>\n </$keyboard>\n <div class=\"py-actions\">\n <$button class=\"py-btn btn-primary\">\n <<add-project-actions>>\n\t<<lingo Save/Caption>>\n </$button>\n <<lingo Or>>\n <$button class=\"py-btn\" set=\"$:/state/projectify/show-new-category-popup\" setTo=\"\">\n <<lingo Cancel/Caption>>\n </$button>\n </div>\n</div>\n" }, - "$:/plugins/nico/projectify/ui/forms/NewInboxTodo": { - "title": "$:/plugins/nico/projectify/ui/forms/NewInboxTodo", - "created": "20201212173718479", - "modified": "20210126114817704", - "type": "text/vnd.tiddlywiki", - "text": "\\define lingo-base() $:/language/projectify/\n\n<$keyboard key=\"enter\">\n <$action-createtiddler $basetitle={{$:/temp/projectify/Inbox!!todo_name}} tags=\"Inbox todo\"/>\n <$action-setfield $tiddler=\"$:/temp/projectify/Inbox\" todo_name=\"\"/>\n <$edit-text\n class=\"py-input input-larger\" tiddler=\"$:/temp/projectify/Inbox\"\n field=\"todo_name\"\n placeholder={{$:/language/projectify/AddToInbox/Placeholder}}\n />\n <$action-sendmessage $message=\"tm-auto-save-wiki\"/>\n <label class=\"py-label\">\n <<lingo AddToInbox/Hint>>\n </label>\n</$keyboard>\n" - }, "$:/plugins/nico/projectify/ui/forms/NewProject": { "title": "$:/plugins/nico/projectify/ui/forms/NewProject", "created": "20201217232220846", @@ -12161,13 +12164,6 @@ Error message and password prompt "type": "text/vnd.tiddlywiki", "text": "\\define lingo-base() $:/language/projectify/\n\n\\define add-project-actions()\n <$action-createtiddler\n $basetitle={{$:/state/projectify/new-project!!project_title}}\n description={{$:/state/projectify/new-project!!description}}\n category={{$:/state/projectify/new-project!!category}}\n tags=\"Project\"/>\n <$action-setfield\n $tiddler=\"$:/state/projectify/new-project\"\n project_title=\"\"\n description=\"\"\n category=\"\"\n />\n <$action-setfield $tiddler=\"$:/state/projectify/show-new-project-popup\" text=\"\"/>\n <$action-sendmessage $message=\"tm-auto-save-wiki\"/>\n\\end\n\n<div class=\"py-form\">\n <$keyboard key=\"enter\">\n <<add-project-actions>>\n <div class=\"py-control-group\">\n <div class=\"py-label\"><<lingo NewProjectTitle>></div>\n <$edit-text\n class=\"py-input\"\n focus=\"true\"\n tiddler=\"$:/state/projectify/new-project\"\n field=\"project_title\"\n />\n </div>\n <div class=\"py-control-group\">\n <div class=\"py-label\"><<lingo NewProjectDescription>></div>\n <$edit-text\n class=\"py-input\"\n tiddler=\"$:/state/projectify/new-project\"\n field=\"description\"\n />\n </div>\n <div class=\"py-control-group\">\n <div class=\"py-label\"><<lingo NewProjectCategory>></div>\n <$select tiddler=\"$:/state/projectify/new-project\" field=\"category\">\n\t<$list filter=<<py-all-categories>>>\n\t <option value=<<currentTiddler>>>\n\t <<currentTiddler>>\n\t </option>\n\t</$list>\n\t<option value=\"\"></option>\t \n </$select>\n </div>\n </$keyboard>\n <div class=\"py-actions\">\n <$button class=\"py-btn btn-primary\">\n <<add-project-actions>>\n\t<<lingo Save/Caption>>\n </$button>\n <<lingo Or>>\n <$button class=\"py-btn\" set=\"$:/state/projectify/show-new-project-popup\" setTo=\"\">\n <<lingo Cancel/Caption>>\n </$button>\n </div>\n</div>\n" }, - "$:/plugins/nico/projectify/ui/forms/ProjectActions": { - "title": "$:/plugins/nico/projectify/ui/forms/ProjectActions", - "created": "20201207165347344", - "modified": "20210126114718817", - "type": "text/vnd.tiddlywiki", - "text": "\\define lingo-base() $:/language/projectify/\n\n\\define project-add-todo-actions()\n <$action-createtiddler\n $basetitle={{{ [<stateTiddler>get[todo_name]] }}}\n $savetitle=\"$:/state/projectify/new-todo\"\n />\n\n <$action-listops $tiddler={{$:/state/projectify/new-todo}} $tags=\"[{!!title}] todo\"/>\n <$action-setfield $tiddler=<<stateTiddler>> todo_name=\"\"/>\n <$action-sendmessage $message=\"tm-auto-save-wiki\"/>\n\\end\n\n<$vars stateTiddler=<<qualify \"$:/temp/projectify/todo-form\">>\n save-actions=<<project-add-todo-actions>>>\n <div class=\"py-actions\">\n \n <$reveal type=\"match\" state=<<stateTiddler>> text=\"\">\n {{||$:/plugins/nico/projectify/ui/buttons/AddTodo}}\n <$list filter=<<py-is-open>>>\n <<lingo Or>> {{||$:/plugins/nico/projectify/ui/buttons/ArchiveProject}}\n </$list>\n </$reveal>\n \n <$reveal type=\"match\" state=<<stateTiddler>> text=\"show\">\n <$keyboard key=\"enter\">\n <<save-actions>>\n <$edit-text class=\"py-input\" focus=\"true\" tiddler=<<stateTiddler>> field=\"todo_name\" placeholder={{$:/language/projectify/AddTodoToProject/Placeholder}}/>\n </$keyboard>\n <div class=\"py-actions\">\n {{||$:/plugins/nico/projectify/ui/buttons/Save}}\n or\n {{||$:/plugins/nico/projectify/ui/buttons/Cancel}}\n </div>\n </$reveal>\n \n </div>\n</$vars>\n" - }, "$:/plugins/nico/projectify/ui/forms/TodoConvert": { "title": "$:/plugins/nico/projectify/ui/forms/TodoConvert", "created": "20210111194810128", @@ -12196,10 +12192,10 @@ Error message and password prompt "title": "$:/plugins/nico/projectify/ui/inbox/Inbox", "caption": "{{$:/plugins/nico/projectify/images/inbox}} {{$:/language/projectify/Inbox}}", "created": "20200425193337699", - "modified": "20210112182518459", + "modified": "20210205205023525", "tags": "", "type": "text/vnd.tiddlywiki", - "text": "\\define inbox-count()\n <$vars currentTiddler=\"Inbox\">\n <span class=\"py-count\">\n <$count filter=<<py-open-todos>>/>\n </span>\n </$vars>\n\\end\n\n<h2>{{$:/language/projectify/Inbox}} <<inbox-count>></h2>\n\n{{$:/plugins/nico/projectify/ui/forms/NewInboxTodo}}\n\n<$vars currentTiddler=\"Inbox\">\n <$macrocall\n class=\"py-inbox-input\"\n $name=\"todo-list\"\n emptyTemplate=\"$:/plugins/nico/projectify/ui/welcome/EmptyInbox\"\n />\n</$vars>\n" + "text": "\\define lingo-base() $:/language/projectify/\n\n\\define inbox-count()\n <$vars currentTiddler=\"Inbox\">\n <span class=\"py-count\">\n <$count filter=<<py-open-todos>>/>\n </span>\n </$vars>\n\\end\n\n<h2>{{$:/language/projectify/Inbox}} <<inbox-count>></h2>\n\n<label class=\"py-label py-right-aligned\">\n <<lingo AddToInbox/Hint>>\n</label>\n<$vars\n todo-tags=\"Inbox todo\"\n placeholder={{$:/language/projectify/AddToInbox/Placeholder}}\n>\n {{$:/plugins/nico/projectify/ui/forms/AddTodo}}\n</$vars>\n<$vars currentTiddler=\"Inbox\">\n <$macrocall\n class=\"py-inbox-input\"\n $name=\"todo-list\"\n emptyTemplate=\"$:/plugins/nico/projectify/ui/welcome/EmptyInbox\"\n />\n</$vars>\n" }, "$:/plugins/nico/projectify/ui/project/ArchivedProjectBanner": { "title": "$:/plugins/nico/projectify/ui/project/ArchivedProjectBanner", @@ -12229,10 +12225,10 @@ Error message and password prompt "title": "$:/plugins/nico/projectify/ui/project/Project", "created": "20201207165347344", "list-after": "$:/plugins/nico/projectify/ui/todo/TodoHeading", - "modified": "20210119144230346", + "modified": "20210205173559098", "tags": "$:/tags/ViewTemplate", "type": "text/vnd.tiddlywiki", - "text": "\\define lingo-base() $:/language/projectify/\n\n<$list filter=<<py-is-project>> variable=\"ignore\">\n <$list filter=<<py-is-not-subproject>>>\n <div class=\"py-category-wrapper\">\n {{||$:/plugins/nico/projectify/ui/buttons/SelectCategory}}\n </div>\n </$list>\n \n {{||$:/plugins/nico/projectify/ui/project/ArchivedProjectBanner}}\n\n <h2><<lingo Todos>> {{||$:/plugins/nico/projectify/images/pie}}</h2>\n\n <$macrocall\n $name=\"todo-list\"\n emptyTemplate=\"$:/plugins/nico/projectify/ui/welcome/EmptyProject\"\n />\n\n {{||$:/plugins/nico/projectify/ui/forms/ProjectActions}}\n\n {{||$:/plugins/nico/projectify/ui/buttons/ToggleCompletedTodos}}\n</$list>\n" + "text": "\\define lingo-base() $:/language/projectify/\n\n<$list filter=<<py-is-project>> variable=\"ignore\">\n <$list filter=<<py-is-not-subproject>>>\n <div class=\"py-category-wrapper\">\n {{||$:/plugins/nico/projectify/ui/buttons/SelectCategory}}\n <$list filter=<<py-is-open>>>\n\t{{||$:/plugins/nico/projectify/ui/buttons/ArchiveProject}}\n </$list>\n </div>\n </$list>\n \n {{||$:/plugins/nico/projectify/ui/project/ArchivedProjectBanner}}\n\n <h2><<lingo Todos>> {{||$:/plugins/nico/projectify/images/pie}}</h2>\n\n <$macrocall\n $name=\"todo-list\"\n emptyTemplate=\"$:/plugins/nico/projectify/ui/welcome/EmptyProject\"\n />\n\n {{||$:/plugins/nico/projectify/ui/buttons/ToggleCompletedTodos}}\n\n <$vars\n stateTiddler=<<qualify \"$:/temp/projectify/todo-form\">>\n todo-tags=\"[{!!title}] todo\"\n placeholder={{$:/language/projectify/AddTodoToProject/Placeholder}}\n >\n {{||$:/plugins/nico/projectify/ui/forms/AddTodo}}\n </$vars>\n</$list>\n" }, "$:/plugins/nico/projectify/ui/sidebar/Projects": { "title": "$:/plugins/nico/projectify/ui/sidebar/Projects", @@ -12337,7 +12333,7 @@ Error message and password prompt }, "$:/plugins/nico/projectify/ui/widgets/date-picker.js": { "title": "$:/plugins/nico/projectify/ui/widgets/date-picker.js", - "text": "/*\\\ntitle: $:/plugins/nico/projectify/ui/widgets/date-picker.js\ntype: application/javascript\nmodule-type: widget\n\npy-date-picker widget factory.\n\nThis widget is intended to be used within a drop-down (with the tc-drop-down CSS\nclass). See $:/plugins/nico/projectify/ui/buttons/TodoDueDate for usages.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n\nvar Widget = require(\"$:/core/modules/widgets/widget.js\").widget;\nvar Pikaday = require(\"$:/plugins/nico/projectify/lib/pikaday.js\");\n\nfunction getToday () {\n\treturn new Date();\n};\n\nfunction getTomorrow () {\n\tlet today = getToday();\n\tlet tomorrow = new Date(today);\n\ttomorrow.setDate(today.getDate() + 1);\n\treturn tomorrow;\n};\n\nfunction getNextMonday () {\n\tlet tomorrow = getTomorrow();\n\tlet monday = new Date(tomorrow);\n\tmonday.setDate(monday.getDate() + (1 + 7 - tomorrow.getDay()) % 7);\n\treturn monday;\n};\n\nvar AbstractDatePickerWidget = function() {};\nAbstractDatePickerWidget.prototype = new Widget();\n\n\n/*\nCompute the internal state of the widget\n*/\nAbstractDatePickerWidget.prototype.execute = function () {\n\tthis.title = this.getAttribute(\"tiddler\", this.getVariable(\"currentTiddler\"));\n\tthis.field = this.getAttribute(\"field\", \"due\");\n\tthis.makeChildWidgets();\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of\nits children needed re-rendering\n*/\nAbstractDatePickerWidget.prototype.refresh = function(changedTiddlers) {\n\tlet changedAttributes = this.computeAttributes();\n\n\tif(changedAttributes.tiddler || changedAttributes.field) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\treturn false;\n\t}\n};\n\nAbstractDatePickerWidget.prototype.getTiddler = function() {\n\treturn this.wiki.getTiddler(this.title);\n};\n\nAbstractDatePickerWidget.prototype.getValue = function() {\n\treturn $tw.utils.parseDate(this.getTiddler().getFieldString(this.field));\n};\n\nAbstractDatePickerWidget.prototype.setValue = function (date) {\n\tlet updateFields = {\n\t\ttitle: this.title,\n\t\t[this.field]: date ? this.formatDate(date) : undefined\n\t};\n\n\tthis.wiki.addTiddler(\n\t\tnew $tw.Tiddler(\n\t\t\tthis.wiki.getCreationFields(),\n\t\t\tthis.getTiddler(),\n\t\t\tupdateFields,\n\t\t\tthis.wiki.getModificationFields()\n\t\t)\n\t);\n\n\t$tw.rootWidget.dispatchEvent({type: \"tm-auto-save-wiki\"});\n};\n\nAbstractDatePickerWidget.prototype.formatDate = function(date) {\n\t// TW format is YYYYMMDDHHmmssSSS\n\treturn `${date.getFullYear()}${this.formatMonth(date)}${this.formatDay(date)}120000000`;\n};\n\nAbstractDatePickerWidget.prototype.formatMonth = function(date) {\n\tlet month = `${date.getMonth() + 1}`;\n\tif (month.length === 1) {\n\t\tmonth = `0${month}`;\n\t}\n\n\treturn month;\n};\n\nAbstractDatePickerWidget.prototype.formatDay = function(date) {\n\tlet day = `${date.getDate()}`;\n\tif (day.length === 1) {\n\t\tday = `0${day}`;\n\t}\n\n\treturn day;\n};\n\nvar factory = function(getDate, cssClass) {\n\tvar PickerWidget = function(parseTreeNode,options) {\n\t\tthis.initialise(parseTreeNode,options);\n\t};\n\n\tPickerWidget.prototype = new AbstractDatePickerWidget();\n\n\tPickerWidget.prototype.render = function(parent,nextSibling) {\n\t\tthis.parentDomNode = parent;\n\t\tthis.computeAttributes();\n\t\tthis.execute();\n\n\t\tthis.domNode = this.createDomNode();\n\n\t\tparent.insertBefore(this.domNode, nextSibling);\n\t\tthis.renderChildren(this.domNode, null);\n\t\tthis.domNodes.push(this.domNode);\n\t};\n\n\tPickerWidget.prototype.createDomNode = function() {\n\t\tlet btn = document.createElement(\"button\");\n\t\tbtn.classList.add(\"tc-btn-invisible\", cssClass);\n\t\tbtn.addEventListener(\"click\", () => {\n\t\t\tthis.setValue(getDate());\n\t\t});\n\n\t\treturn btn;\n\t};\n\n\treturn PickerWidget;\n};\n\nvar CalendarWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\nCalendarWidget.prototype = new AbstractDatePickerWidget();\n\nCalendarWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\n\tthis.domNode = this.renderCalendar();\n\n\tparent.insertBefore(this.domNode, nextSibling);\n\tthis.renderChildren(this.domNode, null);\n\tthis.domNodes.push(this.domNode);\n};\n\nCalendarWidget.prototype.renderCalendar = function() {\n\tlet calendar = new Pikaday({\n\t\tfirstDay: 1,\n\t\tkeyboardInput: false,\n\t\ti18n: this.getLabels(),\n\t\tonSelect: () => {\n\t\t\tthis.setValue(calendar.getDate());\n\t\t\t// Close the popup\n\t\t\t$tw.popup.cancel(0);\n\t\t},\n\t\tonDraw: fixPopupClosing\n\t});\n\n\tcalendar.setDate(this.getValue(), true);\n\n\t// Prevent the month and year pickers click events from closing the TW\n\t// popup. This function is called on each redraw (when a new month is\n\t// selected).\n\tfunction fixPopupClosing() {\n\t\tsetTimeout(() => {\n\t\t\tcalendar.el.querySelectorAll(\".pika-label\").forEach((elt) => {\n\t\t\t\telt.classList.add(\"tc-popup-handle\");\n\t\t\t});\n\t\t}, 0);\n\t}\n\n\treturn calendar.el;\n};\n\nCalendarWidget.prototype.getLabels = function() {\n\treturn {\n previousMonth : \"Previous Month\",\n nextMonth : \"Next Month\",\n months : this.getMonthLabels(),\n monthsShort : this.getShortMonthLabels(),\n weekdays : this.getDayLabels(),\n weekdaysShort : this.getShortDayLabels(),\n };\n};\n\nCalendarWidget.prototype.getMonthLabels = function() {\n\treturn this._mapRange(12, i => this._getDateLabel(`Long/Month/${i+1}`));\n};\n\nCalendarWidget.prototype.getShortMonthLabels = function() {\n\treturn this._mapRange(12, i => this._getDateLabel(`Short/Month/${i+1}`));\n};\n\nCalendarWidget.prototype.getDayLabels = function() {\n\treturn this._mapRange(7, i => this._getDateLabel(`Long/Day/${i}`));\n};\n\nCalendarWidget.prototype.getShortDayLabels = function() {\n\treturn this._mapRange(7, i => this._getDateLabel(`Short/Day/${i}`));\n};\n\nCalendarWidget.prototype._mapRange = function(n, f) {\n\treturn Array.from(new Array(n)).map((_, i) => f(i));\n};\n\nCalendarWidget.prototype._getDateLabel = function(title) {\n\treturn this.wiki.getTextReference(`$:/language/Date/${title}`);\n};\n\nexports[\"py-date-today\"] = factory(getToday, \"py-date-today\");\nexports[\"py-date-tomorrow\"] = factory(getTomorrow, \"py-date-tomorrow\");\nexports[\"py-date-next-week\"] = factory(getNextMonday, \"py-date-next-week\");\nexports[\"py-date-clear\"] = factory(function() {return undefined;}, \"py-date-clear\");\nexports[\"py-date-calendar\"] = CalendarWidget;\n\n})();\n", + "text": "/*\\\ntitle: $:/plugins/nico/projectify/ui/widgets/date-picker.js\ntype: application/javascript\nmodule-type: widget\n\npy-date-picker widget factory.\n\nThis widget is intended to be used within a drop-down (with the tc-drop-down CSS\nclass). See $:/plugins/nico/projectify/ui/buttons/TodoDueDate for usages.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n\nvar Widget = require(\"$:/core/modules/widgets/widget.js\").widget;\nvar Pikaday = require(\"$:/plugins/nico/projectify/lib/pikaday.js\");\n\nfunction getToday () {\n\treturn new Date();\n};\n\nfunction getTomorrow () {\n\tlet today = getToday();\n\tlet tomorrow = new Date(today);\n\ttomorrow.setDate(today.getDate() + 1);\n\treturn tomorrow;\n};\n\nfunction getNextMonday () {\n\tlet tomorrow = getTomorrow();\n\tlet monday = new Date(tomorrow);\n\tmonday.setDate(monday.getDate() + (1 + 7 - tomorrow.getDay()) % 7);\n\treturn monday;\n};\n\nvar AbstractDatePickerWidget = function() {};\nAbstractDatePickerWidget.prototype = new Widget();\n\n\n/*\nCompute the internal state of the widget\n*/\nAbstractDatePickerWidget.prototype.execute = function () {\n\tthis.title = this.getAttribute(\"tiddler\", this.getVariable(\"currentTiddler\"));\n\tthis.field = this.getAttribute(\"field\", \"due\");\n\tthis.makeChildWidgets();\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of\nits children needed re-rendering\n*/\nAbstractDatePickerWidget.prototype.refresh = function(changedTiddlers) {\n\tlet changedAttributes = this.computeAttributes();\n\n\tif(changedAttributes.tiddler || changedAttributes.field) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\treturn false;\n\t}\n};\n\nAbstractDatePickerWidget.prototype.getTiddler = function() {\n\tvar tiddler = this.wiki.getTiddler(this.title);\n\tif(!tiddler) {\n\t\tthis.wiki.addTiddler({title: this.title});\n\t\ttiddler = this.wiki.getTiddler(this.title);\n\t}\n\n\treturn tiddler;\n};\n\nAbstractDatePickerWidget.prototype.getValue = function() {\n\treturn $tw.utils.parseDate(this.getTiddler().getFieldString(this.field));\n};\n\nAbstractDatePickerWidget.prototype.setValue = function (date) {\n\tlet updateFields = {\n\t\ttitle: this.title,\n\t\t[this.field]: date ? this.formatDate(date) : undefined\n\t};\n\n\tthis.wiki.addTiddler(\n\t\tnew $tw.Tiddler(\n\t\t\tthis.wiki.getCreationFields(),\n\t\t\tthis.getTiddler(),\n\t\t\tupdateFields,\n\t\t\tthis.wiki.getModificationFields()\n\t\t)\n\t);\n\n\t$tw.rootWidget.dispatchEvent({type: \"tm-auto-save-wiki\"});\n};\n\nAbstractDatePickerWidget.prototype.formatDate = function(date) {\n\t// TW format is YYYYMMDDHHmmssSSS\n\treturn `${date.getFullYear()}${this.formatMonth(date)}${this.formatDay(date)}120000000`;\n};\n\nAbstractDatePickerWidget.prototype.formatMonth = function(date) {\n\tlet month = `${date.getMonth() + 1}`;\n\tif (month.length === 1) {\n\t\tmonth = `0${month}`;\n\t}\n\n\treturn month;\n};\n\nAbstractDatePickerWidget.prototype.formatDay = function(date) {\n\tlet day = `${date.getDate()}`;\n\tif (day.length === 1) {\n\t\tday = `0${day}`;\n\t}\n\n\treturn day;\n};\n\nvar factory = function(getDate, cssClass) {\n\tvar PickerWidget = function(parseTreeNode,options) {\n\t\tthis.initialise(parseTreeNode,options);\n\t};\n\n\tPickerWidget.prototype = new AbstractDatePickerWidget();\n\n\tPickerWidget.prototype.render = function(parent,nextSibling) {\n\t\tthis.parentDomNode = parent;\n\t\tthis.computeAttributes();\n\t\tthis.execute();\n\n\t\tthis.domNode = this.createDomNode();\n\n\t\tparent.insertBefore(this.domNode, nextSibling);\n\t\tthis.renderChildren(this.domNode, null);\n\t\tthis.domNodes.push(this.domNode);\n\t};\n\n\tPickerWidget.prototype.createDomNode = function() {\n\t\tlet btn = document.createElement(\"button\");\n\t\tbtn.classList.add(\"tc-btn-invisible\", cssClass);\n\t\tbtn.addEventListener(\"click\", () => {\n\t\t\tthis.setValue(getDate());\n\t\t});\n\n\t\treturn btn;\n\t};\n\n\treturn PickerWidget;\n};\n\nvar CalendarWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\nCalendarWidget.prototype = new AbstractDatePickerWidget();\n\nCalendarWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\n\tthis.domNode = this.renderCalendar();\n\n\tparent.insertBefore(this.domNode, nextSibling);\n\tthis.renderChildren(this.domNode, null);\n\tthis.domNodes.push(this.domNode);\n};\n\nCalendarWidget.prototype.renderCalendar = function() {\n\tlet calendar = new Pikaday({\n\t\tfirstDay: 1,\n\t\tkeyboardInput: false,\n\t\ti18n: this.getLabels(),\n\t\tonSelect: () => {\n\t\t\tthis.setValue(calendar.getDate());\n\t\t\t// Close the popup\n\t\t\t$tw.popup.cancel(0);\n\t\t},\n\t\tonDraw: fixPopupClosing\n\t});\n\n\tcalendar.setDate(this.getValue(), true);\n\n\t// Prevent the month and year pickers click events from closing the TW\n\t// popup. This function is called on each redraw (when a new month is\n\t// selected).\n\tfunction fixPopupClosing() {\n\t\tsetTimeout(() => {\n\t\t\tcalendar.el.querySelectorAll(\".pika-label\").forEach((elt) => {\n\t\t\t\telt.classList.add(\"tc-popup-handle\");\n\t\t\t});\n\t\t}, 0);\n\t}\n\n\treturn calendar.el;\n};\n\nCalendarWidget.prototype.getLabels = function() {\n\treturn {\n previousMonth : \"Previous Month\",\n nextMonth : \"Next Month\",\n months : this.getMonthLabels(),\n monthsShort : this.getShortMonthLabels(),\n weekdays : this.getDayLabels(),\n weekdaysShort : this.getShortDayLabels(),\n };\n};\n\nCalendarWidget.prototype.getMonthLabels = function() {\n\treturn this._mapRange(12, i => this._getDateLabel(`Long/Month/${i+1}`));\n};\n\nCalendarWidget.prototype.getShortMonthLabels = function() {\n\treturn this._mapRange(12, i => this._getDateLabel(`Short/Month/${i+1}`));\n};\n\nCalendarWidget.prototype.getDayLabels = function() {\n\treturn this._mapRange(7, i => this._getDateLabel(`Long/Day/${i}`));\n};\n\nCalendarWidget.prototype.getShortDayLabels = function() {\n\treturn this._mapRange(7, i => this._getDateLabel(`Short/Day/${i}`));\n};\n\nCalendarWidget.prototype._mapRange = function(n, f) {\n\treturn Array.from(new Array(n)).map((_, i) => f(i));\n};\n\nCalendarWidget.prototype._getDateLabel = function(title) {\n\treturn this.wiki.getTextReference(`$:/language/Date/${title}`);\n};\n\nexports[\"py-date-today\"] = factory(getToday, \"py-date-today\");\nexports[\"py-date-tomorrow\"] = factory(getTomorrow, \"py-date-tomorrow\");\nexports[\"py-date-next-week\"] = factory(getNextMonday, \"py-date-next-week\");\nexports[\"py-date-clear\"] = factory(function() {return undefined;}, \"py-date-clear\");\nexports[\"py-date-calendar\"] = CalendarWidget;\n\n})();\n", "type": "application/javascript", "module-type": "widget" } @@ -12667,7 +12663,7 @@ Error message and password prompt }, "$:/language/projectify/ShowCompletedTodosByDefault": { "title": "$:/language/projectify/ShowCompletedTodosByDefault", - "text": "Show completed todos by default" + "text": "Abgeschlossene Aufgaben standardmäßig anzeigen" }, "$:/language/projectify/ShowWelcomeMessages": { "title": "$:/language/projectify/ShowWelcomeMessages", @@ -13231,7 +13227,7 @@ Error message and password prompt }, "$:/language/projectify/AddTodo/Caption": { "title": "$:/language/projectify/AddTodo/Caption", - "text": "Ajouter une tâche" + "text": "Ajouter la tâche" }, "$:/language/projectify/AddTodo/Hint": { "title": "$:/language/projectify/AddTodo/Hint", diff --git a/docs/empty.html b/docs/empty.html index e92f0f9..971dcd0 100644 --- a/docs/empty.html +++ b/docs/empty.html @@ -10700,10 +10700,10 @@ Error message and password prompt "title": "$:/plugins/nico/projectify/changelog", "caption": "ChangeLog", "created": "20201208093546936", - "modified": "20210131213115129", + "modified": "20210206205208368", "tags": "", "type": "text/vnd.tiddlywiki", - "text": "! Release 0.13.1\n\n!! Improvements\n\n* New Spanish translation and empty edition\n* New configuration option to show completed tasks by default\n* Move down the \"convert into project\" button in the todo actions dropdown\n\n!! Fixes\n\n* Fix the link of the icon of todos with content not to toggle the state of the todos\n* Fix the filter macro used in the filter dashboard tab\n* Fix the position of the scheduled dropdown in the topbar\n* Fix the rendering of todo captions in the scheduled dropdown\n\n! Release 0.13.0\n\n!! Features\n\n* New Simplified Chinese translation plugin\n* New German translation plugin\n* New icon indicator in todo-lists for tasks that have content\n\n!! Improvements\n\n* Improve the rendering of the checkbox in the titlebar\n* Render the checkbox button before the close button in the titlebar\n* Improve the category selection dropdown\n* When using the Relink plugin, automatically relink project categories\n* Add links to category tiddlers in the control panel\n\n! Release 0.12.0\n\n!! Features\n\n* Add a configuration option to hide welcome messages\n* New filter tab in the dashboard\n* New icons for projects and next actions\n\n!! Improvements\n\n* Improve the rendering of the QuickCapture tiddler\n* Add a dragover style to project cards\n* Improved the layout of the dashboard tabs on mobile\n* New CSS transition on project card mouseover\n\n!! Fixes\n\n* Fix several translation issues\n* If a project has no category, do not render it in the project card\n* Fix the position of the count tag in the Today dashboard tab\n\n! Release 0.11.0\n\n!! Features\n\n* Add support for categories in projects, with colours and filtering from the dashboard\n* New button to convert todos into projects\n* New category configuration tab in the Control Panel\n* New French (fr-FR) language add-on plugin\n* New Dutch (nl-NL) language add-on plugin\n\n!! Improvements\n\n* Render todo items using the new $:/plugins/nico/projectify/ui/todo/TodoCaption template\n* Action buttons in Todo tiddlers are now rendered as regular buttons\n\n! Release 0.10.0\n\n!! Features\n\n* New priority property on todos\n* New configuration tab to the Control Panel\n* New configuration setting for the default dashboard tab\n* New configuration setting for switching between the list and card view of projects\n\n!! Improvements\n\n* New todo item layout\n* Display due dates for yesterday/tomorrow as \"Yesterday\"/\"Tomorrow\"\n* Add support for dragging todos in the welcome message of empty projects and inbox\n* Add welcome screens to the Upcoming and Next Actions tabs of the dashboard\n* Improved dashboard tabs on mobile to fit all tabs on one row\n\n!! Fixes\n\n* Fix an annoying bug where the calendar picker keyboard events stay active after the popup has been closed\n\n! Release 0.9.0\n\n!! Features\n\n* New \"Today\" dashboard tab for todos due today\n* New \"Upcoming\" dashboard tab for all scheduled todos\n\n!! Improvements\n\n* Only show scheduling button in todos that are not scheduled on hover\n* Add a caption and description to ToggleTodo for the control panel\n* Improve the rendering of sidebar sections by setting a max width\n* Update icons and colors of the date-picker\n\n!! Fixes\n\n* Fix the selection of months and years in the date picker\n* Fix the rendering of due dates in Notebook sidebar\n\n! Release 0.8.0\n\n!! Features\n\n* New date picker popup for scheduling todo due dates\n* Todos can now be moved between projects by dragging title links\n* New search input in the Help tiddler\n* Update the stylesheets to work with dark colour palettes\n\n!! Improvements\n\n* Display the link to the Help tiddler at the bottom of the Dashboard\n* Remove the dependency to $:/plugins/kixam/datepicker\n* Redesign Todo tiddler header buttons\n* Trigger auto-save when modifying a project or todo\n* Show today's date as \"Today\" in todo due dates\n\n!! Fixes\n\n* Fix the popup placement for creating new projects on mobile\n* Filter out project drafts from project lists\n\n! Release 0.7.1\n\n!! Features\n\n* New Help tab in the dashboard\n* All tiddler links can now be dropped within todo lists to add the target tiddlers as todos\n* New \"Projects\" and \"Schedule\" tabs added to the sidebar\n\n!! Fixes\n\n* Fix Scheduled button when there are overdue tasks\n* Fix rendering glitch of project titles in project cards\n* Fix rendering of scheduled todos in Notebook sidebar\n\n! Release 0.7.0\n\n!! Features\n\n* New color setting on project cards\n\n!! Improvements\n\n* New icons from the OpenMoji project\n* New welcome screens for the inbox and project list\n* New project list in the sidebar when using the Notebook theme\n\n!! Fixes\n\n* Fix a typo in the Scheduled sidebar button\n* Fix colors to work with dark palettes\n\n! Release 0.6.1\n\n!! Features\n\n* When a project has both scheduled and unscheduled items, split the todo-list in 2 distinct sections\n* Project cards now show the project description if set\n* Item that have sub-tasks now show a pie chart in todo lists\n\n!! Improvements\n\n* Add a drag handle on scheduled todo items as well, so they can be dragged & moved between projects\n* The button to add projects now toggles a form rendered within a popup\n* The Schedule popup now shows overdue todos as well as today's todos\n* Always render the todo-list so that todos can be dragged into empty projects\n\n! Release 0.6.0\n\n!! Features\n\n* Todos can now moved between projects using drag & drop\n* Todos can now be made into sub-projects by clicking the `Make this into a sub-project` button\n* Empty projects and Inbox now show a welcome screen\n* New checkbox button in the view toolbar of todo tiddlers\n* New form to add new projects including an input for the project title\n* The number of todos in a project is now represented with a small pie chart icon\n* New card view of active projects in the dashboard\n* Projects in the dashboard can now be reordered\n* Projects without active todos are now omitted from the \"Next\" dashboard section\n* New Schedule button in the page controls listings all todos scheduled today\n* New list in the Schedule tab of the dashboard listing all item scheduled to be done after the next 30 days.\n\n!! Improvements\n\n* New icon set\n* Improved style for checkboxes, buttons and inputs\n* Improved style for the dashboard projects section\n* Improved layout for completed todos in a project\n* Added a drag handle for draggable todo items\n* Scheduled todos are always sorted first\n\n!! Fixes\n\n* Fix creation of projects with triple double quotes\n* Fix creation of todos with triple double quotes\n* Fix drag&drop of todos with double quotes or triple double quotes\n\n!! Breaking changes\n\n* The `<<project>>` macro should not be used anymore. Instead, the plugin adds the <<tag SubProject>> tag to sub projects and renders their todo-list automatically.\n* Projects are now archived using the <<tag done>> tag. The former `Archived` tag is not used anymore.\n" + "text": "! Master\n\n!! Features\n\n* New redesigned input for adding todos\n* New buttons for scheduling and setting a priority directly when adding a todo\n\n!! Improvements\n\n* New filters in dashboard tab for todo priorities\n* Documentation improvements WRT customizing Projectify\n\n!! Fixes\n\n* Prevent creation of todos with empty titles\n\n! Release 0.13.1\n\n!! Improvements\n\n* New Spanish translation and empty edition\n* New configuration option to show completed tasks by default\n* Move down the \"convert into project\" button in the todo actions dropdown\n\n!! Fixes\n\n* Fix the link of the icon of todos with content not to toggle the state of the todos\n* Fix the filter macro used in the filter dashboard tab\n* Fix the position of the scheduled dropdown in the topbar\n* Fix the rendering of todo captions in the scheduled dropdown\n\n! Release 0.13.0\n\n!! Features\n\n* New Simplified Chinese translation plugin\n* New German translation plugin\n* New icon indicator in todo-lists for tasks that have content\n\n!! Improvements\n\n* Improve the rendering of the checkbox in the titlebar\n* Render the checkbox button before the close button in the titlebar\n* Improve the category selection dropdown\n* When using the Relink plugin, automatically relink project categories\n* Add links to category tiddlers in the control panel\n\n! Release 0.12.0\n\n!! Features\n\n* Add a configuration option to hide welcome messages\n* New filter tab in the dashboard\n* New icons for projects and next actions\n\n!! Improvements\n\n* Improve the rendering of the QuickCapture tiddler\n* Add a dragover style to project cards\n* Improved the layout of the dashboard tabs on mobile\n* New CSS transition on project card mouseover\n\n!! Fixes\n\n* Fix several translation issues\n* If a project has no category, do not render it in the project card\n* Fix the position of the count tag in the Today dashboard tab\n\n! Release 0.11.0\n\n!! Features\n\n* Add support for categories in projects, with colours and filtering from the dashboard\n* New button to convert todos into projects\n* New category configuration tab in the Control Panel\n* New French (fr-FR) language add-on plugin\n* New Dutch (nl-NL) language add-on plugin\n\n!! Improvements\n\n* Render todo items using the new $:/plugins/nico/projectify/ui/todo/TodoCaption template\n* Action buttons in Todo tiddlers are now rendered as regular buttons\n\n! Release 0.10.0\n\n!! Features\n\n* New priority property on todos\n* New configuration tab to the Control Panel\n* New configuration setting for the default dashboard tab\n* New configuration setting for switching between the list and card view of projects\n\n!! Improvements\n\n* New todo item layout\n* Display due dates for yesterday/tomorrow as \"Yesterday\"/\"Tomorrow\"\n* Add support for dragging todos in the welcome message of empty projects and inbox\n* Add welcome screens to the Upcoming and Next Actions tabs of the dashboard\n* Improved dashboard tabs on mobile to fit all tabs on one row\n\n!! Fixes\n\n* Fix an annoying bug where the calendar picker keyboard events stay active after the popup has been closed\n\n! Release 0.9.0\n\n!! Features\n\n* New \"Today\" dashboard tab for todos due today\n* New \"Upcoming\" dashboard tab for all scheduled todos\n\n!! Improvements\n\n* Only show scheduling button in todos that are not scheduled on hover\n* Add a caption and description to ToggleTodo for the control panel\n* Improve the rendering of sidebar sections by setting a max width\n* Update icons and colors of the date-picker\n\n!! Fixes\n\n* Fix the selection of months and years in the date picker\n* Fix the rendering of due dates in Notebook sidebar\n\n! Release 0.8.0\n\n!! Features\n\n* New date picker popup for scheduling todo due dates\n* Todos can now be moved between projects by dragging title links\n* New search input in the Help tiddler\n* Update the stylesheets to work with dark colour palettes\n\n!! Improvements\n\n* Display the link to the Help tiddler at the bottom of the Dashboard\n* Remove the dependency to $:/plugins/kixam/datepicker\n* Redesign Todo tiddler header buttons\n* Trigger auto-save when modifying a project or todo\n* Show today's date as \"Today\" in todo due dates\n\n!! Fixes\n\n* Fix the popup placement for creating new projects on mobile\n* Filter out project drafts from project lists\n\n! Release 0.7.1\n\n!! Features\n\n* New Help tab in the dashboard\n* All tiddler links can now be dropped within todo lists to add the target tiddlers as todos\n* New \"Projects\" and \"Schedule\" tabs added to the sidebar\n\n!! Fixes\n\n* Fix Scheduled button when there are overdue tasks\n* Fix rendering glitch of project titles in project cards\n* Fix rendering of scheduled todos in Notebook sidebar\n\n! Release 0.7.0\n\n!! Features\n\n* New color setting on project cards\n\n!! Improvements\n\n* New icons from the OpenMoji project\n* New welcome screens for the inbox and project list\n* New project list in the sidebar when using the Notebook theme\n\n!! Fixes\n\n* Fix a typo in the Scheduled sidebar button\n* Fix colors to work with dark palettes\n\n! Release 0.6.1\n\n!! Features\n\n* When a project has both scheduled and unscheduled items, split the todo-list in 2 distinct sections\n* Project cards now show the project description if set\n* Item that have sub-tasks now show a pie chart in todo lists\n\n!! Improvements\n\n* Add a drag handle on scheduled todo items as well, so they can be dragged & moved between projects\n* The button to add projects now toggles a form rendered within a popup\n* The Schedule popup now shows overdue todos as well as today's todos\n* Always render the todo-list so that todos can be dragged into empty projects\n\n! Release 0.6.0\n\n!! Features\n\n* Todos can now moved between projects using drag & drop\n* Todos can now be made into sub-projects by clicking the `Make this into a sub-project` button\n* Empty projects and Inbox now show a welcome screen\n* New checkbox button in the view toolbar of todo tiddlers\n* New form to add new projects including an input for the project title\n* The number of todos in a project is now represented with a small pie chart icon\n* New card view of active projects in the dashboard\n* Projects in the dashboard can now be reordered\n* Projects without active todos are now omitted from the \"Next\" dashboard section\n* New Schedule button in the page controls listings all todos scheduled today\n* New list in the Schedule tab of the dashboard listing all item scheduled to be done after the next 30 days.\n\n!! Improvements\n\n* New icon set\n* Improved style for checkboxes, buttons and inputs\n* Improved style for the dashboard projects section\n* Improved layout for completed todos in a project\n* Added a drag handle for draggable todo items\n* Scheduled todos are always sorted first\n\n!! Fixes\n\n* Fix creation of projects with triple double quotes\n* Fix creation of todos with triple double quotes\n* Fix drag&drop of todos with double quotes or triple double quotes\n\n!! Breaking changes\n\n* The `<<project>>` macro should not be used anymore. Instead, the plugin adds the <<tag SubProject>> tag to sub projects and renders their todo-list automatically.\n* Projects are now archived using the <<tag done>> tag. The former `Archived` tag is not used anymore.\n" }, "$:/config/ShortcutInfo/py-quick-capture": { "title": "$:/config/ShortcutInfo/py-quick-capture", @@ -10768,10 +10768,19 @@ Error message and password prompt "caption": "Core concepts", "description": "Learn the basics of Projectify", "created": "20200427133943777", - "modified": "20210122101837878", + "modified": "20210206204400292", "tags": "[[Projectify documentation]] $:/plugins/nico/projectify/tags/help-card", + "list-after": "$:/plugins/nico/projectify/doc/GettingStarted", "type": "text/vnd.tiddlywiki", - "text": "The following tiddlers will help you learn the basics of Projectify.\n\n* [[Dashboard|$:/plugins/nico/projectify/doc/Dashboard]]\n* [[Inbox|$:/plugins/nico/projectify/doc/Inbox]]\n* [[Todos|$:/plugins/nico/projectify/doc/Todos]]\n* [[Projects|$:/plugins/nico/projectify/doc/Projects]]\n* [[Categories|$:/plugins/nico/projectify/doc/Categories]]\n* [[Refiling|$:/plugins/nico/projectify/doc/Refiling]]\n* [[Schedule|$:/plugins/nico/projectify/doc/Schedule]]\n" + "text": "The following tiddlers will help you learn the basics of Projectify.\n\n* [[Dashboard|$:/plugins/nico/projectify/doc/Dashboard]]\n* [[Inbox|$:/plugins/nico/projectify/doc/Inbox]]\n* [[Todos|$:/plugins/nico/projectify/doc/Todos]]\n* [[Projects|$:/plugins/nico/projectify/doc/Projects]]\n* [[Categories|$:/plugins/nico/projectify/doc/Categories]]\n* [[Refiling|$:/plugins/nico/projectify/doc/Refiling]]\n* [[Schedule|$:/plugins/nico/projectify/doc/Schedule]]\n* [[Customizing Projectify|$:/plugins/nico/projectify/doc/Customizing]]\n" + }, + "$:/plugins/nico/projectify/doc/Customizing": { + "title": "$:/plugins/nico/projectify/doc/Customizing", + "created": "20210206204003498", + "modified": "20210206204343092", + "tags": "[[Projectify documentation]]", + "type": "text/vnd.tiddlywiki", + "text": "* [[Adding custom tabs to the bashboard|$:/plugins/nico/projectify/doc/DashboardCustomTabs]]\n* [[Customizing how todos are rendered|$:/plugins/nico/projectify/doc/Todos]]\n" }, "$:/plugins/nico/projectify/doc/Dashboard": { "title": "$:/plugins/nico/projectify/doc/Dashboard", @@ -10784,10 +10793,10 @@ Error message and password prompt "$:/plugins/nico/projectify/doc/DashboardCustomTabs": { "title": "$:/plugins/nico/projectify/doc/DashboardCustomTabs", "created": "20201228014905847", - "modified": "20201228020921622", + "modified": "20210206205140144", "tags": "[[Projectify documentation]]", "type": "text/vnd.tiddlywiki", - "text": "Any tiddler with the tag <<tag $:/plugins/nico/projectify/tags/dashboard>> will be displayed as a tab in the dashboard.\n\nYou can also [[display the Inbox in a separate tab|$:/plugins/nico/projectify/doc/DashboardInboxSeparateTab]].\n" + "text": "Any tiddler with the tag <<tag $:/plugins/nico/projectify/tags/dashboard>> will\nbe displayed as a tab in the dashboard.\n\n!! Listing high priority todos in the dashboard\n\nThe example below demonstrate how to add a tab to the\n[[Dashboard|$:/plugins/nico/projectify/doc/Dashboard]] to list all\n[[Todos|$:/plugins/nico/projectify/doc/Todos]] marked as high-priority. Save a\nnew tiddler with the content below, set its `caption` field to `High Priority`\nand add the tag <<tag $:/plugins/nico/projectify/tags/dashboard>>.\n\n```\n!! High priority todos \n\n<$list\n filter=\"[tag[todo]!tag[done]priority[3]]\"\n template=\"$:/plugins/nico/projectify/ui/todo/TodoItem\"\n/>\n```\n\nYou can also [[display the Inbox in a separate tab|$:/plugins/nico/projectify/doc/DashboardInboxSeparateTab]].\n" }, "$:/plugins/nico/projectify/doc/DashboardInboxSeparateTab": { "title": "$:/plugins/nico/projectify/doc/DashboardInboxSeparateTab", @@ -10802,7 +10811,7 @@ Error message and password prompt "caption": "Getting started", "description": "Install & start using Projectify", "created": "20201228014905847", - "modified": "20210117205102830", + "modified": "20210206203806867", "tags": "[[Projectify documentation]] $:/plugins/nico/projectify/tags/help-card", "type": "text/vnd.tiddlywiki", "text": "Projectify is a [[TiddlyWiki|https://tiddlywiki.com]] plugin for managing\nprojects & todo lists, inspired by projects such as\n[[Todoist|https://todoist.com]] and [[Basecamp|https://basecamp.com]]. It is\nreleased under the [[MIT license|$:/plugins/nico/projectify/LICENSE]].\n\n* See [[installation instructions|$:/plugins/nico/projectify/doc/Installation]] for help on installing Projectify in an existing wiki.\n\n* To start using Projectify, [[transclude|https://tiddlywiki.com/#Transclusion]] the [[Dashboard|$:/plugins/nico/projectify/doc/Dashboard]] into another tiddler.\n\n* Configure Projectify from the ''Projectify'' tab of the [[Control panel|$:/ControlPanel]].\n\n* Read the documentation about the [[core concepts|$:/plugins/nico/projectify/doc/CoreConcepts]] of Projectify.\n\n\nFor all changes in the latest {{$:/plugins/nico/projectify!!version}} release,\nsee [[ChangeLog|$:/plugins/nico/projectify/changelog]].\n" @@ -10836,8 +10845,9 @@ Error message and password prompt "caption": "External links", "description": "Useful links to online resources", "created": "20201228214411502", - "modified": "20210117203643063", + "modified": "20210206203756938", "tags": "[[Projectify documentation]] $:/plugins/nico/projectify/tags/help-card", + "list-after": "$:/plugins/nico/projectify/doc/CoreConcepts", "type": "text/vnd.tiddlywiki", "text": "!! External links\n\n* [[Online website|https://projectify.wiki]]\n* [[GitHub repository|https://github.com/nicolaspetton/projectify]]\n" }, @@ -10852,10 +10862,10 @@ Error message and password prompt "$:/plugins/nico/projectify/doc/Projects": { "title": "$:/plugins/nico/projectify/doc/Projects", "created": "20200427152938733", - "modified": "20201228222008629", + "modified": "20210206204003498", "tags": "[[Projectify documentation]]", "type": "text/vnd.tiddlywiki", - "text": "Projects structure [[Todos|$:/plugins/nico/projectify/doc/Todos]] together into\nseparate todo lists. If you're working on something that requires more than one\ntask, create a project to structure your work.\n\nYou can create projects from the\n[[Dashboard|$:/plugins/nico/projectify/doc/Dashboard]], or by adding the\n<<tag Project>> tag to an existing tiddler.\n\nClicking the {{$:/plugins/nico/projectify/ui/buttons/ProjectListSettings}}\nbutton in the projects section of the\n[[Dashboard|$:/plugins/nico/projectify/doc/Dashboard]] let you change how\nprojects are displayed and reorder them.\n\nFrom within a project tiddler, the\n{{$:/plugins/nico/projectify/ui/buttons/AddTodo}} button lets you quickly add\n[[Todos|$:/plugins/nico/projectify/doc/Todos]] directly to a project. The\n{{$:/plugins/nico/projectify/ui/buttons/ArchiveProject}} button lets you archive\na project so that it is hidden from the main project list in the\n[[Dashboard|$:/plugins/nico/projectify/doc/Dashboard]].\n\n" + "text": "!! When to use projects\n\nProjects structure [[Todos|$:/plugins/nico/projectify/doc/Todos]] together into\nseparate todo lists. If you're working on something that requires more than one\ntask, create a project to structure your work.\n\n!! How to create projects\n\nYou can create projects from the\n[[Dashboard|$:/plugins/nico/projectify/doc/Dashboard]], or by adding the\n<<tag Project>> tag to an existing tiddler.\n\nClicking the {{$:/plugins/nico/projectify/ui/buttons/ProjectListSettings}}\nbutton in the projects section of the\n[[Dashboard|$:/plugins/nico/projectify/doc/Dashboard]] let you change how\nprojects are displayed and reorder them.\n\n!! Adding tasks to projects\n \nThe input at the bottom of a project tiddler lets you quickly add\n[[Todos|$:/plugins/nico/projectify/doc/Todos]] directly to that project.\n\n!! Archiving projects\n \nThe {{$:/plugins/nico/projectify/ui/buttons/ArchiveProject}} button lets you\narchive a project.\n\nArchived projects are hidden by default from the main project list in the\n[[Dashboard|$:/plugins/nico/projectify/doc/Dashboard]].\n\n" }, "$:/plugins/nico/projectify/doc/QuickCapture": { "title": "$:/plugins/nico/projectify/doc/QuickCapture", @@ -11292,7 +11302,7 @@ Error message and password prompt }, "$:/language/projectify/AddTodo/Caption": { "title": "$:/language/projectify/AddTodo/Caption", - "text": "Add a todo" + "text": "Add todo" }, "$:/language/projectify/AddTodo/Hint": { "title": "$:/language/projectify/AddTodo/Hint", @@ -11651,7 +11661,7 @@ Error message and password prompt "modified": "20210117173623112", "tags": "$:/tags/Stylesheet", "type": "text/vnd.tiddlywiki", - "text": "\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline\n\n.py-btn {\n border-radius: 1.5em;\n border: 1px solid #ccc;\n background: <<colour tiddler-background>>;\n padding: .3em 1em;\n cursor: pointer;\n transition: box-shadow ease-in .1s;\n}\n\n.py-btn:focus {\n outline: 0 none;\n}\n\n.py-btn:active {\n box-shadow: 0 0 0 0.2rem rgba(0,0,0,.08);\n}\n\n.py-btn.btn-small {\n font-size: .9em;\n padding: .2em .8em;\n}\n\n.py-btn.btn-primary {\n background-color: <<colour primary>>;\n border-color: <<colour primary>>;\n color: <<colour background>>;\n fill: <<colour background>>;\n}\n\n.py-btn.btn-primary:active {\n box-shadow: 0 0 0 0.2rem rgba(0,125,255,.3);\n}\n\n.py-btn.btn-danger {\n border-color: #e73939;\n color: #e73939;\n fill: #e73939;\n}\n\n.py-btn.btn-danger:active {\n box-shadow: 0 0 0 0.2rem rgba(255,0,0,.2);\n}\n\n.py-form .py-control-group {\n margin: 8px 0;\n}\n\n.py-form .py-control-group .py-label {\n padding: 0;\n}\n\n.py-actions {\n margin: 10px 0 20px 0;\n}\n\n.py-form .py-actions {\n margin-top: 20px;\n}\n\ninput.py-input {\n transition: border .14s ease-in-out;\n border: 1px solid <<colour tiddler-editor-border>>;\n padding: 8px;\n border-radius: 4px;\n width: 300px;\n}\n\ninput.py-input:focus {\n box-shadow: 0 0 0.2rem 0 <<colour primary>>;\n outline: 0;\n border-color: <<colour primary>>;\n\n}\n\ninput.py-input.input-larger {\n width: 450px;\n max-width: 100%;\n}\n\nInput.py-input.input-large {\n width: 100%;\n padding: .5em 1em;\n font-size: 1.1em;\n}\n\n.py-todo input[type=\"checkbox\"],\n.py-toggle-todo-button input[type=\"checkbox\"] {\n display: none;\n}\n\n.py-checkbox {\n color: <<colour muted-foreground>>;\n cursor: pointer;\n transition: all ease-in .2s;\n}\n\n.py-todo .py-checkbox {\n margin-right: 3px;\n}\n\n.py-checkbox .todo-hover {\n display: none;\n}\n\n.py-checkbox:hover .todo-hover {\n display: initial;\n}\n\n.py-checkbox:hover .todo {\n display: none;\n}\n\n.py-checkbox:hover {\n color: #2da562;\n}\n\n.py-checkbox .done {\n color: #2da562;\n}\n\n.py-popup {\n background: <<colour tiddler-background>>;\n border-radius: 8px;\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);\n padding: 5px 20px;\n width: 350px;\n}\n" + "text": "\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline\n\n.py-btn {\n border-radius: 1.5em;\n border: 1px solid #ccc;\n background: <<colour tiddler-background>>;\n padding: .3em 1em;\n cursor: pointer;\n transition: box-shadow ease-in .1s;\n}\n\n.py-btn:focus {\n outline: 0 none;\n}\n\n.py-btn:active {\n box-shadow: 0 0 0 0.2rem rgba(0,0,0,.08);\n}\n\n.py-btn.btn-small {\n font-size: .9em;\n padding: .2em .8em;\n}\n\n.py-btn.btn-primary {\n background-color: <<colour primary>>;\n border-color: <<colour primary>>;\n color: <<colour background>>;\n fill: <<colour background>>;\n}\n\n.py-btn.btn-primary:active {\n box-shadow: 0 0 0 0.2rem rgba(0,125,255,.3);\n}\n\n.py-btn.btn-danger {\n border-color: #e73939;\n color: #e73939;\n fill: #e73939;\n}\n\n.py-btn.btn-danger:active {\n box-shadow: 0 0 0 0.2rem rgba(255,0,0,.2);\n}\n\n.py-form .py-control-group {\n margin: 8px 0;\n}\n\n.py-form .py-control-group .py-label {\n padding: 0;\n}\n\n.py-actions {\n margin: 10px 0 20px 0;\n}\n\n.py-form .py-actions {\n margin-top: 20px;\n}\n\n.py-composite-input {\n position: relative;\n padding: 10px 12px;\n border-radius: 8px;\n border: 1px solid <<colour tiddler-editor-border>>;\n}\n\n.py-composite-input:focus-within {\n border-color: <<colour primary>>;\n}\n\n.py-composite-input input.py-input {\n border: none;\n width: 100%;\n padding: 5px 0;\n}\n\n.py-composite-input input.py-input:focus {\n border: none;\n box-shadow: none;\n}\n\n.py-composite-input .py-todo-actions {\n margin-top: 6px;\n font-size: .9em;\n}\n\ninput.py-input {\n transition: border .14s ease-in-out;\n border: 1px solid <<colour tiddler-editor-border>>;\n padding: 8px;\n border-radius: 4px;\n width: 300px;\n}\n\ninput.py-input:focus {\n box-shadow: 0 0 0.2rem 0 <<colour primary>>;\n outline: 0;\n border-color: <<colour primary>>;\n\n}\n\ninput.py-input.input-larger {\n width: 450px;\n max-width: 100%;\n}\n\ninput.py-input.input-large {\n width: 100%;\n padding: .5em 1em;\n font-size: 1.1em;\n}\n\n.py-todo input[type=\"checkbox\"],\n.py-toggle-todo-button input[type=\"checkbox\"] {\n display: none;\n}\n\n.py-checkbox {\n color: <<colour muted-foreground>>;\n cursor: pointer;\n transition: all ease-in .2s;\n}\n\n.py-todo .py-checkbox {\n margin-right: 3px;\n}\n\n.py-checkbox .todo-hover {\n display: none;\n}\n\n.py-checkbox:hover .todo-hover {\n display: initial;\n}\n\n.py-checkbox:hover .todo {\n display: none;\n}\n\n.py-checkbox:hover {\n color: #2da562;\n}\n\n.py-checkbox .done {\n color: #2da562;\n}\n\n.py-popup {\n background: <<colour tiddler-background>>;\n border-radius: 8px;\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);\n padding: 5px 20px;\n width: 350px;\n}\n" }, "$:/plugins/nico/projectify/styles/notebook": { "title": "$:/plugins/nico/projectify/styles/notebook", @@ -11675,7 +11685,7 @@ Error message and password prompt "modified": "20210127111843916", "tags": "$:/tags/Stylesheet", "type": "text/vnd.tiddlywiki", - "text": "\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline\n\n.py-projects-heading {\n display: flex;\n justify-content: space-between;\n}\n\n.py-projects-heading h2 {\n margin: 0;\n display: inline-block;\n}\n\n@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {\n .py-projects-heading {\n display: block;\n }\n\n .py-projects-heading .py-title {\n margin-bottom: 20px;\n }\n}\n\n.py-projects-heading > button {\n display: inline-block;\n margin-left: 5px;\n}\n\n.tc-titlebar .py-checkbox svg {\n width: 26px;\n height: 26px;\n fill: <<colour tiddler-controls-foreground>>;\n}\n\n.tc-titlebar .py-checkbox .done svg {\n width: 26px;\n height: 26px;\n fill: #2da562;\n}\n\n.py-reorder-projects:not([hidden]) {\n display: block;\n}\n\n.py-projects, .py-todos {\n padding-left: 0;\n}\n\n.py-projects .py-project,\n.py-todos .tc-menu-list-item {\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n\n.py-projects,\n.py-todos .tc-menu-list-item:first-child {\n border-top: 1px solid rgba(0, 0, 0, 0.08);\n}\n\n.py-todo {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n padding: 5px 0;\n}\n\n.py-project {\n list-style: none;\n padding: 5px 0;\n}\n\n.py-project a {\n font-weight: bold;\n}\n\n.py-project .py-project-infos {\n font-size: .8em;\n line-height: 1em;\n color: <<colour muted-foreground>>;\n margin-left: 20px;\n}\n\n.py-project .py-project-heading {\n display: flex;\n justify-content: space-between;\n}\n\n.py-project .py-project-heading .py-project-category {\n font-size: .9em;\n white-space: nowrap;\n}\n\n/* Align the completed todos with the non-completed ones that have a drag\n handle. TODO: Check why the padding is different from the drag-handle's width\n */\n.py-completed-todos .py-todo .py-checkbox {\n padding-left: 22px;\n}\n\n.py-todo .tc-tiddlylink:hover {\n text-decoration: none;\n}\n\n.py-todo .py-todo-actions {\n float: right;\n}\n\n.py-todo .py-btn.py-priority {\n border: none;\n}\n\n.py-todo .py-project-link {\n font-size: .8em;\n color: #aaa;\n}\n\n.py-todo .py-todo-text-icon {\n color: #999;\n fill: #999;\n}\n\n.py-todo.py-completed a {\n color: <<colour muted-foreground>>;\n}\n\n.py-todo-heading {\n margin-top: 4px;\n margin-bottom: 14px;\n}\n\n.py-todo-heading .py-btn {\n font-size: .9em;\n padding: .3em .9em;\n}\n\n.py-todo-actions .py-btn,\n.py-todo .py-btn.py-priority {\n color: #999;\n fill: #999;\n padding: 2px 3px;\n border-radius: 4px;\n}\n\n.py-due-date.py-overdue {\n color: <<colour background>>;\n background: #e73939;\n border-color: #e73939;\n font-weight: bold;\n}\n\n.py-due-date.py-due-today {\n color: <<colour primary>>;\n fill: <<colour primary>>;\n border-color: <<colour primary>>;\n}\n\n.py-todo .py-todo-actions .py-btn {\n font-size: .8em;\n margin-left: 6px;\n}\n\n@media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {\n .py-todo .py-todo-actions .py-btn.py-not-scheduled,\n .py-todo .py-todo-actions .py-btn.py-priority- {\n opacity: 0;\n transition: opacity ease-in .14s;\n }\n\n .py-todo:hover .py-todo-actions .py-btn {\n opacity: 1 !important;\n }\n}\n\n.py-projects .tc-droppable.tc-dragover {\n background: rgba(255,255,100,0.3);\n display: block;\n}\n\n.py-tabs.tc-tab-buttons button {\n font-weight: bold;\n font-size: 1.2em;\n border: 0;\n padding: .6em .8em .4em .8em;\n background: transparent;\n cursor: pointer;\n color: <<colour tiddler-title-foreground>>;\n}\n\n@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {\n .py-tabs.tc-tab-buttons button {\n font-size: .8em;\n padding: 8px;\n }\n\n .py-tabs.tc-tab-buttons button svg {\n display: block;\n width: 1.5rem;\n height: 1.5rem;\n margin: 0 auto 6px auto;\n }\n}\n\n.py-tabs.tc-tab-buttons button.tc-tab-selected {\n border: 0;\n border-bottom: 4px solid <<colour primary>>;\n color: <<colour tiddler-title-foreground>>;\n}\n\n.py-scheduled-drop-down h4 {\n margin: 5px 10px;\n color: <<colour foreground>>;\n font-weight: bold;\n}\n\n.py-scheduled-drop-down .clear {\n margin: 5px 10px;\n}\n\n.tc-drop-down.py-drop-down {\n min-width: 200px;\n}\n\n.tc-drop-down.py-drop-down .tc-btn-invisible {\n font-size: 14px;\n line-height: 2em;\n}\n\n.tc-drop-down.py-drop-down .tc-btn-invisible svg {\n margin-right: 6px;\n}\n\n.tc-drop-down.py-drop-down hr {\n margin: 2px 0;\n padding: 0;\n border: 0;\n border-bottom: 1px solid <<colour muted-foreground>>;\n}\n\n.tc-drop-down .py-priorities {\n display: flex;\n align-items: space-between;\n}\n\n.tc-drop-down .py-priorities .tc-btn-invisible {\n width: auto;\n text-align: center;\n}\n\n.py-priority-3, .py-priority-3 svg,\n.py-drop-down .py-priority-3,\n.py-drop-down .py-priority-3 svg,\n.py-btn.py-priority-3 {\n fill: #e73939;\n color: #e73939;\n}\n\n.py-priority-2, .py-priority-2 svg,\n.py-drop-down .py-priority-2,\n.py-drop-down .py-priority-2 svg,\n.py-btn.py-priority-2 {\n fill: #e77a39;\n color: #e77a39;\n}\n\n.py-priority-1, .py-priority-1 svg,\n.py-drop-down .py-priority-1,\n.py-drop-down .py-priority-1 svg,\n.py-btn.py-priority-1 {\n fill: #24cd5e;\n color: #24cd5e;\n}\n\n.py-project-category-manager-table {\n width: 100%;\n}\n\n.py-project-category-manager-table td {\n padding: 4px;\n}\n\n.py-project-category-manager-table input {\n width: 100%;\n}\n\n.py-project-category-manager-table input[type=\"color\"] {\n width: 50px;\n padding: 3px;\n}\n" + "text": "\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline\n\n.py-projects-heading {\n display: flex;\n justify-content: space-between;\n}\n\n.py-projects-heading h2 {\n margin: 0;\n display: inline-block;\n}\n\n@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {\n .py-projects-heading {\n display: block;\n }\n\n .py-projects-heading .py-title {\n margin-bottom: 20px;\n }\n}\n\n.py-projects-heading > button {\n display: inline-block;\n margin-left: 5px;\n}\n\n.tc-titlebar .py-checkbox svg {\n width: 26px;\n height: 26px;\n fill: <<colour tiddler-controls-foreground>>;\n}\n\n.tc-titlebar .py-checkbox .done svg {\n width: 26px;\n height: 26px;\n fill: #2da562;\n}\n\n.py-reorder-projects:not([hidden]) {\n display: block;\n}\n\n.py-projects, .py-todos {\n padding-left: 0;\n}\n\n.py-projects .py-project,\n.py-todos .tc-menu-list-item {\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n\n.py-projects,\n.py-todos .tc-menu-list-item:first-child {\n border-top: 1px solid rgba(0, 0, 0, 0.08);\n}\n\n.py-todo {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n padding: 5px 0;\n}\n\n.py-project {\n list-style: none;\n padding: 5px 0;\n}\n\n.py-project a {\n font-weight: bold;\n}\n\n.py-project .py-project-infos {\n font-size: .8em;\n line-height: 1em;\n color: <<colour muted-foreground>>;\n margin-left: 20px;\n}\n\n.py-project .py-project-heading {\n display: flex;\n justify-content: space-between;\n}\n\n.py-project .py-project-heading .py-project-category {\n font-size: .9em;\n white-space: nowrap;\n}\n\n/* Align the completed todos with the non-completed ones that have a drag\n handle. TODO: Check why the padding is different from the drag-handle's width\n */\n.py-completed-todos .py-todo .py-checkbox {\n padding-left: 22px;\n}\n\n.py-todo .tc-tiddlylink:hover {\n text-decoration: none;\n}\n\n.py-todo .py-todo-actions {\n float: right;\n}\n\n.py-todo .py-btn.py-priority {\n border: none;\n}\n\n.py-todo .py-project-link {\n font-size: .8em;\n color: #aaa;\n}\n\n.py-todo .py-todo-text-icon {\n color: #999;\n fill: #999;\n}\n\n.py-todo.py-completed a {\n color: <<colour muted-foreground>>;\n}\n\n.py-todo-heading {\n margin-top: 4px;\n margin-bottom: 14px;\n}\n\n.py-todo-heading .py-btn {\n font-size: .9em;\n padding: .3em .9em;\n}\n\n.py-todo-actions .py-btn,\n.py-todo .py-btn.py-priority {\n color: #999;\n fill: #999;\n padding: 4px 8px;\n border-radius: 4px;\n}\n\n.py-due-date.py-overdue {\n color: <<colour background>>;\n background: #e73939;\n border-color: #e73939;\n font-weight: bold;\n}\n\n.py-due-date.py-due-today {\n color: <<colour primary>>;\n fill: <<colour primary>>;\n border-color: <<colour primary>>;\n}\n\n.py-todo .py-todo-actions .py-btn {\n font-size: .8em;\n margin-left: 6px;\n}\n\n@media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {\n .py-todo .py-todo-actions .py-btn.py-not-scheduled,\n .py-todo .py-todo-actions .py-btn.py-priority- {\n opacity: 0;\n transition: opacity ease-in .14s;\n }\n\n .py-todo:hover .py-todo-actions .py-btn {\n opacity: 1 !important;\n }\n}\n\n.py-projects .tc-droppable.tc-dragover {\n background: rgba(255,255,100,0.3);\n display: block;\n}\n\n.py-tabs.tc-tab-buttons button {\n font-weight: bold;\n font-size: 1.2em;\n border: 0;\n padding: .6em .8em .4em .8em;\n background: transparent;\n cursor: pointer;\n color: <<colour tiddler-title-foreground>>;\n}\n\n@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {\n .py-tabs.tc-tab-buttons button {\n font-size: .8em;\n padding: 8px;\n }\n\n .py-tabs.tc-tab-buttons button svg {\n display: block;\n width: 1.5rem;\n height: 1.5rem;\n margin: 0 auto 6px auto;\n }\n}\n\n.py-tabs.tc-tab-buttons button.tc-tab-selected {\n border: 0;\n border-bottom: 4px solid <<colour primary>>;\n color: <<colour tiddler-title-foreground>>;\n}\n\n.py-scheduled-drop-down h4 {\n margin: 5px 10px;\n color: <<colour foreground>>;\n font-weight: bold;\n}\n\n.py-scheduled-drop-down .clear {\n margin: 5px 10px;\n}\n\n.tc-drop-down.py-drop-down {\n min-width: 200px;\n}\n\n.tc-drop-down.py-drop-down .tc-btn-invisible {\n font-size: 14px;\n line-height: 2em;\n}\n\n.tc-drop-down.py-drop-down .tc-btn-invisible svg {\n margin-right: 6px;\n}\n\n.tc-drop-down.py-drop-down hr {\n margin: 2px 0;\n padding: 0;\n border: 0;\n border-bottom: 1px solid <<colour muted-foreground>>;\n}\n\n.tc-drop-down .py-priorities {\n display: flex;\n align-items: space-between;\n}\n\n.tc-drop-down .py-priorities .tc-btn-invisible {\n width: auto;\n text-align: center;\n}\n\n.py-priority-3, .py-priority-3 svg,\n.py-drop-down .py-priority-3,\n.py-drop-down .py-priority-3 svg,\n.py-btn.py-priority-3 {\n fill: #e73939;\n color: #e73939;\n}\n\n.py-priority-2, .py-priority-2 svg,\n.py-drop-down .py-priority-2,\n.py-drop-down .py-priority-2 svg,\n.py-btn.py-priority-2 {\n fill: #e77a39;\n color: #e77a39;\n}\n\n.py-priority-1, .py-priority-1 svg,\n.py-drop-down .py-priority-1,\n.py-drop-down .py-priority-1 svg,\n.py-btn.py-priority-1 {\n fill: #24cd5e;\n color: #24cd5e;\n}\n\n.py-project-category-manager-table {\n width: 100%;\n}\n\n.py-project-category-manager-table td {\n padding: 4px;\n}\n\n.py-project-category-manager-table input {\n width: 100%;\n}\n\n.py-project-category-manager-table input[type=\"color\"] {\n width: 50px;\n padding: 3px;\n}\n" }, "$:/plugins/nico/projectify/styles/utils": { "title": "$:/plugins/nico/projectify/styles/utils", @@ -11696,10 +11706,10 @@ Error message and password prompt "$:/plugins/nico/projectify/styles/welcome": { "title": "$:/plugins/nico/projectify/styles/welcome", "created": "20210117173623112", - "modified": "20210117174118787", + "modified": "20210205180906058", "tags": "$:/tags/Stylesheet", "type": "text/vnd.tiddlywiki", - "text": "\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline\n\n\n.py-welcome {\n max-width: 800px;\n text-align: center;\n padding: 40px 20px;\n margin: 20px auto;\n background: <<colour message-background>>;\n color: <<colour message-foreground>>;\n border-radius: 12px;\n}\n\n.py-welcome .icon {\n font-size: 4em;\n}\n\n.py-welcome h3 {\n font-weight: bold;\n}\n\n.py-welcome p {\n margin: 0;\n}\n" + "text": "\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline\n\n\n.py-welcome {\n max-width: 800px;\n text-align: center;\n padding: 40px 20px;\n margin: 0 auto;\n background: <<colour message-background>>;\n color: <<colour message-foreground>>;\n border-radius: 12px;\n}\n\n.py-welcome .icon {\n font-size: 4em;\n}\n\n.py-welcome h3 {\n font-weight: bold;\n}\n\n.py-welcome p {\n margin: 0;\n}\n" }, "$:/plugins/nico/projectify/ui/buttons/AddCategory": { "title": "$:/plugins/nico/projectify/ui/buttons/AddCategory", @@ -11715,20 +11725,13 @@ Error message and password prompt "type": "text/vnd.tiddlywiki", "text": "\\define lingo-base() $:/language/projectify/\n\n<$button\n class=\"py-btn btn-primary\"\n popup=\"$:/state/projectify/show-new-project-popup\"\n tooltip={{$:/language/projectify/AddProject/Hint}}\n aria-label={{$:/language/projectify/AddProject/Hint}}\n>\n {{$:/core/images/edit-button}}\n <<lingo AddProject/Caption>>\n</$button>\n\n<$reveal\n type=\"popup\"\n class=\"tc-popup-keep py-popup\"\n state=\"$:/state/projectify/show-new-project-popup\"\n position=\"above\"\n>\n <h2> <<lingo NewProject>></h2>\n {{$:/plugins/nico/projectify/ui/forms/NewProject}}\n</$reveal>\n" }, - "$:/plugins/nico/projectify/ui/buttons/AddTodo": { - "title": "$:/plugins/nico/projectify/ui/buttons/AddTodo", - "created": "20201212172804699", - "modified": "20210112180541864", - "type": "text/vnd.tiddlywiki", - "text": "\\define lingo-base() $:/language/projectify/\n\n<$button\n class=\"py-btn\"\n set=<<stateTiddler>>\n setTo=\"show\"\n tooltip={{$:/language/projectify/AddTodo/Hint}}\n aria-label={{$:/language/projectify/AddTodo/Hint}}\n>\n {{$:/core/images/list-bullet}} <<lingo AddTodo/Caption>>\n</$button>\n" - }, "$:/plugins/nico/projectify/ui/buttons/ArchiveProject": { "title": "$:/plugins/nico/projectify/ui/buttons/ArchiveProject", "created": "20201209150027612", - "modified": "20210112180541889", + "modified": "20210205111043378", "tags": "", "type": "text/vnd.tiddlywiki", - "text": "\\define lingo-base() $:/language/projectify/\n\n<$fieldmangler>\n <$button\n class=\"py-btn btn-danger nc-archive-project\"\n tooltip={{$:/language/projectify/ArchiveProject/Hint}}\n aria-label={{$:/language/projectify/ArchiveProject/Hint}}\n >\n <$action-sendmessage $message=\"tm-add-tag\" $param=\"done\"/>\n <$action-sendmessage $message=\"tm-auto-save-wiki\"/>\n {{$:/core/images/delete-button}} <<lingo ArchiveProject/Caption>>\n </$button>\n</$fieldmangler>\n" + "text": "\\define lingo-base() $:/language/projectify/\n\n<$fieldmangler>\n <$button\n class=\"py-btn btn-small btn-danger nc-archive-project\"\n tooltip={{$:/language/projectify/ArchiveProject/Hint}}\n aria-label={{$:/language/projectify/ArchiveProject/Hint}}\n >\n <$action-sendmessage $message=\"tm-add-tag\" $param=\"done\"/>\n <$action-sendmessage $message=\"tm-auto-save-wiki\"/>\n {{$:/core/images/delete-button}} <<lingo ArchiveProject/Caption>>\n </$button>\n</$fieldmangler>\n" }, "$:/plugins/nico/projectify/ui/buttons/Cancel": { "title": "$:/plugins/nico/projectify/ui/buttons/Cancel", @@ -11824,9 +11827,9 @@ Error message and password prompt "$:/plugins/nico/projectify/ui/buttons/ToggleCompletedTodos": { "title": "$:/plugins/nico/projectify/ui/buttons/ToggleCompletedTodos", "created": "20201212172804699", - "modified": "20210131212757806", + "modified": "20210205173145448", "type": "text/vnd.tiddlywiki", - "text": "\\define lingo-base() $:/language/projectify/\n\n<$list filter=<<py-has-completed-todos>> variable=\"ignore\">\n <$vars stateTiddler=<<qualify \"$:/state/projectify/show-completed\">>\n\t default={{$:/config/projectify/ShowCompletedTodos}}>\n\n <$reveal type=\"nomatch\" state=<<stateTiddler>> text=\"yes\" default=<<default>>>\n <$button class=\"tc-btn-invisible py-link-muted\" set=<<stateTiddler>> setTo=\"yes\">\n {{$:/plugins/nico/projectify/images/eye}}\n\t<$count filter=<<py-completed-todos>>/> <<lingo Completed/Caption>>\n </$button>\n </$reveal>\n\n <$reveal type=\"match\" state=<<stateTiddler>> text=\"yes\" default=<<default>>>\n <$macrocall $name=\"todo-list-completed\"/>\n\n <div class=\"py-actions\">\n <$button class=\"tc-btn-invisible py-link-muted\" set=<<stateTiddler>> setTo=\"no\">\n {{$:/plugins/nico/projectify/images/eyeslash}} <<lingo HideCompleted/Caption>>\n </$button>\n </div>\n </$reveal>\n\n </$vars>\n</$list>\n" + "text": "\\define lingo-base() $:/language/projectify/\n\n<$list filter=<<py-has-completed-todos>> variable=\"ignore\">\n <$vars stateTiddler=<<qualify \"$:/state/projectify/show-completed\">>\n\t default={{$:/config/projectify/ShowCompletedTodos}}>\n\n <$reveal type=\"nomatch\" state=<<stateTiddler>> text=\"yes\" default=<<default>>>\n <$button class=\"tc-btn-invisible py-link-muted\" set=<<stateTiddler>> setTo=\"yes\">\n {{$:/plugins/nico/projectify/images/eye}}\n\t<$count filter=<<py-completed-todos>>/> <<lingo Completed/Caption>>\n </$button>\n </$reveal>\n\n <$reveal type=\"match\" state=<<stateTiddler>> text=\"yes\" default=<<default>>>\n <div class=\"py-actions\">\n <$button class=\"tc-btn-invisible py-link-muted\" set=<<stateTiddler>> setTo=\"no\">\n {{$:/plugins/nico/projectify/images/eyeslash}} <<lingo HideCompleted/Caption>>\n </$button>\n </div>\n <$macrocall $name=\"todo-list-completed\"/>\n </$reveal>\n </$vars>\n</$list>\n" }, "$:/plugins/nico/projectify/ui/buttons/ToggleTodo": { "title": "$:/plugins/nico/projectify/ui/buttons/ToggleTodo", @@ -11927,18 +11930,18 @@ Error message and password prompt "$:/plugins/nico/projectify/ui/Everything": { "title": "$:/plugins/nico/projectify/ui/Everything", "created": "20210122212615059", - "modified": "20210123152400707", + "modified": "20210206142638704", "caption": "{{$:/plugins/nico/projectify/images/funnel}} {{$:/language/Search/Filter/Caption}}", "list-after": "$:/plugins/nico/projectify/ui/NextActions", "tags": "$:/plugins/nico/projectify/tags/dashboard", "type": "text/vnd.tiddlywiki", - "text": "{{$:/language/Search/Filter/Hint}}\n\n<$vars stateTiddler=\"$:/state/projectify/todo-filter\">\n <$edit-text class=\"py-input input-larger\" tiddler=<<stateTiddler>> field=\"filter\"/>\n <$vars popupTiddler=<<qualify \"$:/state/projectify/todo-filter-dropdown\">>\n\t todoFilter={{$:/state/projectify/todo-filter!!filter}}\n\t showProjectLinks=\"yes\">\n <span class=\"tc-popup-keep\">\n <$button popup=<<popupTiddler>> class=\"tc-btn-invisible\">\n\t{{$:/core/images/down-arrow}}\n </$button>\n </span>\n\n <$reveal state=<<popupTiddler>> type=\"popup\" position=\"belowleft\">\n <div class=\"tc-drop-down py-drop-down\">\n\t<$button class=\"tc-btn-invisible\">\n\t Outstanding\n\t <$action-setfield $tiddler=<<stateTiddler>> filter=\"[!tag[done]]\"/>\n\t</$button>\n\t<$button class=\"tc-btn-invisible\">\n\t Scheduled\n\t <$action-setfield $tiddler=<<stateTiddler>> filter=\"[!tag[done]has[due]]\"/>\n\t</$button>\n\t<$button class=\"tc-btn-invisible\">\n\t Completed\n\t <$action-setfield $tiddler=<<stateTiddler>> filter=\"[tag[done]]\"/>\n\t</$button>\n </div>\n </$reveal>\n\n <dl>\n <$count filter=<<py-filtered-todos>>/> {{$:/language/Search/Filter/Matches}}\n <$list filter=<<py-filtered-todos>> template=\"$:/plugins/nico/projectify/ui/todo/TodoItem\"></$list>\n </dl>\n </$vars>\n</$vars>\n" + "text": "{{$:/language/Search/Filter/Hint}}\n\n<$vars stateTiddler=\"$:/state/projectify/todo-filter\">\n <$edit-text class=\"py-input input-larger\" tiddler=<<stateTiddler>> field=\"filter\"/>\n <$vars popupTiddler=<<qualify \"$:/state/projectify/todo-filter-dropdown\">>\n\t todoFilter={{$:/state/projectify/todo-filter!!filter}}\n\t showProjectLinks=\"yes\">\n <span class=\"tc-popup-keep\">\n <$button popup=<<popupTiddler>> class=\"tc-btn-invisible\">\n\t{{$:/core/images/down-arrow}}\n </$button>\n </span>\n\n <$reveal state=<<popupTiddler>> type=\"popup\" position=\"belowleft\">\n <div class=\"tc-drop-down py-drop-down\">\n\t<$button class=\"tc-btn-invisible\">\n\t Outstanding\n\t <$action-setfield $tiddler=<<stateTiddler>> filter=\"[!tag[done]]\"/>\n\t</$button>\n\t<$button class=\"tc-btn-invisible\">\n\t Scheduled\n\t <$action-setfield $tiddler=<<stateTiddler>> filter=\"[!tag[done]has[due]]\"/>\n\t</$button>\n\t<$button class=\"tc-btn-invisible\">\n\t High priority\n\t <$action-setfield $tiddler=<<stateTiddler>> filter=\"[!tag[done]priority[3]]\"/>\n\t</$button>\n\t<$button class=\"tc-btn-invisible\">\n\t Medium priority\n\t <$action-setfield $tiddler=<<stateTiddler>> filter=\"[!tag[done]priority[2]]\"/>\n\t</$button>\n\t<$button class=\"tc-btn-invisible\">\n\t Low priority\n\t <$action-setfield $tiddler=<<stateTiddler>> filter=\"[!tag[done]priority[1]]\"/>\n\t</$button>\n\t<$button class=\"tc-btn-invisible\">\n\t Completed\n\t <$action-setfield $tiddler=<<stateTiddler>> filter=\"[tag[done]]\"/>\n\t</$button>\n </div>\n </$reveal>\n\n <dl>\n <$count filter=<<py-filtered-todos>>/> {{$:/language/Search/Filter/Matches}}\n <$list filter=<<py-filtered-todos>> template=\"$:/plugins/nico/projectify/ui/todo/TodoItem\"></$list>\n </dl>\n </$vars>\n</$vars>\n" }, "$:/plugins/nico/projectify/ui/dashboard/InboxAndProjects": { "title": "$:/plugins/nico/projectify/ui/dashboard/InboxAndProjects", "caption": "{{$:/plugins/nico/projectify/images/collection}} {{$:/language/projectify/Projects}}", "created": "20200425193559847", - "modified": "20210122213121097", + "modified": "20210205175036448", "tags": "$:/plugins/nico/projectify/tags/dashboard", "type": "text/vnd.tiddlywiki", "text": "{{$:/plugins/nico/projectify/ui/inbox/Inbox}}\n{{$:/plugins/nico/projectify/ui/dashboard/Projects}}\n" @@ -12028,6 +12031,13 @@ Error message and password prompt "type": "text/vnd.tiddlywiki", "text": "\\define lingo-base() $:/language/projectify/\n\n<$vars showProjectLinks=\"yes\">\n <$list\n filter=<<py-has-scheduled-todos-in-projects>>\n emptyMessage={{$:/plugins/nico/projectify/ui/welcome/EmptyUpcoming}}\n >\n <$list filter=<<py-has-overdue-todos>>>\n <dl>\n\t<dt><<lingo Overdue>></dt>\n\t<dd><<py-schedule-overdue>></dd>\n </dl>\n </$list>\n\n <$list filter=<<py-upcoming-due-dates>>>\n <dl>\n\t<dt>{{||$:/plugins/nico/projectify/ui/dashboard/Date}}</dt>\n\t<dd><$macrocall $name=\"py-schedule-day\" day={{!!due}}/></dd>\n </dl>\n </$list>\n </$list>\n</$vars>\n" }, + "$:/plugins/nico/projectify/ui/forms/AddTodo": { + "title": "$:/plugins/nico/projectify/ui/forms/AddTodo", + "created": "20201207165347344", + "modified": "20210206210842918", + "type": "text/vnd.tiddlywiki", + "text": "\\define lingo-base() $:/language/projectify/\n\n\\define add-todo-actions()\n<$list filter=\"[<stateTiddler>get[todo-name]trim[]!is[blank]]\" variable=\"ignore\">\n <$action-createtiddler\n $basetitle={{{ [<stateTiddler>get[todo-name]] }}}\n $savetitle=\"$:/temp/projectify/new-todo\"\n />\n\n <$action-listops $tiddler={{$:/temp/projectify/new-todo}} $tags=<<todo-tags>>/>\n <$action-setfield $tiddler={{$:/temp/projectify/new-todo}} due={{{ [<stateTiddler>get[due]] }}}/>\n <$action-setfield $tiddler={{$:/temp/projectify/new-todo}} priority={{{ [<stateTiddler>get[priority]] }}}/>\n <$action-deletefield $tiddler=<<stateTiddler>> $field=\"todo-name\"/>\n <$action-deletefield $tiddler=<<stateTiddler>> $field=\"due\"/>\n <$action-deletefield $tiddler=<<stateTiddler>> $field=\"priority\"/>\n\n <$action-sendmessage $message=\"tm-auto-save-wiki\"/>\n</$list>\n\\end\n\n<$vars stateTiddler=<<qualify \"$:/temp/projectify/add-todo-form\">>>\n <div class=\"py-composite-input\">\n <$keyboard key=\"enter\">\n <<add-todo-actions>>\n <$edit-text\n\tclass=\"py-input\"\n\ttiddler=<<stateTiddler>>\n\tfield=\"todo-name\"\n\tplaceholder=<<placeholder>>\n\t/>\n </$keyboard>\n\n <div class=\"py-todo-actions\">\n <$vars currentTiddler=<<stateTiddler>>>\n\t<$transclude tiddler=\"$:/plugins/nico/projectify/ui/buttons/TodoDueDate\" mode=\"inline\"/>\n\t<$transclude tiddler=\"$:/plugins/nico/projectify/ui/buttons/TodoPriority\" mode=\"inline\"/>\n </$vars>\n </div>\n </div>\n <div class=\"py-actions\">\n <$button\n class=\"py-btn btn-primary\"\n actions=<<add-todo-actions>>\n tooltip={{$:/language/projectify/AddTodo/Hint}}\n aria-label={{$:/language/projectify/AddTodo/Hint}}\n >\n <<lingo AddTodo/Caption>>\n </$button>\n </div>\n</$vars>\n" + }, "$:/plugins/nico/projectify/ui/forms/HelpSearch": { "title": "$:/plugins/nico/projectify/ui/forms/HelpSearch", "created": "20201229010310903", @@ -12043,13 +12053,6 @@ Error message and password prompt "type": "text/vnd.tiddlywiki", "text": "\\define lingo-base() $:/language/projectify/\n\n\\define add-project-actions()\n <$action-createtiddler\n $basetitle={{$:/state/projectify/new-category!!tag_name}}\n color={{$:/state/projectify/new-category!!color}}\n tags=\"$:/plugins/nico/projectify/tags/Category\"/>\n <$action-setfield\n $tiddler=\"$:/state/projectify/new-category\"\n tag_name=\"\"\n color=\"\"\n />\n <$action-setfield $tiddler=\"$:/state/projectify/show-new-category-popup\" text=\"\"/>\n <$action-sendmessage $message=\"tm-auto-save-wiki\"/>\n\\end\n\n<div class=\"py-form\">\n <$keyboard key=\"enter\">\n <<add-project-actions>>\n <div class=\"py-control-group\">\n <div class=\"py-label\"><<lingo Category>></div>\n <$edit-text\n class=\"py-input\"\n focus=\"true\"\n tiddler=\"$:/state/projectify/new-category\"\n field=\"tag_name\"\n />\n </div>\n <div class=\"py-control-group\">\n <div class=\"py-label\">{{$:/language/TagManager/Colour/Heading}}</div>\n <$edit-text\n class=\"py-input\"\n tiddler=\"$:/state/projectify/new-category\"\n field=\"color\"\n />\n </div>\n </$keyboard>\n <div class=\"py-actions\">\n <$button class=\"py-btn btn-primary\">\n <<add-project-actions>>\n\t<<lingo Save/Caption>>\n </$button>\n <<lingo Or>>\n <$button class=\"py-btn\" set=\"$:/state/projectify/show-new-category-popup\" setTo=\"\">\n <<lingo Cancel/Caption>>\n </$button>\n </div>\n</div>\n" }, - "$:/plugins/nico/projectify/ui/forms/NewInboxTodo": { - "title": "$:/plugins/nico/projectify/ui/forms/NewInboxTodo", - "created": "20201212173718479", - "modified": "20210126114817704", - "type": "text/vnd.tiddlywiki", - "text": "\\define lingo-base() $:/language/projectify/\n\n<$keyboard key=\"enter\">\n <$action-createtiddler $basetitle={{$:/temp/projectify/Inbox!!todo_name}} tags=\"Inbox todo\"/>\n <$action-setfield $tiddler=\"$:/temp/projectify/Inbox\" todo_name=\"\"/>\n <$edit-text\n class=\"py-input input-larger\" tiddler=\"$:/temp/projectify/Inbox\"\n field=\"todo_name\"\n placeholder={{$:/language/projectify/AddToInbox/Placeholder}}\n />\n <$action-sendmessage $message=\"tm-auto-save-wiki\"/>\n <label class=\"py-label\">\n <<lingo AddToInbox/Hint>>\n </label>\n</$keyboard>\n" - }, "$:/plugins/nico/projectify/ui/forms/NewProject": { "title": "$:/plugins/nico/projectify/ui/forms/NewProject", "created": "20201217232220846", @@ -12057,13 +12060,6 @@ Error message and password prompt "type": "text/vnd.tiddlywiki", "text": "\\define lingo-base() $:/language/projectify/\n\n\\define add-project-actions()\n <$action-createtiddler\n $basetitle={{$:/state/projectify/new-project!!project_title}}\n description={{$:/state/projectify/new-project!!description}}\n category={{$:/state/projectify/new-project!!category}}\n tags=\"Project\"/>\n <$action-setfield\n $tiddler=\"$:/state/projectify/new-project\"\n project_title=\"\"\n description=\"\"\n category=\"\"\n />\n <$action-setfield $tiddler=\"$:/state/projectify/show-new-project-popup\" text=\"\"/>\n <$action-sendmessage $message=\"tm-auto-save-wiki\"/>\n\\end\n\n<div class=\"py-form\">\n <$keyboard key=\"enter\">\n <<add-project-actions>>\n <div class=\"py-control-group\">\n <div class=\"py-label\"><<lingo NewProjectTitle>></div>\n <$edit-text\n class=\"py-input\"\n focus=\"true\"\n tiddler=\"$:/state/projectify/new-project\"\n field=\"project_title\"\n />\n </div>\n <div class=\"py-control-group\">\n <div class=\"py-label\"><<lingo NewProjectDescription>></div>\n <$edit-text\n class=\"py-input\"\n tiddler=\"$:/state/projectify/new-project\"\n field=\"description\"\n />\n </div>\n <div class=\"py-control-group\">\n <div class=\"py-label\"><<lingo NewProjectCategory>></div>\n <$select tiddler=\"$:/state/projectify/new-project\" field=\"category\">\n\t<$list filter=<<py-all-categories>>>\n\t <option value=<<currentTiddler>>>\n\t <<currentTiddler>>\n\t </option>\n\t</$list>\n\t<option value=\"\"></option>\t \n </$select>\n </div>\n </$keyboard>\n <div class=\"py-actions\">\n <$button class=\"py-btn btn-primary\">\n <<add-project-actions>>\n\t<<lingo Save/Caption>>\n </$button>\n <<lingo Or>>\n <$button class=\"py-btn\" set=\"$:/state/projectify/show-new-project-popup\" setTo=\"\">\n <<lingo Cancel/Caption>>\n </$button>\n </div>\n</div>\n" }, - "$:/plugins/nico/projectify/ui/forms/ProjectActions": { - "title": "$:/plugins/nico/projectify/ui/forms/ProjectActions", - "created": "20201207165347344", - "modified": "20210126114718817", - "type": "text/vnd.tiddlywiki", - "text": "\\define lingo-base() $:/language/projectify/\n\n\\define project-add-todo-actions()\n <$action-createtiddler\n $basetitle={{{ [<stateTiddler>get[todo_name]] }}}\n $savetitle=\"$:/state/projectify/new-todo\"\n />\n\n <$action-listops $tiddler={{$:/state/projectify/new-todo}} $tags=\"[{!!title}] todo\"/>\n <$action-setfield $tiddler=<<stateTiddler>> todo_name=\"\"/>\n <$action-sendmessage $message=\"tm-auto-save-wiki\"/>\n\\end\n\n<$vars stateTiddler=<<qualify \"$:/temp/projectify/todo-form\">>\n save-actions=<<project-add-todo-actions>>>\n <div class=\"py-actions\">\n \n <$reveal type=\"match\" state=<<stateTiddler>> text=\"\">\n {{||$:/plugins/nico/projectify/ui/buttons/AddTodo}}\n <$list filter=<<py-is-open>>>\n <<lingo Or>> {{||$:/plugins/nico/projectify/ui/buttons/ArchiveProject}}\n </$list>\n </$reveal>\n \n <$reveal type=\"match\" state=<<stateTiddler>> text=\"show\">\n <$keyboard key=\"enter\">\n <<save-actions>>\n <$edit-text class=\"py-input\" focus=\"true\" tiddler=<<stateTiddler>> field=\"todo_name\" placeholder={{$:/language/projectify/AddTodoToProject/Placeholder}}/>\n </$keyboard>\n <div class=\"py-actions\">\n {{||$:/plugins/nico/projectify/ui/buttons/Save}}\n or\n {{||$:/plugins/nico/projectify/ui/buttons/Cancel}}\n </div>\n </$reveal>\n \n </div>\n</$vars>\n" - }, "$:/plugins/nico/projectify/ui/forms/TodoConvert": { "title": "$:/plugins/nico/projectify/ui/forms/TodoConvert", "created": "20210111194810128", @@ -12092,10 +12088,10 @@ Error message and password prompt "title": "$:/plugins/nico/projectify/ui/inbox/Inbox", "caption": "{{$:/plugins/nico/projectify/images/inbox}} {{$:/language/projectify/Inbox}}", "created": "20200425193337699", - "modified": "20210112182518459", + "modified": "20210205205023525", "tags": "", "type": "text/vnd.tiddlywiki", - "text": "\\define inbox-count()\n <$vars currentTiddler=\"Inbox\">\n <span class=\"py-count\">\n <$count filter=<<py-open-todos>>/>\n </span>\n </$vars>\n\\end\n\n<h2>{{$:/language/projectify/Inbox}} <<inbox-count>></h2>\n\n{{$:/plugins/nico/projectify/ui/forms/NewInboxTodo}}\n\n<$vars currentTiddler=\"Inbox\">\n <$macrocall\n class=\"py-inbox-input\"\n $name=\"todo-list\"\n emptyTemplate=\"$:/plugins/nico/projectify/ui/welcome/EmptyInbox\"\n />\n</$vars>\n" + "text": "\\define lingo-base() $:/language/projectify/\n\n\\define inbox-count()\n <$vars currentTiddler=\"Inbox\">\n <span class=\"py-count\">\n <$count filter=<<py-open-todos>>/>\n </span>\n </$vars>\n\\end\n\n<h2>{{$:/language/projectify/Inbox}} <<inbox-count>></h2>\n\n<label class=\"py-label py-right-aligned\">\n <<lingo AddToInbox/Hint>>\n</label>\n<$vars\n todo-tags=\"Inbox todo\"\n placeholder={{$:/language/projectify/AddToInbox/Placeholder}}\n>\n {{$:/plugins/nico/projectify/ui/forms/AddTodo}}\n</$vars>\n<$vars currentTiddler=\"Inbox\">\n <$macrocall\n class=\"py-inbox-input\"\n $name=\"todo-list\"\n emptyTemplate=\"$:/plugins/nico/projectify/ui/welcome/EmptyInbox\"\n />\n</$vars>\n" }, "$:/plugins/nico/projectify/ui/project/ArchivedProjectBanner": { "title": "$:/plugins/nico/projectify/ui/project/ArchivedProjectBanner", @@ -12125,10 +12121,10 @@ Error message and password prompt "title": "$:/plugins/nico/projectify/ui/project/Project", "created": "20201207165347344", "list-after": "$:/plugins/nico/projectify/ui/todo/TodoHeading", - "modified": "20210119144230346", + "modified": "20210205173559098", "tags": "$:/tags/ViewTemplate", "type": "text/vnd.tiddlywiki", - "text": "\\define lingo-base() $:/language/projectify/\n\n<$list filter=<<py-is-project>> variable=\"ignore\">\n <$list filter=<<py-is-not-subproject>>>\n <div class=\"py-category-wrapper\">\n {{||$:/plugins/nico/projectify/ui/buttons/SelectCategory}}\n </div>\n </$list>\n \n {{||$:/plugins/nico/projectify/ui/project/ArchivedProjectBanner}}\n\n <h2><<lingo Todos>> {{||$:/plugins/nico/projectify/images/pie}}</h2>\n\n <$macrocall\n $name=\"todo-list\"\n emptyTemplate=\"$:/plugins/nico/projectify/ui/welcome/EmptyProject\"\n />\n\n {{||$:/plugins/nico/projectify/ui/forms/ProjectActions}}\n\n {{||$:/plugins/nico/projectify/ui/buttons/ToggleCompletedTodos}}\n</$list>\n" + "text": "\\define lingo-base() $:/language/projectify/\n\n<$list filter=<<py-is-project>> variable=\"ignore\">\n <$list filter=<<py-is-not-subproject>>>\n <div class=\"py-category-wrapper\">\n {{||$:/plugins/nico/projectify/ui/buttons/SelectCategory}}\n <$list filter=<<py-is-open>>>\n\t{{||$:/plugins/nico/projectify/ui/buttons/ArchiveProject}}\n </$list>\n </div>\n </$list>\n \n {{||$:/plugins/nico/projectify/ui/project/ArchivedProjectBanner}}\n\n <h2><<lingo Todos>> {{||$:/plugins/nico/projectify/images/pie}}</h2>\n\n <$macrocall\n $name=\"todo-list\"\n emptyTemplate=\"$:/plugins/nico/projectify/ui/welcome/EmptyProject\"\n />\n\n {{||$:/plugins/nico/projectify/ui/buttons/ToggleCompletedTodos}}\n\n <$vars\n stateTiddler=<<qualify \"$:/temp/projectify/todo-form\">>\n todo-tags=\"[{!!title}] todo\"\n placeholder={{$:/language/projectify/AddTodoToProject/Placeholder}}\n >\n {{||$:/plugins/nico/projectify/ui/forms/AddTodo}}\n </$vars>\n</$list>\n" }, "$:/plugins/nico/projectify/ui/sidebar/Projects": { "title": "$:/plugins/nico/projectify/ui/sidebar/Projects", @@ -12233,7 +12229,7 @@ Error message and password prompt }, "$:/plugins/nico/projectify/ui/widgets/date-picker.js": { "title": "$:/plugins/nico/projectify/ui/widgets/date-picker.js", - "text": "/*\\\ntitle: $:/plugins/nico/projectify/ui/widgets/date-picker.js\ntype: application/javascript\nmodule-type: widget\n\npy-date-picker widget factory.\n\nThis widget is intended to be used within a drop-down (with the tc-drop-down CSS\nclass). See $:/plugins/nico/projectify/ui/buttons/TodoDueDate for usages.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n\nvar Widget = require(\"$:/core/modules/widgets/widget.js\").widget;\nvar Pikaday = require(\"$:/plugins/nico/projectify/lib/pikaday.js\");\n\nfunction getToday () {\n\treturn new Date();\n};\n\nfunction getTomorrow () {\n\tlet today = getToday();\n\tlet tomorrow = new Date(today);\n\ttomorrow.setDate(today.getDate() + 1);\n\treturn tomorrow;\n};\n\nfunction getNextMonday () {\n\tlet tomorrow = getTomorrow();\n\tlet monday = new Date(tomorrow);\n\tmonday.setDate(monday.getDate() + (1 + 7 - tomorrow.getDay()) % 7);\n\treturn monday;\n};\n\nvar AbstractDatePickerWidget = function() {};\nAbstractDatePickerWidget.prototype = new Widget();\n\n\n/*\nCompute the internal state of the widget\n*/\nAbstractDatePickerWidget.prototype.execute = function () {\n\tthis.title = this.getAttribute(\"tiddler\", this.getVariable(\"currentTiddler\"));\n\tthis.field = this.getAttribute(\"field\", \"due\");\n\tthis.makeChildWidgets();\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of\nits children needed re-rendering\n*/\nAbstractDatePickerWidget.prototype.refresh = function(changedTiddlers) {\n\tlet changedAttributes = this.computeAttributes();\n\n\tif(changedAttributes.tiddler || changedAttributes.field) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\treturn false;\n\t}\n};\n\nAbstractDatePickerWidget.prototype.getTiddler = function() {\n\treturn this.wiki.getTiddler(this.title);\n};\n\nAbstractDatePickerWidget.prototype.getValue = function() {\n\treturn $tw.utils.parseDate(this.getTiddler().getFieldString(this.field));\n};\n\nAbstractDatePickerWidget.prototype.setValue = function (date) {\n\tlet updateFields = {\n\t\ttitle: this.title,\n\t\t[this.field]: date ? this.formatDate(date) : undefined\n\t};\n\n\tthis.wiki.addTiddler(\n\t\tnew $tw.Tiddler(\n\t\t\tthis.wiki.getCreationFields(),\n\t\t\tthis.getTiddler(),\n\t\t\tupdateFields,\n\t\t\tthis.wiki.getModificationFields()\n\t\t)\n\t);\n\n\t$tw.rootWidget.dispatchEvent({type: \"tm-auto-save-wiki\"});\n};\n\nAbstractDatePickerWidget.prototype.formatDate = function(date) {\n\t// TW format is YYYYMMDDHHmmssSSS\n\treturn `${date.getFullYear()}${this.formatMonth(date)}${this.formatDay(date)}120000000`;\n};\n\nAbstractDatePickerWidget.prototype.formatMonth = function(date) {\n\tlet month = `${date.getMonth() + 1}`;\n\tif (month.length === 1) {\n\t\tmonth = `0${month}`;\n\t}\n\n\treturn month;\n};\n\nAbstractDatePickerWidget.prototype.formatDay = function(date) {\n\tlet day = `${date.getDate()}`;\n\tif (day.length === 1) {\n\t\tday = `0${day}`;\n\t}\n\n\treturn day;\n};\n\nvar factory = function(getDate, cssClass) {\n\tvar PickerWidget = function(parseTreeNode,options) {\n\t\tthis.initialise(parseTreeNode,options);\n\t};\n\n\tPickerWidget.prototype = new AbstractDatePickerWidget();\n\n\tPickerWidget.prototype.render = function(parent,nextSibling) {\n\t\tthis.parentDomNode = parent;\n\t\tthis.computeAttributes();\n\t\tthis.execute();\n\n\t\tthis.domNode = this.createDomNode();\n\n\t\tparent.insertBefore(this.domNode, nextSibling);\n\t\tthis.renderChildren(this.domNode, null);\n\t\tthis.domNodes.push(this.domNode);\n\t};\n\n\tPickerWidget.prototype.createDomNode = function() {\n\t\tlet btn = document.createElement(\"button\");\n\t\tbtn.classList.add(\"tc-btn-invisible\", cssClass);\n\t\tbtn.addEventListener(\"click\", () => {\n\t\t\tthis.setValue(getDate());\n\t\t});\n\n\t\treturn btn;\n\t};\n\n\treturn PickerWidget;\n};\n\nvar CalendarWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\nCalendarWidget.prototype = new AbstractDatePickerWidget();\n\nCalendarWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\n\tthis.domNode = this.renderCalendar();\n\n\tparent.insertBefore(this.domNode, nextSibling);\n\tthis.renderChildren(this.domNode, null);\n\tthis.domNodes.push(this.domNode);\n};\n\nCalendarWidget.prototype.renderCalendar = function() {\n\tlet calendar = new Pikaday({\n\t\tfirstDay: 1,\n\t\tkeyboardInput: false,\n\t\ti18n: this.getLabels(),\n\t\tonSelect: () => {\n\t\t\tthis.setValue(calendar.getDate());\n\t\t\t// Close the popup\n\t\t\t$tw.popup.cancel(0);\n\t\t},\n\t\tonDraw: fixPopupClosing\n\t});\n\n\tcalendar.setDate(this.getValue(), true);\n\n\t// Prevent the month and year pickers click events from closing the TW\n\t// popup. This function is called on each redraw (when a new month is\n\t// selected).\n\tfunction fixPopupClosing() {\n\t\tsetTimeout(() => {\n\t\t\tcalendar.el.querySelectorAll(\".pika-label\").forEach((elt) => {\n\t\t\t\telt.classList.add(\"tc-popup-handle\");\n\t\t\t});\n\t\t}, 0);\n\t}\n\n\treturn calendar.el;\n};\n\nCalendarWidget.prototype.getLabels = function() {\n\treturn {\n previousMonth : \"Previous Month\",\n nextMonth : \"Next Month\",\n months : this.getMonthLabels(),\n monthsShort : this.getShortMonthLabels(),\n weekdays : this.getDayLabels(),\n weekdaysShort : this.getShortDayLabels(),\n };\n};\n\nCalendarWidget.prototype.getMonthLabels = function() {\n\treturn this._mapRange(12, i => this._getDateLabel(`Long/Month/${i+1}`));\n};\n\nCalendarWidget.prototype.getShortMonthLabels = function() {\n\treturn this._mapRange(12, i => this._getDateLabel(`Short/Month/${i+1}`));\n};\n\nCalendarWidget.prototype.getDayLabels = function() {\n\treturn this._mapRange(7, i => this._getDateLabel(`Long/Day/${i}`));\n};\n\nCalendarWidget.prototype.getShortDayLabels = function() {\n\treturn this._mapRange(7, i => this._getDateLabel(`Short/Day/${i}`));\n};\n\nCalendarWidget.prototype._mapRange = function(n, f) {\n\treturn Array.from(new Array(n)).map((_, i) => f(i));\n};\n\nCalendarWidget.prototype._getDateLabel = function(title) {\n\treturn this.wiki.getTextReference(`$:/language/Date/${title}`);\n};\n\nexports[\"py-date-today\"] = factory(getToday, \"py-date-today\");\nexports[\"py-date-tomorrow\"] = factory(getTomorrow, \"py-date-tomorrow\");\nexports[\"py-date-next-week\"] = factory(getNextMonday, \"py-date-next-week\");\nexports[\"py-date-clear\"] = factory(function() {return undefined;}, \"py-date-clear\");\nexports[\"py-date-calendar\"] = CalendarWidget;\n\n})();\n", + "text": "/*\\\ntitle: $:/plugins/nico/projectify/ui/widgets/date-picker.js\ntype: application/javascript\nmodule-type: widget\n\npy-date-picker widget factory.\n\nThis widget is intended to be used within a drop-down (with the tc-drop-down CSS\nclass). See $:/plugins/nico/projectify/ui/buttons/TodoDueDate for usages.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n\nvar Widget = require(\"$:/core/modules/widgets/widget.js\").widget;\nvar Pikaday = require(\"$:/plugins/nico/projectify/lib/pikaday.js\");\n\nfunction getToday () {\n\treturn new Date();\n};\n\nfunction getTomorrow () {\n\tlet today = getToday();\n\tlet tomorrow = new Date(today);\n\ttomorrow.setDate(today.getDate() + 1);\n\treturn tomorrow;\n};\n\nfunction getNextMonday () {\n\tlet tomorrow = getTomorrow();\n\tlet monday = new Date(tomorrow);\n\tmonday.setDate(monday.getDate() + (1 + 7 - tomorrow.getDay()) % 7);\n\treturn monday;\n};\n\nvar AbstractDatePickerWidget = function() {};\nAbstractDatePickerWidget.prototype = new Widget();\n\n\n/*\nCompute the internal state of the widget\n*/\nAbstractDatePickerWidget.prototype.execute = function () {\n\tthis.title = this.getAttribute(\"tiddler\", this.getVariable(\"currentTiddler\"));\n\tthis.field = this.getAttribute(\"field\", \"due\");\n\tthis.makeChildWidgets();\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of\nits children needed re-rendering\n*/\nAbstractDatePickerWidget.prototype.refresh = function(changedTiddlers) {\n\tlet changedAttributes = this.computeAttributes();\n\n\tif(changedAttributes.tiddler || changedAttributes.field) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\treturn false;\n\t}\n};\n\nAbstractDatePickerWidget.prototype.getTiddler = function() {\n\tvar tiddler = this.wiki.getTiddler(this.title);\n\tif(!tiddler) {\n\t\tthis.wiki.addTiddler({title: this.title});\n\t\ttiddler = this.wiki.getTiddler(this.title);\n\t}\n\n\treturn tiddler;\n};\n\nAbstractDatePickerWidget.prototype.getValue = function() {\n\treturn $tw.utils.parseDate(this.getTiddler().getFieldString(this.field));\n};\n\nAbstractDatePickerWidget.prototype.setValue = function (date) {\n\tlet updateFields = {\n\t\ttitle: this.title,\n\t\t[this.field]: date ? this.formatDate(date) : undefined\n\t};\n\n\tthis.wiki.addTiddler(\n\t\tnew $tw.Tiddler(\n\t\t\tthis.wiki.getCreationFields(),\n\t\t\tthis.getTiddler(),\n\t\t\tupdateFields,\n\t\t\tthis.wiki.getModificationFields()\n\t\t)\n\t);\n\n\t$tw.rootWidget.dispatchEvent({type: \"tm-auto-save-wiki\"});\n};\n\nAbstractDatePickerWidget.prototype.formatDate = function(date) {\n\t// TW format is YYYYMMDDHHmmssSSS\n\treturn `${date.getFullYear()}${this.formatMonth(date)}${this.formatDay(date)}120000000`;\n};\n\nAbstractDatePickerWidget.prototype.formatMonth = function(date) {\n\tlet month = `${date.getMonth() + 1}`;\n\tif (month.length === 1) {\n\t\tmonth = `0${month}`;\n\t}\n\n\treturn month;\n};\n\nAbstractDatePickerWidget.prototype.formatDay = function(date) {\n\tlet day = `${date.getDate()}`;\n\tif (day.length === 1) {\n\t\tday = `0${day}`;\n\t}\n\n\treturn day;\n};\n\nvar factory = function(getDate, cssClass) {\n\tvar PickerWidget = function(parseTreeNode,options) {\n\t\tthis.initialise(parseTreeNode,options);\n\t};\n\n\tPickerWidget.prototype = new AbstractDatePickerWidget();\n\n\tPickerWidget.prototype.render = function(parent,nextSibling) {\n\t\tthis.parentDomNode = parent;\n\t\tthis.computeAttributes();\n\t\tthis.execute();\n\n\t\tthis.domNode = this.createDomNode();\n\n\t\tparent.insertBefore(this.domNode, nextSibling);\n\t\tthis.renderChildren(this.domNode, null);\n\t\tthis.domNodes.push(this.domNode);\n\t};\n\n\tPickerWidget.prototype.createDomNode = function() {\n\t\tlet btn = document.createElement(\"button\");\n\t\tbtn.classList.add(\"tc-btn-invisible\", cssClass);\n\t\tbtn.addEventListener(\"click\", () => {\n\t\t\tthis.setValue(getDate());\n\t\t});\n\n\t\treturn btn;\n\t};\n\n\treturn PickerWidget;\n};\n\nvar CalendarWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\nCalendarWidget.prototype = new AbstractDatePickerWidget();\n\nCalendarWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\n\tthis.domNode = this.renderCalendar();\n\n\tparent.insertBefore(this.domNode, nextSibling);\n\tthis.renderChildren(this.domNode, null);\n\tthis.domNodes.push(this.domNode);\n};\n\nCalendarWidget.prototype.renderCalendar = function() {\n\tlet calendar = new Pikaday({\n\t\tfirstDay: 1,\n\t\tkeyboardInput: false,\n\t\ti18n: this.getLabels(),\n\t\tonSelect: () => {\n\t\t\tthis.setValue(calendar.getDate());\n\t\t\t// Close the popup\n\t\t\t$tw.popup.cancel(0);\n\t\t},\n\t\tonDraw: fixPopupClosing\n\t});\n\n\tcalendar.setDate(this.getValue(), true);\n\n\t// Prevent the month and year pickers click events from closing the TW\n\t// popup. This function is called on each redraw (when a new month is\n\t// selected).\n\tfunction fixPopupClosing() {\n\t\tsetTimeout(() => {\n\t\t\tcalendar.el.querySelectorAll(\".pika-label\").forEach((elt) => {\n\t\t\t\telt.classList.add(\"tc-popup-handle\");\n\t\t\t});\n\t\t}, 0);\n\t}\n\n\treturn calendar.el;\n};\n\nCalendarWidget.prototype.getLabels = function() {\n\treturn {\n previousMonth : \"Previous Month\",\n nextMonth : \"Next Month\",\n months : this.getMonthLabels(),\n monthsShort : this.getShortMonthLabels(),\n weekdays : this.getDayLabels(),\n weekdaysShort : this.getShortDayLabels(),\n };\n};\n\nCalendarWidget.prototype.getMonthLabels = function() {\n\treturn this._mapRange(12, i => this._getDateLabel(`Long/Month/${i+1}`));\n};\n\nCalendarWidget.prototype.getShortMonthLabels = function() {\n\treturn this._mapRange(12, i => this._getDateLabel(`Short/Month/${i+1}`));\n};\n\nCalendarWidget.prototype.getDayLabels = function() {\n\treturn this._mapRange(7, i => this._getDateLabel(`Long/Day/${i}`));\n};\n\nCalendarWidget.prototype.getShortDayLabels = function() {\n\treturn this._mapRange(7, i => this._getDateLabel(`Short/Day/${i}`));\n};\n\nCalendarWidget.prototype._mapRange = function(n, f) {\n\treturn Array.from(new Array(n)).map((_, i) => f(i));\n};\n\nCalendarWidget.prototype._getDateLabel = function(title) {\n\treturn this.wiki.getTextReference(`$:/language/Date/${title}`);\n};\n\nexports[\"py-date-today\"] = factory(getToday, \"py-date-today\");\nexports[\"py-date-tomorrow\"] = factory(getTomorrow, \"py-date-tomorrow\");\nexports[\"py-date-next-week\"] = factory(getNextMonday, \"py-date-next-week\");\nexports[\"py-date-clear\"] = factory(function() {return undefined;}, \"py-date-clear\");\nexports[\"py-date-calendar\"] = CalendarWidget;\n\n})();\n", "type": "application/javascript", "module-type": "widget" } diff --git a/editions/demo/tiddlers/$__StoryList.tid b/editions/demo/tiddlers/$__StoryList.tid index 2aa542f..fb82799 100644 --- a/editions/demo/tiddlers/$__StoryList.tid +++ b/editions/demo/tiddlers/$__StoryList.tid @@ -1,5 +1,2 @@ -created: 20210130200358463 list: [[✨ About]] Demo Contributing -modified: 20210130200358463 -title: $:/StoryList -type: text/vnd.tiddlywiki \ No newline at end of file +title: $:/StoryList \ No newline at end of file diff --git a/editions/empty-de-DE/tiddlers/$__StoryList.tid b/editions/empty-de-DE/tiddlers/$__StoryList.tid index 48476a5..9a98792 100644 --- a/editions/empty-de-DE/tiddlers/$__StoryList.tid +++ b/editions/empty-de-DE/tiddlers/$__StoryList.tid @@ -1,5 +1,2 @@ -created: 20210130202459076 list: GettingStarted Projectify -modified: 20210130202459076 -title: $:/StoryList -type: text/vnd.tiddlywiki \ No newline at end of file +title: $:/StoryList \ No newline at end of file diff --git a/editions/empty-es-ES/tiddlers/$__StoryList.tid b/editions/empty-es-ES/tiddlers/$__StoryList.tid index 6b7c575..9a98792 100644 --- a/editions/empty-es-ES/tiddlers/$__StoryList.tid +++ b/editions/empty-es-ES/tiddlers/$__StoryList.tid @@ -1,5 +1,2 @@ -created: 20210201194907901 list: GettingStarted Projectify -modified: 20210201194910208 -title: $:/StoryList -type: text/vnd.tiddlywiki \ No newline at end of file +title: $:/StoryList \ No newline at end of file diff --git a/editions/empty/tiddlers/$__StoryList.tid b/editions/empty/tiddlers/$__StoryList.tid index aacc0e6..9a98792 100644 --- a/editions/empty/tiddlers/$__StoryList.tid +++ b/editions/empty/tiddlers/$__StoryList.tid @@ -1,5 +1,2 @@ -created: 20210130200405108 list: GettingStarted Projectify -modified: 20210130200405108 -title: $:/StoryList -type: text/vnd.tiddlywiki \ No newline at end of file +title: $:/StoryList \ No newline at end of file