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
buttercat1791
1380c3c66b
Add explanatory note for LLMs around WS pool
7 months ago
silberengel
27fdbde8df
fixed build and worked on memory leak
7 months ago
silberengel
f89bfc0b9b
fixed broken publications
7 months ago
silberengel
188c58143c
display e-tag event lists in 30040
7 months ago
buttercat1791
1475004a29
Add details to relay selector design doc
8 months ago
buttercat1791
2458d5b232
Add design documentation on relay selector
8 months ago
buttercat1791
2a57122436
Introduce WebSocket handles and simplify
...
- The `acquire`, `release`, and `drain` method signatures remain unchanged.
- `WebSocketHandle` objects are introduced to tie each socket's state to the socket itself.
- Initial connection logic is simplified.
- Some minor improvements and validations are introduced based on AI-assisted code review.
8 months ago
buttercat1791
fee33e8f92
`#instance` -> `#shared`
8 months ago
buttercat1791
2839e2547a
Improve `WebSocketPool` class
...
- Share a single connection per URL
- Set a limit to the number of connections to prevent resource exhaustion
- Prevent certain race conditions
8 months ago
buttercat1791
c466d73a57
Add resource pool class for WebSocket connections
8 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
a408c54323
Reorganize ToC modules
...
The `<TableOfContents>` component is moved to the same subdirectory as the publication components. Most of the component logic is moved into a class defined in `table_of_contents.svelte.ts`, which will serve as a companion module for `<TableOfContents>`.
10 months ago
buttercat1791
2c045dd2c0
Init ToC interface
10 months ago
buttercat1791
68d8a0085c
Ensure an alert is shown when publication sections are missing
10 months ago
buttercat1791
297be425d8
Make `Lazy<T>` resolve atomically
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
1 year ago
buttercat1791
3a313b1f39
Fix some bugs in the publication tree traversal
1 year ago
buttercat1791
9011eb643f
Make `getHierarchy` synchronous
1 year ago