limina1
f5685b2f3a
Fix TypeScript errors and improve ZettelEditor preview
...
- Fix {@const} placement errors by using Svelte 5 snippets
- Add proper TypeScript types to levelColors objects
- Rename and fix test file from .js to .ts with proper typing
- Remove indent guides from editor text area for cleaner writing
- Improve preview layout with proper indentation and spacing
- Add continuous vertical guides in preview that don't overlap text
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
10 months ago
limina1
e999ec4272
Fix hierarchical parsing and event generation for multi-level AsciiDoc publishing
...
- Completely rewrote parseAsciiDocIterative to handle Level 3+ parsing correctly
- Fixed generateNostrEvents to build proper tree structure and create hierarchical 30040/30041 events
- Updated preview to show document titles for articles and only display hashtags (t-tags)
- Added parseSimpleAttributes export for direct tag parsing from section content
- Now supports proper index chains: Main 30040 → Sub 30040s → Content 30041s at configurable depth
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
10 months ago
limina1
088dc453bb
Add auto-author functionality and move publish button
...
- Auto-add author identity when not publishing on behalf of others
- Check for existing :author: and :p: tags, only add if missing
- Add ["author", displayName] and ["p", pubkey] tags automatically
- Move publish button from top gradient to underneath text area
- Preserve smart color functionality: blue for articles, green for notes
- Position publish button next to preview button for better UX
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
10 months ago
limina1
66ece8ca1e
Fix ZettelPublisher metadata extraction and pubkey handling
...
- Replace complex Asciidoctor attribute parsing with simple regex approach
- Parse :tagname: tagvalue directly from content using /^:([^:]+):\s*(.+)$/
- Handle :tags: comma,separated -> multiple ["t", "tag"] entries
- Fix pubkey placeholders in a-tags during publishing in publishSingleEvent
- Eliminate metadata corruption (no more "== Preface" authors or "Version" versions)
- Add iterative parsing functions: parseAsciiDocIterative, generateNostrEvents
- Preserve document attributes in content for proper tag extraction
- Add simple parseSimpleAttributes function for clean metadata conversion
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
10 months ago
silberengel
c47abe9cdc
Fixed author display on the 30040 events results
10 months ago
silberengel
82c89eac6e
search bar also searches p and pubkey tags
10 months ago
silberengel
74598a1d3c
Added a checkbox to the landing page, so that the currently logged-in user can easily find their own publications, both as "p" tag and as "pubkey".
10 months ago
silberengel
a93e528949
Fixed relay list and profile being empty on page refresh.
10 months ago
silberengel
9a96a7aad8
fixed gaps in landing page feed. now always 10x column number.
10 months ago
silberengel
88cbd7c4d9
fixed publication link on redirect
11 months ago
silberengel
188c58143c
display e-tag event lists in 30040
11 months ago
silberengel
1ca057f6e1
fixed my notes formatting
11 months ago
silberengel
b7c73efa1c
view publication button fixed
11 months ago
silberengel
351e3c03b2
removed websocket debug
11 months ago
silberengel
c11b5d7c2b
reimplemented markup for 30023s
11 months ago
silberengel
5345d27b4c
removed debug messages
11 months ago
silberengel
51d1377968
suppress ToC, except for 30040s
11 months ago
silberengel
b01592693e
fixed landing page grid
11 months ago
silberengel
8ce21e250a
removed border around relays
11 months ago
silberengel
12cf16b36d
fixed the publication loading
11 months ago
silberengel
56a0dbb432
return first result
11 months ago
silberengel
0e153b1161
sped up relays and made connections more robust for fetchNostrEvent function
11 months ago
silberengel
b119c0010a
improved error handling for missing publications
11 months ago
silberengel
521db62f60
Use websocketpool in publication feed
11 months ago
silberengel
fa0d2376f1
added standard relay set to fetchNostrEvent, as a temporary fix.
11 months ago
buttercat1791
884d04a45e
Skip prerendering page layout children on server
11 months ago
buttercat1791
0806168811
Ensure SSR is allowed for page layouts
11 months ago
buttercat1791
ff4162739a
Use functional programming for self-cleaning WebSocket callbacks
11 months ago
buttercat1791
01dc9233ed
Remove unnecessary `throw` commands
11 months ago
silberengel
0ada8c2b0a
fixed build
11 months ago
silberengel
c424ee7beb
fixed wiki links
11 months ago
silberengel
c00d9b8fec
fixed events page width on narrow screens
11 months ago
silberengel
8b6db819dc
Fixed relay display on About page
11 months ago
silberengel
2c0c98190f
fixed the prox issue
11 months ago
silberengel
08d146b8f7
fix problem with trying to call websockets from the browser
11 months ago
silberengel
a3143bcb85
fixed bugs and accesibility warnings
11 months ago
silberengel
efd9003b1c
fixed build
11 months ago
buttercat1791
1475004a29
Add details to relay selector design doc
11 months ago
buttercat1791
2458d5b232
Add design documentation on relay selector
11 months ago
limina1
944c9c70d1
add note and article placeholder, hinting at how to format in zetteleditor
11 months ago
buttercat1791
bc0010a756
Enable SSR for publications
11 months ago
buttercat1791
aa76910bc4
Use utils based on raw WebSockets for SSR
11 months ago
buttercat1791
bc22b21c33
Turn SSR back on
11 months ago
buttercat1791
cccbb01e3a
Add TODOs for next steps
11 months ago
buttercat1791
2bb42d3ec4
Clean up and refactor based on AI code review
11 months ago
buttercat1791
4a4b29f46c
Clean up old pages and add TODOs to new ones
11 months ago
buttercat1791
1bd2950679
Clean up redirects on query param based routes
11 months ago
buttercat1791
114b3a035b
Simplify link generation in `PublicationHeader` component
...
The component only needs to work with kind 30040 index events.
11 months ago
buttercat1791
2ce83b75ca
Set return types for NIP-19 decoding utils
11 months ago
buttercat1791
b665e1b019
AI - refactor for route params
...
Needs developer review
11 months ago