From 55f12caf228e9d4b4ca151b193f433f0840fca3d Mon Sep 17 00:00:00 2001 From: liquidev Date: Sat, 23 Nov 2024 22:12:17 +0100 Subject: [PATCH] mention vfs refactor in changelog because it has some user-facing consequences (lack of version history) --- content/treehouse/changelog.tree | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/content/treehouse/changelog.tree b/content/treehouse/changelog.tree index 1b5b774..1327eec 100644 --- a/content/treehouse/changelog.tree +++ b/content/treehouse/changelog.tree @@ -1,5 +1,28 @@ %% title = "what's going on inside the house? (a changelog)" +- *revision 13:* [virtual insanity](https://www.youtube.com/watch?v=4JkIs37a2JE){.secret} + + - removed version history :cry: + + + the quality of this feature was too low for my standards. + this was caused by the treehouse's codebase being one giant pile of spaghetti, onto which bolting a version history feature only caused more havoc :oh: + + - if you've ever run across broken branch links, you can thank version history jank for that. + + - I refactored treehouse (the software) to no longer generate files upfront! + instead, there's a _virtual file system_ from which the web server sources files. + + - this virtual file system, or at least [the part that assembles the page as it's served to you][vfs target], generates pages lazily---which causes my dev experience to be _faaaaaaaAAAAAAAAAAAAAAAAAAAA_ + + st + + [vfs target]: https://src.liquidev.net/liquidex/treehouse/src/commit/0f8d05adebfe323908be487187d9afe6aaa2df36/crates/treehouse/src/generate.rs#L511 + + + this generally doesn't mean anything for you, but for me... man, does the treehouse feel fast to edit now! + + - generating all the page versions upfront meant I needed to wait over a second for the page to refresh, which made editing any minute details _really_ painful. + imagine I did all the previous layout refurnishment with that... + % id = "01JBWHXTMC7GZEMTH2WT7TN1GT" - *revision 12:* refurnishment