buttercat1791
eb682846e0
Recommend `WebSocketPool` usage to Cursor
9 months ago
buttercat1791
96dde51c44
Change prescribed quote style for Cursor
9 months ago
buttercat1791
c79b844f65
Use `WebSocketPool` for raw WebSocket connections
9 months ago
buttercat1791
9a95ee4508
Remove unused imports
9 months ago
buttercat1791
0743cc3629
Update Deno lockfile
9 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
9 months ago
limina1
e923a4d27d
refactor: validateKind only accepts strings now
9 months ago
limina1
2da8d035a0
add 30023, change wording to 30818
9 months ago
limina1
a1ef76cd3e
remove default kinds 0 and 3 for visualization
9 months ago
limina1
ea3ba8240c
refactor: added enum NostrKind, remove EventLimitControl
9 months ago
limina1
9fef709fe5
refactor: create EventCounts type
9 months ago
limina1
7e6fe7a66b
refactor: hard coded tag columns to 3 and tag string length 25
9 months ago
limina1
c759aba226
refactor: extract common event kind validation logic into shared utilities
...
- Create event_kind_utils.ts with reusable validation and handling functions
- Replace duplicate handleAddKind logic in EventTypeConfig with shared utilities
- Fix VisualizationConfig interface type mismatch (Map -> array)
- Improve code reusability and maintainability across components
9 months ago
limina1
ea28a590c3
refactor: hard coded tag columns to 3 and tag string length 25
9 months ago
limina1
278bd2c18f
refactor: moved onclick to <script>
9 months ago
limina1
c133e0a93c
refactor: legend now using inline tailwind
9 months ago
limina1
0003ebccd4
refactor: legend now using inline tailwind
9 months ago
limina1
e118c53de5
refactor: import kinds from consts
9 months ago
limina1
f7be018b7a
refactor: Settings have inline tailwind
9 months ago
limina1
df59b23aae
refactor Settings.svelte for inline tailwind
9 months ago
limina1
595424632e
refactor: updateGraph
9 months ago
liminal
15b5144461
Apply suggested change from code comment
9 months ago
limina1
6748e3c06f
refactor: streamline person anchor node creation
...
-Combined filtering, counting, and set construction into a single pass with getEligiblePersons
-Reduced redundant iterations and improved performance for large networks
9 months ago
limina1
ce51e886f9
refactor: createPersonAnchorNodes
...
- created helper function buildEligiblePerson
- switch to map
9 months ago
limina1
7e0e24066f
refactor: perfonNetworkBuilder.ts - foreach to map
9 months ago
liminal
1f3781acf4
Apply suggested change from code comment
9 months ago
limina1
205b8e74be
move force to top-level
9 months ago
limina1
2410ea3656
moved drag handlers to top level
9 months ago
limina1
b97bd6ae12
refactor - use names from consts.ts
9 months ago
buttercat1791
c466d73a57
Add resource pool class for WebSocket connections
9 months ago
limina1
0dfa5e4eb1
refactor: extract tag gravity force logic to top-level applyTagGravity helper
9 months ago
limina1
e02f62bfb0
refactor: extract tag gravity force logic to top-level applyTagGravity helper
9 months ago
limina1
4bae5279e7
eventConfig now Map<number, string>
9 months ago
limina1
60a73f23c0
apply isKindEnabledFn and isKindEnabledStore
9 months ago
liminal
7b05cca8cf
Apply suggested change from code comment
9 months ago
limina1
806e5d1902
explicitly type eventID as nostrEventId type from nostr_identifiers
9 months ago
limina1
acfd7d2369
validate nostr identifiers for id and coord
9 months ago
liminal
f1ed85bb34
Apply suggested change from code comment
9 months ago
liminal
01f82aa554
Apply suggested change from code comment
9 months ago
limina1
5fab9b6444
removed commented out code
9 months ago
limina1
c247e15fcb
fix: resolve infinite loop in visualization page
...
Convert events and missingEventIds to $derived values to prevent
reactivity cycles that were causing "effect_update_depth_exceeded" errors.
9 months ago
limina1
5e09619bca
add tag and event tests
10 months ago
limina1
2337efbb89
fix: restore tag_event_fetch.ts
10 months ago
limina1
d094aa1277
remove tag expansion depth
10 months ago
limina1
7bf5a72153
remove deduplication, kept in utils library
10 months ago
limina1
dc00474135
split fetchEvents into multiple subfunctions
10 months ago
limina1
725a5e2419
Fix relay configuration: update standardRelays to communityRelays in networkBuilder
10 months ago
limina1
5d1f6231de
fix ArticleNav.svelte
10 months ago
limina1
f04406c085
Refactor fetchEvents in networkBuilder
...
split function into initialize, fetch publications, non-publications,
fetch index, fetch content, deduplicate
10 months ago
limina1
8f3807324a
graph working now
10 months ago