buttercat1791
bc0010a756
Enable SSR for publications
9 months ago
buttercat1791
aa76910bc4
Use utils based on raw WebSockets for SSR
9 months ago
buttercat1791
bc22b21c33
Turn SSR back on
9 months ago
buttercat1791
cccbb01e3a
Add TODOs for next steps
9 months ago
buttercat1791
2bb42d3ec4
Clean up and refactor based on AI code review
9 months ago
buttercat1791
4a4b29f46c
Clean up old pages and add TODOs to new ones
9 months ago
buttercat1791
1bd2950679
Clean up redirects on query param based routes
9 months ago
buttercat1791
114b3a035b
Simplify link generation in `PublicationHeader` component
...
The component only needs to work with kind 30040 index events.
9 months ago
buttercat1791
2ce83b75ca
Set return types for NIP-19 decoding utils
9 months ago
buttercat1791
b665e1b019
AI - refactor for route params
...
Needs developer review
9 months ago
buttercat1791
8a8bdd18ac
TEMP refactor plan for LLMs
9 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.
9 months ago
buttercat1791
fee33e8f92
`#instance` -> `#shared`
9 months ago
buttercat1791
c79b844f65
Use `WebSocketPool` for raw WebSocket connections
9 months ago
buttercat1791
9a95ee4508
Remove unused imports
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
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
10 months ago
liminal
01f82aa554
Apply suggested change from code comment
10 months ago
limina1
5fab9b6444
removed commented out code
10 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.
10 months ago