jeremy@jermolene.com
bb6d41f3dd
Macrocall widget: ensure we separately cache inline vs block parse trees
...
Fixes a bug in #5205
2020-12-07 16:05:34 +00:00
Joshua Fontany
a878d82c7a
Ignore edition filters if not running on node ( #5222 )
2020-12-07 15:59:32 +00:00
Joshua Fontany
85ff47366c
fix viewtemplate quirks ( #5224 )
2020-12-07 15:58:28 +00:00
Saq Imtiaz
ce5d20b8fc
Logging widgets :Fixed issue on Firefox where logging does not work ( #5223 )
...
* Fixed issue on Firefox where logging does not work properly due to column names
* Remove second argument to utils.logTable
2020-12-07 15:53:49 +00:00
Joshua Fontany
c3e34b469c
typo ( #5221 )
2020-12-06 22:59:48 +00:00
Simon Huber
958f57f2c0
Make editTiddler in sidebarsegments/search available as variable ( #5218 )
2020-12-06 17:15:40 +00:00
jeremy@jermolene.com
005f7c55b6
Restore accidental commenting in 0b1a05d10
2020-12-06 10:50:59 +00:00
Simon Huber
122306fc24
Update GruvboxDark, CupertinoDark and Nord palettes to work better with TiddlyDesktop ( #5214 )
...
* Update CupertinoDark.tid
* Update GruvBoxDark.tid
* Update Nord.tid
2020-12-06 09:58:02 +00:00
Jeremy Ruston
0b1a05d10d
Cache result of parsing macro calls which don't use text subsitution ( #5205 )
2020-12-06 09:43:06 +00:00
Joshua Fontany
b0f6d50b60
fix filesystem bugs ( #5213 )
2020-12-06 09:41:03 +00:00
Simon Huber
a3a7d6450d
CodeMirror: Ensure linenumber-gutter has a right border ( #5212 )
...
* Ensure linenumber-gutter has a right border
* Update GruvBoxDark.tid
* Update Nord.tid
2020-12-06 08:56:06 +00:00
Cameron Fischer
a857b4ab9a
use a linked list for filter runs. ( #5206 )
...
* Changed the filterrunprefixes to use LinkedList
* Testing for Linked List
* Finishing touches to LinkedList
* Minor corrections to link-list coding style
* Corrected for sneaky bug in linkedList
2020-12-06 08:54:57 +00:00
Saq Imtiaz
7fd24de372
Tests for filter prefixes ( #5209 )
2020-12-05 23:10:51 +00:00
Simon Huber
396703c478
An even faster version of the TagPickerTagTemplate ( #5207 )
2020-12-05 17:38:39 +00:00
Simon Huber
bfc4b447da
Add selection-background/foreground to GruvboxDark and Nord palettes ( #5204 )
...
* Update GruvBoxDark.tid
* Update Nord.tid
* Update Nord.tid
* Update Nord.tid
* Update Nord.tid
2020-12-05 16:38:08 +00:00
Cameron Fischer
fbe5bb229a
Fix for filterrunprefixes using $tw.wiki ( #5202 )
...
* Fixed runprefix 'and' to use widget wiki
* Made widget arg of filterTiddlers optional again
* Switched to passing {wiki: wiki} to prefixes
2020-12-05 16:12:40 +00:00
Saq Imtiaz
9825b5b4a0
Ensure new variables are strings ( #5197 )
2020-12-04 19:02:05 +00:00
Saq Imtiaz
8799911162
Reduce operator: second optional parameter instead of suffix ( #5193 )
...
* Tweak reduce operator to use an optional second parameter instead of a suffix
* Updated docs
2020-12-04 18:31:23 +00:00
Simon Huber
813e28e1ea
Make the tag-picker tags-dropdown more performant ( #5195 )
...
* Replace macrocall for tag-button with transclusion of a TagPickerTagTemplate
* Create TagPickerTagTemplate.tid
2020-12-04 18:28:36 +00:00
Simon Huber
911e23ee6d
Make sidebarsegments/search button display the count of ALL search results (de-duplicated) ( #5194 )
2020-12-04 18:27:40 +00:00
Saq Imtiaz
046746ba20
Add :reduce filter run prefix ( #5196 )
2020-12-04 18:23:50 +00:00
Robin Munn
8ffe138942
Add rawunicode suffix to (json)stringify operators ( #5191 )
...
Default with no suffix is pre-5.1.23 behavior, escaping all Unicode
characters for maximum compatibility (avoids encoding issues). New
"rawunicode" suffix allows passing through Unicode characters U+0080
and up unchanged, for cases where you know your tools are handling
encoding correctly and you want less verbose escaping.
2020-12-04 13:19:59 +00:00
Saq Imtiaz
1f5e1205ec
Extend Eventcatcher to handle multiple events ( #5185 )
...
* support multiple events
* Add variables for event type and detail. Rename types attribute to events
* Correct typo in refresh handling
2020-12-02 21:15:35 +00:00
Simon Huber
6b03105bed
Update CupertinoDark.tid ( #5183 )
2020-12-02 21:13:42 +00:00
Simon Huber
552843369c
Update shortcuts-mac.multids ( #5179 )
2020-12-02 16:55:55 +00:00
Simon Huber
a1ef66ec6d
Better readability for codemirror linenumbers + CupertinoDark muted-foreground better contrast ( #5164 )
...
* Update styles.tid
* Update CupertinoDark.tid
2020-12-02 12:21:23 +00:00
Simon Huber
fc797f3722
Fix #5162 - tiddler opening position is incorrect, bug in navigator.js
2020-12-02 12:21:02 +00:00
Joshua Fontany
c6bb783308
Fix filesystem regression ( #5176 )
...
* $:/config/OriginalTiddlerPaths if no filters match
* fixed & docs updated
* tested with tiddlywiki.files & tw.com edition
* typos
* originalpath to options, propigate isEditableFile
* syntax cleanup
2020-12-02 09:47:51 +00:00
Saq Imtiaz
4079f72310
Fix typo in x-listops.js ( #5171 )
2020-12-01 18:14:07 +00:00
Mario Pietsch
880930da8b
Add actions parameter to range-widget + docs! ( #5158 )
...
* add actionsStart, -Stop and actions to range-widgets
* fix indent
2020-12-01 18:11:09 +00:00
jeremy@jermolene.com
6a91dbfe2f
Add support for working with negative dates
...
See discussion https://groups.google.com/g/tiddlywiki/c/aHlyaHr93Io/m/vGcDa6lxAgAJ
2020-12-01 10:39:27 +00:00
Joshua Fontany
dde4182830
Fix filesystem adaptor ( #5113 )
...
* ignore .env
testing new implementation
almost there
closer
bug, desyncing
fixed
final testing
final testing
cleanup
cleanup
* isEditableFile flow fixed
* removed `basepath` logic
* callback to delete title from $tw.boot.files
* comment fix
* have syncer delete from boot.files
* syntax
* bugfix: error on missing directory
* bugifx
* remove !draft check
* fix relative filepaths
* cleanup
* cleanup !draft
* catch undefined filepaths in deleteTiddlerFile()
* typo
* whitelist wiki dir, encodeURIComponent otherwise
* test for wikiPath, not wikiPath/tiddlers
* don't need to .normailze()
* whitelist wiki directory, move cleanup to util
* use cleanup util & fail EPERM & EACCESS gracefully
* comments
* final bugs fixed
* improved sync error
2020-11-30 22:31:48 +00:00
Simon Huber
6a319940d3
Make buttons look like buttons in CupertinoDark, GruvboxDark and DesertSand palette ( #5159 )
...
* Make buttons look like buttons in CupertinoDark palette
* Update GruvBoxDark.tid
* Update DesertSand.tid
2020-11-30 21:04:14 +00:00
jeremy@jermolene.com
3406b98af6
Add "autocomplete" attribute to <$edit> and <$edit-text> widgets
2020-11-30 18:48:04 +00:00
Simon Huber
367854c81b
Update static.tiddler.html.tid ( #5148 )
2020-11-30 17:56:19 +00:00
Robin Munn
fd3e77d38f
"dedupe" and "raw" suffixes for enlist-input operator ( #5152 )
...
Includes unit tests.
2020-11-30 17:52:46 +00:00
saqimtiaz
8fc6910c03
Added string operator pad[] along with tests and docs ( #5146 )
2020-11-30 17:43:50 +00:00
Mario Pietsch
5cbe4c5317
Add radio actions, th-radio-variables hook and fix label refresh problem ( #5154 )
...
* Add actions to radio-widget, pass trhough all attributes and user parameters, fix label refresh
* invoke th-radio-hook instead of hardcoded variables
* simplify code and test it with a plugin hook
* remove hook
2020-11-30 17:28:49 +00:00
Jeremy Ruston
4d9e6831bb
Rename "references" to "backlinks" in the tiddler info panel ( #5143 )
...
* Rename "references" to "backlinks" in the tiddler info panel
* Change docs references to "references" to "backlinks"
2020-11-29 18:32:22 +00:00
Simon Huber
ce937595d7
Add Button to remove tags from tiddlers $:/config/NewTiddler/Tags and $:/config/NewJournal/Tags ( #5140 )
...
* Update Basics.tid
* Update ControlPanel.multids
* Update Basics.tid
* Update ControlPanel.multids
* Update ControlPanel.multids
* Update ControlPanel.multids
2020-11-29 12:52:50 +00:00
jeremy@jermolene.com
cc850d7151
Fix typo in list macro
...
See discussion https://github.com/Jermolene/TiddlyWiki5/pull/3710#issuecomment-735295319
2020-11-29 12:38:09 +00:00
Simon Huber
eb7f59a855
Make "tc-dirty" update also on external windows ( #5129 )
...
* Update windows.js
* Update saver-handler.js
* Update saver-handler.js
2020-11-28 21:24:01 +00:00
Simon Huber
b3cbd7d733
Add TiddlySpot-ReadOnly Message-Box to Tiddlyspot Saving Panel ( #5133 )
...
* Add message box to TiddlySpot Saving panel
* add readonly message
2020-11-28 21:22:32 +00:00
Simon Huber
28724138d1
Small update for better readability for CupertinoDark palette ( #5134 )
2020-11-28 21:21:53 +00:00
Simon Huber
c655ec5469
Remove background-colors from framed engine ( #5131 )
2020-11-28 14:08:16 +00:00
Simon Huber
8005c91e79
Correctly add EventListener 'click' for popup-handling in new windows ( #5127 )
2020-11-28 07:26:47 +00:00
Simon Huber
86a9f922bf
Update LayoutSwitcher.tid ( #5125 )
2020-11-27 21:52:26 +00:00
saqimtiaz
2175be27b0
Ensure that we always fetch the latest sha bypassing cache. ( #5126 )
...
Ensure that we always fetch the latest sha bypassing cache.
2020-11-27 21:37:11 +00:00
jeremy@jermolene.com
9637a29e55
Rename widget.executeStartupTiddlers() to invokeActionsByTag()
...
This method was introduced earlier in v5.1.23 in 5cc1600072
It is not in fact restricted to startup tiddlers.
2020-11-26 12:41:24 +00:00
jeremy@jermolene.com
2267e31546
Fix eventcatcher to ensure variable values are strings
...
I was getting some inconsistencies with filter operators that expect strings.
2020-11-25 15:54:28 +00:00
jeremy@jermolene.com
e3bf1f43cf
Missed off previous commit 64ac29adc
...
Thanks @saqimtiaz
2020-11-25 14:07:01 +00:00
jeremy@jermolene.com
64ac29adca
Fix typo preventing filter run prefix modules from being cached
...
This had a significant impact on performance.
2020-11-25 13:58:54 +00:00
jeremy@jermolene.com
94ffb50e04
Fix dark mode event handling
...
Previous code worked but this matches the spec, and works on iOS
2020-11-25 12:33:39 +00:00
saqimtiaz
ce27492b96
Refactor updating of classes for button widgets to avoid potential edge case failures ( #5115 )
2020-11-24 21:19:20 +00:00
Simon Huber
a9d583b85e
Update CupertinoDark.tid ( #5117 )
2020-11-24 21:16:24 +00:00
jeremy@jermolene.com
c854e518fa
Add support for $:/info/darkmode (and for dynamic info tiddlers)
2020-11-24 19:01:33 +00:00
jeremy@jermolene.com
7327a3fb92
Fixed: Shadow tiddlers don't refresh when their plugin is deleted/modified
2020-11-24 18:57:39 +00:00
Simon Huber
50a3c5526f
Update CupertinoDark.tid ( #5107 )
2020-11-23 20:09:53 +00:00
Simon Huber
77971ff720
Lighter sidebar-controls-foreground for Cupertino Dark Palette ( #5106 )
2020-11-23 19:41:51 +00:00
Simon Huber
e0f4d82214
Update CupertinoDark.tid ( #5105 )
2020-11-23 19:32:51 +00:00
Simon Huber
af72fdf245
Add caption to ControlPanel LayoutSwitcher ( #5103 )
...
* Update LayoutSwitcher.tid
* Update ControlPanel.multids
2020-11-23 19:15:04 +00:00
Simon Huber
519962b4a9
Update and rename MacOSDark.tid to CupertinoDark.tid ( #5101 )
...
* Update and rename MacOSDark.tid to CupertinoDark.tid
* Update CupertinoDark.tid
* Update CupertinoDark.tid
* Update CupertinoDark.tid
2020-11-23 19:14:07 +00:00
Simon Huber
c9a77c5877
Create MacOSDark.tid ( #5100 )
2020-11-23 18:41:38 +00:00
Simon Huber
3d93790573
Fix StaticRiver exporter width of static tiddlers ( #5099 )
...
* Add tc-static-story-river class to StaticRiver exporter
* Update base.tid
2020-11-23 18:06:46 +00:00
saqimtiaz
aa6f152d35
Add Switcher modal ( #5089 )
...
* Alternative switcher using a parameter via tm-show-switcher
* Add CSS class for centered modals
* Changed keyboardshortcut and removed transition CSS
* Resolved wording issues
2020-11-23 17:06:24 +00:00
Simon Huber
72b32946aa
Small adjustments for DesertSand palette ( #5098 )
...
* Small adjustments for DesertSand palette
* Update DesertSand.tid
2020-11-23 16:59:48 +00:00
Simon Huber
8c4d67ba2b
Add light "DesertSand" palette - a desert-sandy palette ( #5092 )
...
* Add light "DesertSand" palette - a desert-sandy palette
* Update DesertSand.tid
* Update DesertSand.tid
2020-11-22 21:18:34 +00:00
saqimtiaz
3c195b05cb
Button and Droppable widgets: improve refresh handling for classes ( #5091 )
...
* Button and Droppable widgets: improve refesh handling for classes
* Added comment regarding handling of class attribute
2020-11-22 21:13:24 +00:00
saqimtiaz
fa63ac5d1e
Add: Eventcatcher widget ( #5086 )
...
* Jeremy's original version of the event widget
* Renamed to eventcatcher, added modifier key support and mouse button support as variables
* Allow updating classname without re-rendering entire widget
* Handle tag attribute in refresh handler
* Improve handling for mouse button variable
* Fix typo in refresh handler
* Added variables for position of selected node and position of event relative to selected node and catcher node
2020-11-22 20:47:12 +00:00
saqimtiaz
51ca14861e
Fixed bug with default value in lookup operator ( #5088 )
...
* Fixed bug with default value in lookup operator
* Fixed test for lookup operator with default
2020-11-22 20:43:36 +00:00
saqimtiaz
d2f87d6200
Reveal widget allow re-positioning ( #5087 )
...
* Jeremy's original version of the event widget
* Renamed to eventcatcher, added modifier key support and mouse button support as variables
* Reveal widget: update popup position when state tiddler updates
2020-11-21 17:19:52 +00:00
saqimtiaz
4f07539164
Cycle operator improvements plus docs ( #5069 )
...
* Tweak cycle operator to support step size parameter and add docs for toggle and cycle
* Mention that title list should have no duplicates
2020-11-20 18:37:23 +00:00
saqimtiaz
483fd941f5
Extend action-log and subclass it as log widget ( #5078 )
...
* Extended action-log and subclassed it as log widget
* Do not rename LogWidget class
* Removed unneeded variable declaration
2020-11-20 14:08:18 +00:00
saqimtiaz
89541edcff
Added mathematics filter operators power and log ( #5080 )
2020-11-20 14:00:20 +00:00
Simon Huber
fd14e94610
Add whitespace trims to EditToolbar Buttons ( #5076 )
...
* Add whitespace trim to EditToolbar cancel Button
* Add whitespace trim to EditToolbar delete Button
* Add whitespace trim to EditToolbar save Button
2020-11-19 16:37:36 +00:00
saqimtiaz
e2bea854b6
System tiddler syncing ( #4987 )
...
* First pass at a fix for system tiddler sync issues
* Add new filter syncFromServer
* Undo previous attempt at a fix
* Added a flag to control sync of system tiddlers from server
2020-11-19 15:59:02 +00:00
Simon Huber
da66323dc5
Remove 2em of whitespace from EditTemplate when there are no visible fields ( #5063 )
...
* Remove 2em of whitespace from EditTemplate when there are no visible fields
* Update base.tid
* Update fields.tid
* Update fields.tid
* Update base.tid
2020-11-18 18:02:40 +00:00
saqimtiaz
6f8dca956b
Colour code ImportListing rows ( #5067 )
2020-11-18 15:50:40 +00:00
jeremy@jermolene.com
d181b96518
Wikitext parser: Refactor a poorly written utility function
2020-11-18 12:05:06 +00:00
saqimtiaz
527638d5e6
Improved status messages in ImportListing to remove redundant and irrelevant messages ( #5059 )
2020-11-17 19:12:41 +00:00
Simon Huber
b95f9e6000
Partial fix for issue #4721 ( #5060 )
...
* Update new-tiddler.tid
* Update new-journal.tid
* Update new-image.tid
2020-11-17 19:08:14 +00:00
Simon Huber
eae3da0e9d
Make sidebarsegments/search-results-count work with all search tabs ( #5062 )
2020-11-17 19:05:32 +00:00
jeremy@jermolene.com
8cd13e2f89
Change default branch for GitHub saver to "main"
...
To match GitHub's new default
See also #5055 for the accompanying docs change
2020-11-17 14:47:15 +00:00
saqimtiaz
d6e055368d
Added docs for action-confirm widget, added default message for widget and improved logic for disabling it. ( #5047 )
2020-11-16 17:02:22 +00:00
saqimtiaz
fc1721709a
Cycle operator and refactored toggle operator ( #5021 )
...
* Refactored toggle operator and added cycle operator
* Better handling for operand case
* Syntax/whitespace corrections
2020-11-16 17:02:04 +00:00
Simon Huber
43061e64a6
Fix #5039 - Tag input, Type input and Fields inputs don't delete their state tiddlers on tiddler-cancel/delete ( #5049 )
...
* Update EditTemplate.tid
* Update EditTemplate.tid
* Update EditTemplate.tid
* Update tag-picker.tid
* Update tag-picker.tid
* Update type.tid
* Update fields.tid
* Update cancel.tid
* Update delete.tid
* Update type.tid
* Update ViewTemplate.tid
2020-11-16 16:54:29 +00:00
saqimtiaz
a637f7fb60
Modals: add navigator to handle tm-navigate ( #5027 )
...
* Wrap modal in a navigator widget to allow tm-navigate to work
* Move all story list handling to Modal
* Make sure any values for story list or history list sent as variables have precedence
* Code clean up
2020-11-16 16:27:46 +00:00
Simon Huber
ca4cdc81dd
Remove reduntant fieldmangler widget from tags EditTemplate ( #5044 )
2020-11-15 16:04:39 +00:00
saqimtiaz
13499557bf
Fix whitespace in x-listops.js and tweak toggle operator ( #5024 )
...
* Replaced leading spaces with tabs
* Tweak toggle[] to insert new value in same list position
2020-11-15 16:04:03 +00:00
Simon Huber
a2b2e117e3
Delete all state tiddlers after adding a new field ( #5045 )
2020-11-15 15:49:43 +00:00
Simon Huber
2aa6e761fd
Make Tag-Picker Macro work with every field ( #5035 )
...
* Make tag-picker work with every field
* Make EditTemplate/tags work with every field
* Make NewTiddlerTags and NewJournalTags selectable through tag-picker
* Update tag-picker Macro Docs
2020-11-15 12:04:50 +00:00
Simon Huber
7078ca2c1e
Revert Tag-input behavior to how it was before ( #5041 )
2020-11-15 11:42:46 +00:00
saqimtiaz
04bf6e0fd8
Action widget: confirm ( #5037 )
...
* added action widget: confirm
* Check for all attributes in refresh handler
* Always return a value from invokeActions
2020-11-15 11:40:08 +00:00
Simon Huber
bb6fee4e1c
Remove image-buttons from type image/svg+xml and add editor-height and stamp button ( #5042 )
...
* Add stamp button to image/svg+xml
* Add editor-height Button to image/svg+xml
* Remove rotate-left button from image/svg+xml
* Remove size Button from image/svg+xml
* Remove paint Button from image/svg+xml
* Remove line-width Button from image/svg+xml
* Remove clear Button from image/svg+xml
* Remove opacity Button from image/svg+xml
2020-11-15 11:37:30 +00:00
jeremy@jermolene.com
1b31c25ea7
Introduce <$action-log> widget to help debugging action strings
2020-11-14 13:00:00 +00:00
Simon Huber
02a956b1bb
Add Pop Storyview to Manager Tags Section ( #5034 )
2020-11-14 12:32:39 +00:00
jeremy@jermolene.com
cc3462999b
When importing don't use file type as content type
...
Fixes #5028
I've checked that importing other file types still works but would appreciate a sanity check!
2020-11-14 12:05:35 +00:00
Simon Huber
b63c90e401
Add missing tooltip and aria-label to clear-tag-input button ( #5033 )
...
* Add tooltip and aria-label to new clear-tags-input button
* Update EditTemplate.multids
2020-11-13 19:19:55 +00:00
Simon Huber
497b334d60
Change tag-picker behavior when there is user-input ... ( #5032 )
...
... in the search field
2020-11-13 18:50:50 +00:00
Simon Huber
fa373a1c6f
Make keyboard-driven-input Macro reset to typed input ... ( #5031 )
...
... on up/down when reaching the top/bottom of the list
2020-11-13 18:01:24 +00:00
saqimtiaz
09f7ad84b2
Added disabled attribute to input widgets ( #5014 )
...
* checkbox widget: added disabled attribute
* Range widget: added disabled attribute
* Radio widget: added disabled attribute
* EditText widget: added disabled attribute
2020-11-09 18:28:12 +00:00
saqimtiaz
445c15e719
Extend toggle operator ( #5015 )
...
* Extend toggle operator to support optional second operand to toggle a value pair
* Added tests for extended toggle filter
* Updated docs for toggle operator
2020-11-09 18:27:45 +00:00
jeremy@jermolene.com
1ec8b7877e
Ensure root template contents is parsed in block mode
...
Embarrassingly, the double blank lines at the end of the tiddler are needed to ensure the transclude widget is recognised in block mode, instead of being wrapped in a paragraph tag.
Fixes #5016
2020-11-09 17:08:34 +00:00
saqimtiaz
59c6f4447e
Import UI : Fix issue with size of rename button ( #5012 )
...
* Fix issue with size of rename button
* Add css instead of hard coded style attribute
2020-11-08 23:21:01 +00:00
saqimtiaz
71194d8767
Added disabled attribute support to ButtonWidget ( #5010 )
...
* Added disabled attribute to ButtonWidget
* Update ButtonWidget.tid
2020-11-08 22:32:27 +00:00
Simon Huber
4d85d267a1
Make navigating and editing Shadow tiddlers work again ( #5004 )
...
* Update search.tid
* Update Filter.tid
* Update Shadows.tid
* Update Standard.tid
* Update System.tid
* Update search.tid
2020-11-08 13:26:02 +00:00
Simon Huber
98f67373b1
Menubar plugin: make sidebar-scrollable top margin adjust ... ( #4974 )
...
* Menubar plugin: make sidebar-scrollable top margin adjust ...
... to height of menubar
* Update styles.tid
* Update styles.tid
* Update styles.tid
* Update styles.tid
* Update menu.tid
* Update styles.tid
* Update styles.tid
* Update styles.tid
* Update styles.tid
* Update menu.tid
* Update styles.tid
* Update styles.tid
2020-11-08 11:50:15 +00:00
Simon Huber
9854a4fc08
Fix #4998 - Pressing Enter creates Missing Tiddler ( #5001 )
...
* Update search.tid
* Update Filter.tid
* Update Shadows.tid
* Update Standard.tid
* Update System.tid
* Update search.tid
* Create Hidden Setting Search-NavigateOnEnter.tid
2020-11-08 11:43:24 +00:00
Simon Huber
9fe4c4889a
Add "meta" to getEventModifierKeyDescriptor ( #5000 )
...
* Add "meta" to getEventModifierKeyDescriptor
* Update modifier Variable.tid
2020-11-08 10:15:29 +00:00
Simon Huber
750f56a235
Update Basics.tid ( #4999 )
2020-11-08 09:44:49 +00:00
saqimtiaz
66636d1a86
Docs for new operators ( #4994 )
...
* Docs for is[draft]
* Better error handling for suffixes
* Docs for search-replace operator
* Added tests for search-replace operator
* Docs for toggle operator
2020-11-08 09:34:05 +00:00
Simon Huber
b69b84b38e
Update core "tabs" macros to use explicitState ( #4985 )
...
* Update ControlPanel.tid
* Update Advanced.tid
* Update Appearance.tid
* Update Info.tid
* Update AddPlugins.tid
* Update Plugins.tid
* Update Saving.tid
* Update Toolbars.tid
* Update Plugins.tid
* Update More.tid
* Update TiddlerInfo.tid
* Update tabs.tid
* Update settings.tid
* Update ControlPanel.tid
* Update Advanced.tid
* Update Appearance.tid
* Update Info.tid
* Update AddPlugins.tid
* Update Plugins.tid
* Update Saving.tid
* Update Toolbars.tid
* Update Plugins.tid
* Update More.tid
* Update tabs.tid
* Update settings.tid
* Update TiddlerInfo.tid
* Update AdvancedSearch.tid
* Update Filter.tid
* Update Shadows.tid
* Update Standard.tid
* Update System.tid
2020-11-08 09:31:39 +00:00
Simon Huber
de69ab0d0e
Update keyboard-driven type-input actions on "Escape" ( #4992 )
...
* Delete "type" field when pressing escape in type input
* Update type.tid
2020-11-07 12:21:24 +00:00
saqimtiaz
cf58dcf116
Add is[draft] operator ( #4991 )
2020-11-07 10:29:15 +00:00
saqimtiaz
53922d3558
search-replace string operator ( #4973 )
...
* Added search-replace operator
* Merge with master
* Add try catch around new RegExp
* Better error handling
2020-11-07 10:09:11 +00:00
saqimtiaz
c41e34793d
Add x-listops filter toggle ( #4990 )
2020-11-07 10:00:47 +00:00
saqimtiaz
5aa4e4cb68
Initial support for switching page templates ( #4979 )
...
* Add support for switching page templates
* Revert "Add support for switching page templates"
This reverts commit dbf7682d47
.
* Adopt Jeremy's approach to page template switching instead
* Fix default value of recursion marker
* Fixed issue with conditional check
2020-11-07 09:51:01 +00:00
saqimtiaz
2b31c7a509
Multiple operands for filter operators ( #4964 )
...
* Firt pass at adding multiple operands to filter operators
* Optimized parsing of multiple operands and added more tests. Need more flexibility for interpreting multiple operands as variables/text references
* Add support for parsing text references and variables in multiple operands
* Added string-replace filter for testing multiple filter operands
* Added more tests for variables and text references in operands
* Removed string-replace operator and some whitespace corrections
* Removed string-replace operator and some whitespace corrections
* Added test with comma in operand
2020-11-07 09:47:08 +00:00
Simon Huber
0bd866e2f9
Make type input keyboard-driven ( #4989 )
2020-11-07 09:46:05 +00:00
Simon Huber
900a29fbb3
Tag-picker: focus tag-input after clicking a tag from the dropdown ( #4986 )
...
* Tag-picker: focus tag-input after clicking a tag from the dropdown
* Update tag-picker.tid
2020-11-06 21:16:14 +00:00
Simon Huber
b3d0303139
Add editor-height button and stamp-button to tiddler types that miss them ( #4975 )
...
* Add editor-height button also to application/javascript ...
... application/json and application/x-tiddler-dictionary
* Add stamp button also to application/javascript ...
... application/json and application/x-tiddler-dictionary
2020-11-06 18:34:10 +00:00
Simon Huber
d51975b183
KeyboardWidget: don't trap keyboard shortcut if actions and message are empty and invokeActions isn't handled ( #4971 )
...
* KeyboardWidget: don't trap keyboard shortcut if actions are empty
* Update keyboard.js
* Update keyboard.js
2020-11-06 17:32:26 +00:00
Simon Huber
bc5143f190
When accessing the AdvancedSearch from the sidebar, delete sidebar-search state tiddlers ( #4981 )
2020-11-06 16:53:11 +00:00
Simon Huber
458460354e
Add delete-field keyboard shortcut ( #4978 )
...
* Add delete-field keyboard-widget
* Update shortcuts.multids
* Update ShortcutInfo.multids
* Update fields.tid
* Update shortcuts.multids
2020-11-06 16:27:41 +00:00
Simon Huber
d5c4aa250a
Remove dependency on wiki.js for story-startup and navigator ( #4200 )
...
* Update story.js
* Update wiki.js
* Update navigator.js
* Add deprecation console logs to addToHistory and addToStory
2020-11-02 22:52:02 +00:00
Simon Huber
4a6aa865b3
Make Escape in keyboard-driven-inputs behave like in AdvancedSearch/Filter ( #4961 )
...
* Create focus-editor.js
* Update search.tid
* Update link-dropdown.tid
* Update search.tid
* Update Standard.tid
* Update Shadows.tid
* Update System.tid
* Update fields.tid
* Update tag-picker.tid
* Update Filter.tid
* Update clear.tid
* Update link-dropdown.tid
* Delete focus-editor.js
2020-11-02 19:08:24 +00:00
Mario Pietsch
42b965c9f0
Init less parsers ( #4954 )
...
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* Don't override browser selection colours by default
Reverts some of #4590
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* add a new-line before the log text to increase readability of the test output
* make eslint, jslint happy
* it shouldn't be there
* fremove this file from my PRs
* list-widget, init new Parser() only if needed.
* fix braces
Co-authored-by: jeremy@jermolene.com <jeremy@jermolene.com>
2020-11-01 17:14:42 +00:00
saqimtiaz
e9a635dc81
Added intersection filter run prefix ( #4959 )
2020-11-01 17:13:52 +00:00
Simon Huber
26ade60e93
Make AdvancedSearch/Filter navigatable by keyboard ( #4932 )
...
* Make AdvancedSearch/Filter keyboard-driven
* Adapt keyboard-driven-input macro for use with...
... AdvancedSearch/Filter Tab
* Adjust Filter dropdown for kb-driven AdvancedSearch/Filter
* Adjust Clear Button for kb-driven AdvancedSearch/Filter
* Adjust Delete Button for kb-driven AdvancedSearch/Filter
* Adjust Export Button for kb-driven AdvancedSearch/Filter
* Update clear.tid
* Avoid editing the wron tiddler
* Make cancel-search-actions a bit more sophisticated
* Update Filter.tid
* Update Filter.tid
* Update Filter.tid
* Update keyboard-driven-input.tid
* Update dropdown.tid
* Update dropdown.tid
* Update Filter.tid
* Update clear.tid
* Update delete.tid
* Update dropdown.tid
* Update export.tid
* Update clear.tid
* Update Shadows.tid
* Update Standard.tid
* Update Shadows.tid
* Update System.tid
* Update Filter.tid
* Update keyboard-driven-input.tid
2020-11-01 17:12:29 +00:00
saqimtiaz
e7245a709c
Add string operator enlist-input[] ( #4948 )
...
* Add string operator titlelist[]
* Update strings.js
* Update strings.js
* Add tests
2020-11-01 17:11:46 +00:00
Simon Huber
a6efc14a7c
Add keyboard shortcut to change the sidebar layout ( #4952 )
...
* Create change-sidebar-layout keyboard shortcut
* Update shortcuts.multids
* Update ShortcutInfo.multids
* Update Misc.multids
2020-11-01 17:10:19 +00:00
saqimtiaz
9fbcdeb29e
Import UI: add warning about tiddlers that already exist ( #4956 )
...
* Added message when tiddler being imported already exists
* Refactored some filters into a shared subfilter, optimized macro definitions
2020-11-01 11:33:02 +00:00
Simon Huber
ef1b7d619a
Make ctrl-Enter in sidebar search also focus the AdvancedSearch input ( #4941 )
...
* Update search.tid
* Update Misc.multids
* Update search.tid
* Update search.tid
* Update search.tid
* Update search.tid
2020-11-01 11:23:18 +00:00
Simon Huber
ec70e5c179
AdvancedSearch keyboard shortcut: Let the navigator widget handle scrolling ( #4955 )
2020-11-01 11:22:34 +00:00
Simon Huber
4de0dc301b
Rename $:/core/ui/KeyboardShortcut/toggle-sidebar... ( #4953 )
...
... to $:/core/ui/KeyboardShortcuts/toggle-sidebar for consistency
2020-11-01 11:15:53 +00:00
Simon Huber
da06b64845
Fix AdvancedSearch Standard, System and Shadows up/down behavior ( #4939 )
...
* add filterMinLength to AdvancedSearch/Shadows
* add filterMinLength to AdvancedSearch/Standard
* add filterMinLength to AdvancedSearch/System
* Update link-dropdown.tid
2020-11-01 10:57:13 +00:00
Robin Munn
77fe6244a2
Fix bug with sortan operator called on date fields ( #4839 )
...
* Add failing unit test that shows the bug
* Fix the bug
2020-11-01 10:45:18 +00:00
Simon Huber
f6e485b897
Avoid editing the wrong tiddlers when input fields are empty ( #4943 )
...
* Avoid editing the 'undefined' tiddler
* Avoid editing the wrong tiddler
* Avoid editing the wrong tiddler
* Avoid editing the wrong tiddler
2020-10-31 13:22:46 +00:00
Simon Huber
4b5d287c90
Change input-accept-variant actions shortcut from alt-Enter ... ( #4942 )
...
... to ctrl-Enter and advanced-search-sidebar shortcut from ctrl-Enter to alt-Enter
the ctrl-Key blocks navigation to the AdvancedSearch tiddler
2020-10-31 13:22:05 +00:00
saqimtiaz
c01e9cef12
Do not save temp tiddlers in single file ( #4938 )
...
* Update single file template to exclude temp tiddlers
* Update save-all-external-js.tid
2020-10-31 13:21:28 +00:00
saqimtiaz
655501140b
Improvements for Import UI ( #4937 )
...
* Fixed bug with old titles used in popup, improved UI for greater rename input size
* Added flexbox utility CSS and use it for import UI
2020-10-29 13:01:17 +00:00
Simon Huber
b8fa6f0f0a
Fix keyboard-driven fieldname dropdown ( #4930 )
...
I've accidentally overwritten the correct file when adding the tc-small-gap classes ... SORRY!
2020-10-28 17:16:20 +00:00
saqimtiaz
9605d94b6c
Import rename ( #4928 )
...
* Add UI for renaming tiddlers before import in the import listing
* Removed spurious whitespace
2020-10-28 16:03:04 +00:00
Simon Huber
9a4eb1e835
Add meta-S (mac) / ctrl-S shortcuts to save wiki ( #4927 )
...
* Create save-wiki.tid
* Update shortcuts-mac.multids
* Update shortcuts.multids
* Update ShortcutInfo.multids
2020-10-28 14:42:41 +00:00
Simon Huber
e71bf27dae
Replace various with tc-small-gap classes ( #4926 )
...
* replace by span.tc-small-gap-right
* replace
* replace
* replace
* replace
* replace
* replace
* replace
2020-10-28 13:13:55 +00:00
Simon Huber
c985fd63f9
make link-dropdown navigatable by keyboard ( #4919 )
2020-10-28 12:01:05 +00:00
Simon Huber
12be7ac7e9
Add ability to navigate fieldname-dropdown by keyboard ( #4921 )
...
* make fields EditTemplate navigatable by keyboard
* Add configuration tiddler for fieldname-dropdown filters
* Update base.tid
2020-10-28 11:59:36 +00:00
Ryan Kramer
651619076a
add override saver ( #4908 )
...
* add override saver
* rename 'override' to 'custom' and use the global instead of introducing a new one
2020-10-28 11:58:48 +00:00
Simon Huber
81e3ab0bc5
Make AdvancedSearch/Standard, AdvancedSearch/System and AdvancedSearch/Shadows navigatable by keyboard ( #4925 )
...
* Make AdvancedSearch/Shadows navigatable by keyboard
* Make AdvancedSearch/System navigatable by keyboard
* Make AdvancedSearch/Standard navigatable by keyboard
* Update search.tid
2020-10-28 10:53:41 +00:00
Simon Huber
e43ffe860b
Fix #4910 - "Editor link dropdown is broken in pre-release." ( #4913 )
...
* fix #4910 in sidebarsegments/search
* fix #4910 in editortoolbar/link-dropdown
* fix #4910 in keyboard-driven-input macro
* Update keyboard-driven-input_Macro.tid
* Fix #4910 in tag-picker macro
* Update tag-picker.tid
2020-10-27 17:33:06 +00:00