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
da2cae365f
Detect when publication loading is done in component
10 months ago
buttercat1791
f72adcb6d3
Display a "Load More" button if load-on-scroll fails
10 months ago
buttercat1791
b9925813db
Remove completed TODOs
10 months ago
buttercat1791
74d6b306b9
Track loaded addresses in a publication
10 months ago
buttercat1791
e9aa513d5f
Load only one element at a time on scroll
10 months ago
buttercat1791
557f3c0dfb
Add `content-visibility-auto` Tailwind utility
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
823d522395
Comment out ToC placeholder
11 months ago
buttercat1791
3f479169a7
Remove leftover console debug statements
11 months ago
buttercat1791
1ecc6bccbd
Get rendering to work properly with new loader
...
Load-on-scroll can stand to be improved, but it works at a basic level. Event content is rendered correctly, with headings, and many content block types have proper styling.
11 months ago
Nuša Pukšič
1df1da95ce
Changed the styles of the visualization page, moved the settings
11 months ago
Nuša Pukšič
94842e2326
Moved buttons and consolidated stylesheet
11 months ago
Silberengel
1a17892942
Fixes #217
...
Adds zoom and centering buttons. Implements D3 properly and updates everything to Svelte 5 and CSS styles.
11 months ago
buttercat1791
03612ad6de
Render publication content and headers
...
Incomplete. Some headers are still missing, and we don't yet gracefully handle events that can't be found.
11 months ago
buttercat1791
46f61da01d
Begin to implement import on visibility for publication content
11 months ago
buttercat1791
b199ab1e50
Begin to move off of `<Preview>` and onto `<PublicationSection>`
11 months ago
Silberengel
c1c9d56518
Move Opengraph metadata from the publication component to the publication page
11 months ago
Silberengel
31cbe20d1f
widen the event json view, to make reading and copy-pasting easier
11 months ago
Silberengel
f240083dac
implemen OpenGraph metadata
11 months ago
Silberengel
94178e5dba
first step for issue #173
11 months ago
Silberengel
4f74eedbac
Fixed a warning about ambiguous tag closure. Added the summary field to the index card on visualization, as well as a close button on the cards, and added a maximum width for the cards.
11 months ago
Silberengel
ece42f3021
Fix a type error. Got rid of unused style and applied a style from the main css. Implemented Svelte props. Made sure entire element is visible on page, and added a hyperlink to the publication based upon eventID. Limit content to 200 chars.
11 months ago
Silberengel
4842627bed
make the node information human-readable
11 months ago
buttercat1791
9e35d58205
Update heading snippet for commonality with Preview component
11 months ago
buttercat1791
732d518eac
Fix errors blocking publication load
11 months ago
Silberengel
2ca9014702
Allow for publications to be found with naddr or event, and not only d-tags. Prettified the json formatting in the View JSON window. Change the remaining blank links to buttons. Refactored.
...
Closes#194
11 months ago
buttercat1791
0a5ae19905
Remove a redundant lazy object instantiation
11 months ago
buttercat1791
613c3a4185
Scope Pharos extensions to Asciidoctor extension registry
...
We were previously registering extensions globally, which impacted every usage of Asciidoctor.js, even those where the extensions were not needed.
11 months ago
Silberengel
aa09101487
made header handling more concise and dynamic section/disrete
11 months ago
Silberengel
d62c424a10
Handle discrete headings
11 months ago
Silberengel
b763ecd99f
Refactored a bit. Changed a tags to buttons that look like hyperlinks, to preserve normal button functionality.
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
Nuša Pukšič
309028a187
close #206 remove PfPs
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
Nuša Pukšič
98fd412c18
Fix #77 preserve ratio of book cover thumbnail
1 year ago
Nuša Pukšič
7ce41bbeb9
Fix #133 make anon profiles better, include avatar in the link
1 year ago
buttercat1791
c403a245b8
Move some publication rendering snippets to a separate file
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
Nuša Pukšič
9391b8e678
Add some tags
1 year ago
Nuša Pukšič
d84cb6ee12
Change order of actions
1 year ago
Nuša Pukšič
a6edcdfda3
closes #77 closes #189 closes #133 available actions moved to ... menu, profiles, details
1 year ago
buttercat1791
177a571155
Move Modal component to components directory
1 year ago