silberengel
efd9003b1c
fixed build
8 months ago
buttercat1791
bc0010a756
Enable SSR for publications
8 months ago
buttercat1791
aa76910bc4
Use utils based on raw WebSockets for SSR
8 months ago
buttercat1791
bc22b21c33
Turn SSR back on
8 months ago
buttercat1791
cccbb01e3a
Add TODOs for next steps
8 months ago
buttercat1791
2bb42d3ec4
Clean up and refactor based on AI code review
8 months ago
buttercat1791
4a4b29f46c
Clean up old pages and add TODOs to new ones
8 months ago
buttercat1791
1bd2950679
Clean up redirects on query param based routes
8 months ago
buttercat1791
114b3a035b
Simplify link generation in `PublicationHeader` component
...
The component only needs to work with kind 30040 index events.
8 months ago
buttercat1791
2ce83b75ca
Set return types for NIP-19 decoding utils
8 months ago
buttercat1791
b665e1b019
AI - refactor for route params
...
Needs developer review
8 months ago
buttercat1791
8a8bdd18ac
TEMP refactor plan for LLMs
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
c79b844f65
Use `WebSocketPool` for raw WebSocket connections
8 months ago
buttercat1791
9a95ee4508
Remove unused imports
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
limina1
e923a4d27d
refactor: validateKind only accepts strings now
8 months ago
limina1
a1ef76cd3e
remove default kinds 0 and 3 for visualization
8 months ago
limina1
ea3ba8240c
refactor: added enum NostrKind, remove EventLimitControl
8 months ago
limina1
9fef709fe5
refactor: create EventCounts type
8 months ago
limina1
7e6fe7a66b
refactor: hard coded tag columns to 3 and tag string length 25
8 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
8 months ago
limina1
ea28a590c3
refactor: hard coded tag columns to 3 and tag string length 25
8 months ago
limina1
278bd2c18f
refactor: moved onclick to <script>
8 months ago
limina1
c133e0a93c
refactor: legend now using inline tailwind
8 months ago
limina1
0003ebccd4
refactor: legend now using inline tailwind
8 months ago
limina1
e118c53de5
refactor: import kinds from consts
8 months ago
limina1
f7be018b7a
refactor: Settings have inline tailwind
8 months ago
limina1
df59b23aae
refactor Settings.svelte for inline tailwind
8 months ago
limina1
595424632e
refactor: updateGraph
8 months ago
liminal
15b5144461
Apply suggested change from code comment
8 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
8 months ago
limina1
ce51e886f9
refactor: createPersonAnchorNodes
...
- created helper function buildEligiblePerson
- switch to map
8 months ago
limina1
7e0e24066f
refactor: perfonNetworkBuilder.ts - foreach to map
8 months ago
liminal
1f3781acf4
Apply suggested change from code comment
8 months ago
limina1
205b8e74be
move force to top-level
8 months ago
limina1
2410ea3656
moved drag handlers to top level
8 months ago
limina1
b97bd6ae12
refactor - use names from consts.ts
8 months ago
buttercat1791
c466d73a57
Add resource pool class for WebSocket connections
8 months ago
limina1
0dfa5e4eb1
refactor: extract tag gravity force logic to top-level applyTagGravity helper
8 months ago
limina1
e02f62bfb0
refactor: extract tag gravity force logic to top-level applyTagGravity helper
8 months ago
limina1
4bae5279e7
eventConfig now Map<number, string>
8 months ago
limina1
60a73f23c0
apply isKindEnabledFn and isKindEnabledStore
8 months ago
liminal
7b05cca8cf
Apply suggested change from code comment
8 months ago
limina1
806e5d1902
explicitly type eventID as nostrEventId type from nostr_identifiers
8 months ago
limina1
acfd7d2369
validate nostr identifiers for id and coord
8 months ago
liminal
f1ed85bb34
Apply suggested change from code comment
8 months ago
liminal
01f82aa554
Apply suggested change from code comment
8 months ago
limina1
5fab9b6444
removed commented out code
8 months ago