-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Developer demo of alternate wiki store implementation #7329
base: master
Are you sure you want to change the base?
Commits on Mar 4, 2023
-
This is the very barebones beginnings of a demo implementation of an alternate tiddler store. It is not functional. If using the Vercel builds, open developer tools in the browser to see it failing due to the absence of basic wiki methods. The plan is to build it up into the smallest possible plain JS wiki store implementation, sharing as much implementation as possible with the existing core implementation with as little code duplication as possible. It could then serve as the basis for future experiments with wiki stores based on SQLite (@linonetwo), or a custom append only database (@yaisog).
4Configuration menu - View commit details
-
Copy full SHA for fdec12f - Browse repository at this point
Copy the full SHA fdec12fView commit details
Commits on May 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7fdd8a5 - Browse repository at this point
Copy the full SHA 7fdd8a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6233710 - Browse repository at this point
Copy the full SHA 6233710View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6bc197 - Browse repository at this point
Copy the full SHA b6bc197View commit details
Commits on Jun 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3561318 - Browse repository at this point
Copy the full SHA 3561318View commit details -
Incorporate @joshuafontany's plain JS wiki implementation
And make the demo storage areas switchable @joshuafontany's implementation was in #7521
Configuration menu - View commit details
-
Copy full SHA for 1d0b928 - Browse repository at this point
Copy the full SHA 1d0b928View commit details -
Proof of concept of instantiating sqlite3 without needing external de…
…pendencies We get a reference to sqlite3 but we're not yet doing anything with it Also note that this approach leads to duplication - there will be two copies of sqlite3.js and sqlite3.wasm in each generated HTML file. The plan is to dynamically retrieve those tiddlers from the store area rather than baking them into the raw markup area
Configuration menu - View commit details
-
Copy full SHA for 544e079 - Browse repository at this point
Copy the full SHA 544e079View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0546a14 - Browse repository at this point
Copy the full SHA 0546a14View commit details -
Make rawmarkup code dynamically load dependencies
empty.html with the plugin is now 4.1MB
Configuration menu - View commit details
-
Copy full SHA for 146a22b - Browse repository at this point
Copy the full SHA 146a22bView commit details
Commits on Jun 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 449e227 - Browse repository at this point
Copy the full SHA 449e227View commit details -
Include sqlite3 in the empty edition
Makes for an empty size of 4.1MB
Configuration menu - View commit details
-
Copy full SHA for 6f24f33 - Browse repository at this point
Copy the full SHA 6f24f33View commit details -
Configuration menu - View commit details
-
Copy full SHA for c43bc8f - Browse repository at this point
Copy the full SHA c43bc8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 831fb39 - Browse repository at this point
Copy the full SHA 831fb39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8690936 - Browse repository at this point
Copy the full SHA 8690936View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9427cf7 - Browse repository at this point
Copy the full SHA 9427cf7View commit details
Commits on Jun 25, 2023
-
Simplify the plain JS store implementation
Removing indexers and title cache
Configuration menu - View commit details
-
Copy full SHA for 9ac21f1 - Browse repository at this point
Copy the full SHA 9ac21f1View commit details -
Wire the sql functions into the wiki object
At this point, the result is incredibly, painfully slow – the wiki will probably fail to load entirely on mobile
Configuration menu - View commit details
-
Copy full SHA for 7e60726 - Browse repository at this point
Copy the full SHA 7e60726View commit details
Commits on Jun 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9cb8721 - Browse repository at this point
Copy the full SHA 9cb8721View commit details
Commits on Jun 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ede5f1e - Browse repository at this point
Copy the full SHA ede5f1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8399538 - Browse repository at this point
Copy the full SHA 8399538View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2099c4f - Browse repository at this point
Copy the full SHA 2099c4fView commit details -
Makes the code complex and is hard to keep up to date
Configuration menu - View commit details
-
Copy full SHA for 12a19bb - Browse repository at this point
Copy the full SHA 12a19bbView commit details
Commits on Jun 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 87213f2 - Browse repository at this point
Copy the full SHA 87213f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ded5e6 - Browse repository at this point
Copy the full SHA 6ded5e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b29af44 - Browse repository at this point
Copy the full SHA b29af44View commit details
Commits on Jun 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1f4be3e - Browse repository at this point
Copy the full SHA 1f4be3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 687b1df - Browse repository at this point
Copy the full SHA 687b1dfView commit details
Commits on Jul 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 71c02e5 - Browse repository at this point
Copy the full SHA 71c02e5View commit details
Commits on Jul 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2d229e2 - Browse repository at this point
Copy the full SHA 2d229e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e190a4 - Browse repository at this point
Copy the full SHA 9e190a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21ef2d7 - Browse repository at this point
Copy the full SHA 21ef2d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3bc32a - Browse repository at this point
Copy the full SHA f3bc32aView commit details
Commits on Jul 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d2e21dd - Browse repository at this point
Copy the full SHA d2e21ddView commit details -
Write tiddlers with string fields
Otherwise date fields will get saved as JS date objects, which are not properly defined in JSON.
Configuration menu - View commit details
-
Copy full SHA for 64ffa52 - Browse repository at this point
Copy the full SHA 64ffa52View commit details -
Configuration menu - View commit details
-
Copy full SHA for b557dea - Browse repository at this point
Copy the full SHA b557deaView commit details
Commits on Jul 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e3255a4 - Browse repository at this point
Copy the full SHA e3255a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f48bddb - Browse repository at this point
Copy the full SHA f48bddbView commit details
Commits on Jul 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 709669b - Browse repository at this point
Copy the full SHA 709669bView commit details
Commits on Jul 18, 2023
-
Add tags tables and tag indexer and make custom collator be optional
This commit (a) is very much work in progress (b) improves performance significantly and (c) is actually broken Right now, theme stylesheets don't get loaded for some reason. I plan to spend some time improving debuggability by adding a SQL console
Configuration menu - View commit details
-
Copy full SHA for cc2cd20 - Browse repository at this point
Copy the full SHA cc2cd20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83e7d32 - Browse repository at this point
Copy the full SHA 83e7d32View commit details -
Very bare bones, but functional. Results are displayed in JSON for the moment. The console should also perhaps be hidden by default, with a keyboard shortcut, and a setting in local storage.
Configuration menu - View commit details
-
Copy full SHA for 979a1f7 - Browse repository at this point
Copy the full SHA 979a1f7View commit details
Commits on Jul 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 88c8c2c - Browse repository at this point
Copy the full SHA 88c8c2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4fe896 - Browse repository at this point
Copy the full SHA b4fe896View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09b0e28 - Browse repository at this point
Copy the full SHA 09b0e28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cd2a05 - Browse repository at this point
Copy the full SHA 2cd2a05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d3027f - Browse repository at this point
Copy the full SHA 2d3027fView commit details -
Wire up the tag indexer properly
Improves rendering performance by a factor of 4, but we're still 5 times slower than the plain JS store
Configuration menu - View commit details
-
Copy full SHA for 7fd2dd5 - Browse repository at this point
Copy the full SHA 7fd2dd5View commit details
Commits on Jul 20, 2023
-
Sort tag lookups according to TW semantics
Perhaps it would be better to keep the tags in the desired order in the database...
Configuration menu - View commit details
-
Copy full SHA for b9245da - Browse repository at this point
Copy the full SHA b9245daView commit details
Commits on Jul 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 39d0451 - Browse repository at this point
Copy the full SHA 39d0451View commit details
Commits on Jul 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7eeaa20 - Browse repository at this point
Copy the full SHA 7eeaa20View commit details
Commits on Jul 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bb41ae0 - Browse repository at this point
Copy the full SHA bb41ae0View commit details
Commits on Jul 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e6309e9 - Browse repository at this point
Copy the full SHA e6309e9View commit details
Commits on Aug 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 66cba18 - Browse repository at this point
Copy the full SHA 66cba18View commit details
Commits on Sep 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 25138ec - Browse repository at this point
Copy the full SHA 25138ecView commit details
Commits on Oct 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1754be2 - Browse repository at this point
Copy the full SHA 1754be2View commit details
Commits on Oct 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c52014c - Browse repository at this point
Copy the full SHA c52014cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd3d8ae - Browse repository at this point
Copy the full SHA fd3d8aeView commit details
Commits on Oct 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 863066d - Browse repository at this point
Copy the full SHA 863066dView commit details
Commits on Oct 24, 2023
-
Use the empty string as special plugin name for ordinary tiddlers
Using NULL was working against the grain of SQL
Configuration menu - View commit details
-
Copy full SHA for d4dec0c - Browse repository at this point
Copy the full SHA d4dec0cView commit details
Commits on Oct 25, 2023
-
Move tags into their own tables
This roughly halves the bootup time of the prerelease wiki
Configuration menu - View commit details
-
Copy full SHA for f49b9fa - Browse repository at this point
Copy the full SHA f49b9faView commit details -
Add indexes for columns used in joins
Doesn't actually appear to make any appreciable difference
Configuration menu - View commit details
-
Copy full SHA for 12c6cb3 - Browse repository at this point
Copy the full SHA 12c6cb3View commit details -
Refactor indexer implementation
Previously, we were using the existing addIndexer method to piggyback adding our own internal indexers.
Configuration menu - View commit details
-
Copy full SHA for dc94ed8 - Browse repository at this point
Copy the full SHA dc94ed8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a4f5b8 - Browse repository at this point
Copy the full SHA 3a4f5b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9d640b - Browse repository at this point
Copy the full SHA e9d640bView commit details
Commits on Oct 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 01e1882 - Browse repository at this point
Copy the full SHA 01e1882View commit details -
Configuration menu - View commit details
-
Copy full SHA for a58f119 - Browse repository at this point
Copy the full SHA a58f119View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4af21a - Browse repository at this point
Copy the full SHA e4af21aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d982658 - Browse repository at this point
Copy the full SHA d982658View commit details
Commits on Oct 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8c1f7a6 - Browse repository at this point
Copy the full SHA 8c1f7a6View commit details
Commits on Nov 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9493084 - Browse repository at this point
Copy the full SHA 9493084View commit details -
Revert attempt at optimising filter execution
At the moment the optimiser returns a list of chainable functions, it would be simpler to just return a single function
Configuration menu - View commit details
-
Copy full SHA for 02f3065 - Browse repository at this point
Copy the full SHA 02f3065View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7f0c5c - Browse repository at this point
Copy the full SHA d7f0c5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6997c61 - Browse repository at this point
Copy the full SHA 6997c61View commit details
Commits on Nov 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5d20e98 - Browse repository at this point
Copy the full SHA 5d20e98View commit details
Commits on Nov 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4897248 - Browse repository at this point
Copy the full SHA 4897248View commit details
Commits on Dec 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6983564 - Browse repository at this point
Copy the full SHA 6983564View commit details