limina1
d154d14e8f
feat: implement multi-note publishing with tag extraction and NIP-19 encoding
...
- Add publishMultipleZettels function that publishes all AsciiDoc sections as separate events
- Update compose page to use multi-note publishing instead of single note
- Add console logging for e/a tags, nevent, and naddr for debugging
- Fix NDKFilter import issues by creating custom Filter type
- Display count of published events instead of redirecting to events page
8 months ago
limina1
9507a5e25e
Merge remote-tracking branch 'origin/master' into feature/text-entry
8 months ago
limina1
1e907771d3
feat: publish array of notes
8 months ago
buttercat1791
b85ce74bdd
Merge remote-tracking branch 'onedev/master' into visualization-improvements
8 months ago
Michael J
88f4ae91c8
Merges pull request #48
...
Introduce WebSocketPool for Connection Management
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
eb682846e0
Recommend `WebSocketPool` usage to Cursor
8 months ago
buttercat1791
96dde51c44
Change prescribed quote style for Cursor
8 months ago
buttercat1791
c79b844f65
Use `WebSocketPool` for raw WebSocket connections
8 months ago
buttercat1791
9a95ee4508
Remove unused imports
8 months ago
buttercat1791
0743cc3629
Update Deno lockfile
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
2da8d035a0
add 30023, change wording to 30818
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
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.
8 months ago
limina1
5e09619bca
add tag and event tests
8 months ago
limina1
2337efbb89
fix: restore tag_event_fetch.ts
8 months ago