buttercat1791
c06f102e4a
Ran `deno fmt`
5 months ago
silberengel
9cd880166f
removed incorrect ai dates
7 months ago
silberengel
f0400533ea
display nested publications
7 months ago
silberengel
b9cd3ba10c
load publication in order
7 months ago
buttercat1791
d8c64260b3
Refactor markup generator for embedded events into Svelte snippets
...
- Eliminate a component that is no longer needed.
- Reduce duplicate code.
- Tidy up code along the way.
- Ran `deno fmt` to auto-format code (hence the large diff).
7 months ago
silberengel
f89bfc0b9b
fixed broken publications
7 months ago
silberengel
188c58143c
display e-tag event lists in 30040
7 months ago
silberengel
bd6d96ed62
Made ToC auto-expanding
8 months ago
silberengel
c7ce636210
ToC corrections
8 months ago
silberengel
97d54e64ac
highlight current section and pad header
8 months ago
silberengel
5ceaced771
ran prettier
8 months ago
Silberengel
c37a3f3a73
rudimentary LaTeX implementation for Markup
8 months ago
buttercat1791
640e9db733
Send bookmark moved observers on success
9 months ago
buttercat1791
782be2a9c9
Change style of publication tree debug messages
9 months ago
buttercat1791
c235646ffe
Ensure ToC addresses update correctly
...
Closing and reopening the ToC component shows updates, but it is not responsive to clicks. This will be fixed in a future commit.
9 months ago
buttercat1791
2d6d38b3b3
Fix data flow between publication tree and ToC
9 months ago
buttercat1791
534fc23c8c
Update doc comment on `PublicationTree`
9 months ago
buttercat1791
80c7514489
Allow bookmark observers
9 months ago
buttercat1791
e32354caba
Add option to walk entire publication tree, not just leaves
9 months ago
buttercat1791
1e450dd4b7
Improve abstraction and controllability of tree-walking methods
10 months ago
buttercat1791
f438e68726
Remove unused import
10 months ago
buttercat1791
34942c5046
Make adding a node observable
10 months ago
buttercat1791
c6effb3839
Create Svelte-specific wrapper that proxies `PublicationTree`
...
The wrapper keeps the core implementation framework-agnostic, but lets us build Svelte's reactivity into the wrapper.
10 months ago
buttercat1791
d3ec3ad3e2
Add observability to node resolution
10 months ago
buttercat1791
af4fae766f
Prevent duplicate nodes from being added to a `PublicationTree`
...
Suggestion from https://gitworkshop.dev/silberengel@gitcitadel.com/Alexandria/prs/note1jygtyvjnrd2yz674mqq5emd0pl69ezv2u6nhvr7f0zhcdnshlnqskf94df
10 months ago
buttercat1791
68d8a0085c
Ensure an alert is shown when publication sections are missing
10 months ago
buttercat1791
6e17df5393
Remove unneeded `await`
10 months ago
buttercat1791
6cc5b375c1
Update comments
10 months ago
buttercat1791
f48f1f9467
Remove redundant call to `tryMoveToParent()`
10 months ago
buttercat1791
0ec64a4aa7
Implement `previous()` method for reverse tree traversal
10 months ago
buttercat1791
fb7e2539e6
Fix the tree traversal algorithm
...
The loader's `next()` method now correctly indicates when it has reached the root node in the tree. From this, the publication component can known when to stop loading and hide the "Load More" button.
10 months ago
buttercat1791
e35bfd75a7
Gracefully handle missing events when loading a publication
10 months ago
buttercat1791
035ef934d5
Support loading single content events
...
Handles the case where the root of a publication tree is identical to its one and only leaf, i.e., the publication consists of a single event.
11 months ago
buttercat1791
0a5ae19905
Remove a redundant lazy object instantiation
11 months ago
buttercat1791
f1bdb20e21
Add `getChildAddresses` function to publication tree
12 months ago
buttercat1791
ef0c033d9b
Fix import for findindexasync
12 months ago
buttercat1791
1272d312d9
Support async find for lazy publication tree nodes
12 months ago
buttercat1791
947470b3a1
Small edits to publication tree
12 months ago
buttercat1791
3a313b1f39
Fix some bugs in the publication tree traversal
1 year ago
buttercat1791
9011eb643f
Make `getHierarchy` synchronous
1 year ago
buttercat1791
e8ed3ac08f
Throw error rather than return `null`
1 year ago
buttercat1791
837b371551
Add a method to return the hierarchy in which an event lives
1 year ago
buttercat1791
7ef3cb8ab8
Fix an iterator error that would cause an infinite loop
1 year ago
buttercat1791
acea0fc078
Code organization
1 year ago
buttercat1791
43dac80578
Use ES2025 private member syntax
1 year ago
buttercat1791
7da145fb5e
Implement iterator `next()` method using cursor
1 year ago
buttercat1791
b4906215c5
Work with lazy-loading nodes
1 year ago
buttercat1791
d723a56fe5
Make node children lazy-load
1 year ago
buttercat1791
866a54be49
Implement tree walking via internal Cursor class
1 year ago
buttercat1791
04c2a80937
Define a nested Cursor class for tree iteration
1 year ago