1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-07 12:34:22 +00:00
Commit Graph

1380 Commits

Author SHA1 Message Date
Jeremy Ruston
824b65f668 Roadmap updates 2012-10-17 23:09:39 +01:00
Jeremy Ruston
c1cf82cfb8 Improve the efficiency of the search filter ordering 2012-10-17 21:00:46 +01:00
Jeremy Ruston
caaa798ced Support search terms vs. literal search
Search terms like "one two" are searched like Google, returning
tiddlers with both terms
2012-10-17 20:38:36 +01:00
Jeremy Ruston
93f0a28c26 More search results
It's confusing limiting to 10 results unless we can show an indicator
that more results are available
2012-10-17 20:37:49 +01:00
Jeremy Ruston
1a74d8526f Temporarily disable the search popup focus handling
Just so that search works again
2012-10-17 19:12:05 +01:00
Jeremy Ruston
5e2c3db385 Getting ready for using RegExp for search
So that we can do case insensitivity and partial matches
2012-10-17 19:10:48 +01:00
Jeremy Ruston
81a565e608 Starting to get the behaviour of the search popup more correct 2012-10-17 19:10:18 +01:00
Jeremy Ruston
42d4be3f20 Search improvements
1. Extended edit macro to allow a search-styled input to be used
2. Moved search box into nav bar
2012-10-17 18:03:17 +01:00
Jeremy Ruston
fbc9211688 tw5dropbox updates
1. Use a beacon of UTF8 characters to ensure Dropbox correctly parses
the charset of the file
2. Update to latest version of dropbox.js
3. Clarification to docs
2012-10-17 16:54:47 +01:00
Jeremy Ruston
915caf2a18 Improvements and fixes to search 2012-10-17 14:57:13 +01:00
Jeremy Ruston
bf94a6dc65 First pass at incremental search
This tiddler now ties together several recent changes to produce a
reasonably good typeahead search box, constructed from more fundamental
mechanisms, particularly filters.
2012-10-17 14:35:49 +01:00
Jeremy Ruston
0982bcbf45 Added function to search a wiki
Crude at the moment
2012-10-17 14:34:59 +01:00
Jeremy Ruston
89819f533f Added filter to search for text in a given tiddler
eg [searchVia[mySearchTermTiddler]] will return all the tiddlers
containing the string in the mySearchTermTiddler.
2012-10-17 14:34:34 +01:00
Jeremy Ruston
abd2693352 Adding temporary UI for testing search 2012-10-16 23:08:28 +01:00
Jeremy Ruston
5ef77ae3dd Removing dead code 2012-10-16 23:06:53 +01:00
Jeremy Ruston
3e4945b033 Improving comments 2012-10-16 23:06:45 +01:00
Jeremy Ruston
541261f14d Removing dead code 2012-10-16 23:06:37 +01:00
Jeremy Ruston
dd6fddad01 Added support for the empty message to the list macro 2012-10-16 21:42:36 +01:00
Jeremy Ruston
343a2c2340 Fixed problem with sorting by missing fields 2012-10-16 21:41:12 +01:00
Jeremy Ruston
456b8f9ba8 Fixed list macro to work properly in inline mode 2012-10-16 19:14:04 +01:00
Jeremy Ruston
a832338bb6 Add a function to check whether a tiddler has a given field 2012-10-16 19:12:09 +01:00
Jeremy Ruston
f0974740db Improvements to list macro
Allow shorthand list types, and cope with no template being specified
2012-10-16 19:06:52 +01:00
Jeremy Ruston
bd5995b2e4 Deprecate the old transclude macro 2012-10-16 18:51:17 +01:00
Jeremy Ruston
eff16bf7e6 Update tw5dropbox to use the list macro instead of transclude 2012-10-16 18:51:08 +01:00
Jeremy Ruston
dcac40ac31 Change the transclude wikitext rule to use the list macro 2012-10-16 18:50:44 +01:00
Jeremy Ruston
cb3741c8ee Refactored list macro
Now does selective refreshing, improving performance in several areas.
(Classic TW always refreshed lists in their entirety). A bit more to
do, but the plan is that this can replace the story macro, too
2012-10-16 18:50:32 +01:00
Jeremy Ruston
3a4288899d Correction to error message 2012-10-16 18:49:23 +01:00
Jeremy Ruston
35ddf7a81c Update the password macro so that it can be used on the server 2012-10-16 18:49:13 +01:00
Jeremy Ruston
03623587e1 Added list filter operator 2012-10-16 11:25:14 +01:00
Jeremy Ruston
de2cd34801 Temporarily deprecate the list macro
So that we can refactor it incompatibly
2012-10-16 10:15:12 +01:00
Jeremy Ruston
e9f262b9df Remove the experimental template mapping system
Unnecessarily complicated and JSONy
2012-10-16 10:14:41 +01:00
Jeremy Ruston
242884c918 Temporary fix for the transclude macro
Change of plan; the list macro is now going to be refactored to
incorporate the functionality of the transclude and story macros as well
2012-10-16 10:14:11 +01:00
Jeremy Ruston
24f0a580b5 Refine macro parameter test 2012-10-16 08:46:29 +01:00
Jeremy Ruston
5a3e2ce438 Refactor story macro to use reexecuteInDom() 2012-10-15 22:02:12 +01:00
Jeremy Ruston
cec60db30d Update tw5dropbox for the changes to the transclude macro 2012-10-15 19:03:19 +01:00
Jeremy Ruston
4530eaf24a Update transclude parser rule to use the tiddler macro for single tiddlers 2012-10-15 19:03:05 +01:00
Jeremy Ruston
62fac05411 Renamed the templateTitle parameter of the transclude macro for consistency with the tiddler macro 2012-10-15 19:02:49 +01:00
Jeremy Ruston
1c699c7118 Update the tiddler macro to have a templateText parameter 2012-10-15 18:46:47 +01:00
Jeremy Ruston
4ad8859864 Beginnings of refactoring the transclude macro
We want to make it selectively refresh for better performance
2012-10-15 18:46:33 +01:00
Jeremy Ruston
80cbe2a98f Refactor out the reexecuteInDom() method of macros 2012-10-15 18:46:04 +01:00
Jeremy Ruston
246fd81d39 Docs update
Because of the upcoming changes to the tiddler macro
2012-10-15 18:45:50 +01:00
Jeremy Ruston
5761723078 Accidentally omitted from previous commit 2012-10-15 18:45:36 +01:00
Jeremy Ruston
fd4ff10bf3 Added $tw.utils.pulse() for animating elements
To make it easier to see things while debugging
2012-10-15 17:18:32 +01:00
Jeremy Ruston
7ee48626ab Handle files being deleted from Dropbox 2012-10-14 00:21:44 +01:00
Jeremy Ruston
0187f3c3bc Whitespace cleanup 2012-10-14 00:21:23 +01:00
Jeremy Ruston
448c411b32 Updated fileInfo structure
Getting ready to keep track of titles too so that we can handle files
being deleted from Dropbox
2012-10-13 23:31:15 +01:00
Jeremy Ruston
060729e66e On startup selectively just load the tiddler files that have changed 2012-10-13 19:51:01 +01:00
Jeremy Ruston
c28d304205 More tw5dropbox progress
Now we're writing the index back to dropbox
2012-10-13 17:31:07 +01:00
Jeremy Ruston
5a4a121ee4 Save the tiddler index 2012-10-13 16:09:19 +01:00
Jeremy Ruston
66cdd8a639 Set default title for tiddler files without metadata 2012-10-13 13:23:47 +01:00