buttercat1791
44a9d282a5
Use a reactive map to make ToC entry expansion react on click
9 months ago
buttercat1791
261b324d1b
Fix code mangled by git
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
limina1
dfd542016e
Visual indicators of events loaded
...
Visual indicators: Event kind badges now have colored borders:
- Green border = Events loaded (with count shown)
- Red border = Not loaded yet
2. Hint text: Added explanations below the badges explaining what the colors mean
3. Event counts: Shows the number of loaded events for each kind in parentheses
9 months ago
limina1
bc195f3151
event kind filter added
9 months ago
buttercat1791
2d6d38b3b3
Fix data flow between publication tree and ToC
9 months ago
limina1
02998318c3
Performance improvements
...
Default show only 30040 events
default 100 root events
9 months ago
buttercat1791
7219e68ca3
Make accordion non-flush
9 months ago
buttercat1791
052392d7f0
Add action bindings on ToC component elements
9 months ago
buttercat1791
b07914f963
Allow two ToC component variants
...
- A sidebar variant is meant for integration within a sidebar. This is used in the current Publication component.
- An accordion variant is intended for standalone use.
9 months ago
buttercat1791
cd204119f0
Tidy up code formatting in ArticleNav component
9 months ago
buttercat1791
d48ddd465a
Remove unneeded references to Pharos parser
9 months ago
buttercat1791
608ce2b8e4
First pass at ToC layout
9 months ago
buttercat1791
9a6a494f17
Fix `NDKEvent` type imports
9 months ago
buttercat1791
fa6265b346
Refactor and support tree node resolution via ToC entry closure
9 months ago
buttercat1791
f635d08982
Add doc comment for ToC
9 months ago
buttercat1791
ddf8b9006b
Update ToC on publication tree node resolution
9 months ago
buttercat1791
7672a10337
Allow node resolution subscription on `SveltePublicationTree`
9 months ago
buttercat1791
d3a62c13f6
Add a `getParent` abstraction to `SveltePublicationTree`
9 months ago
buttercat1791
c30484b9bc
Use `SveltePublicationTree` in ToC class
10 months ago
buttercat1791
1c47ea226e
Proxy `getChildAddresses`
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
640a126330
Compute depth of ToC entries when adding them
10 months ago
buttercat1791
4afbd04d5e
Add a TODO
10 months ago
buttercat1791
f9048c468c
Add doc comment on ToC constructor
10 months ago
buttercat1791
cb1ece7eae
Make ToC class iterable, and iterate to render ToC in component
10 months ago
buttercat1791
53ed81f032
Recursively build ToC from HTML markup
10 months ago
buttercat1791
feab392a44
Refactor `TableOfContents` class for least privilege
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
42cb538be5
Move publication components into their own sub-directory
10 months ago
limina1
85e202e844
Change wording of publication visualization
10 months ago
limina1
dddba323a1
Add Publication -> visualize, tag expand depth
...
tag expand depth: For every tag, pull in other events containing the
same tag, do it up to set value
10 months ago
limina1
61b44548f2
Enable publication -> visualize view, tag depth
10 months ago
Silberengel
dbe22433df
tidied up
10 months ago
Silberengel
482f719601
interim changes
10 months ago
Silberengel
3c6daa1231
landing page columns and search bar. Event comment box. bugfixes
10 months ago
Nuša Pukšič
c201135d9a
Moved profile into a card, added lnurl and QR code
10 months ago
Silberengel
05cdb8eb09
interim changes
10 months ago
Silberengel
8c88dc43c7
Successful implementation of event search and userBadges.
10 months ago
buttercat1791
b08ecafe59
Increase publication card max width
...
This leaves more room on the feed for user badges and titles.
10 months ago
buttercat1791
5070ce0afa
Remove completed TODO
10 months ago
buttercat1791
f1fef2b899
Use badge in inline profile
10 months ago
silberengel
5a92ed9016
Changed "bootstrapRelays" to "fallbackRelays", since that's how we use them. Added more relays to the list.
...
Moved Events further to the right in the Nav bar, as it's a utility and not part of the core feature set.
10 months ago
Silberengel
a49afeac84
got rid of redundant check and added logging to cardactions event hyperlink
10 months ago
Silberengel
f5ae449e36
added timeout to existing functions, revamped timeout and cardactions and fixed asciidoc browser console error
10 months ago
Silberengel
e4e33df736
Renamed publication eventid to address
10 months ago
buttercat1791
33ddecbc40
Mark user badge use cases with TODO
10 months ago
Silberengel
1522fa17ce
remove nip33 and replace with naddr
10 months ago
Silberengel
165bb3c62d
fix linter errors
10 months ago
Silberengel
39419d38f4
Remove wiki stuff and update readme for issue #173
10 months ago