Oddbean new post about | logout
 I'd like some design feedback on Alexandria.

I'm working on an article editor feature.  A screenshot of an early draft is below.  The overall goal is to be able to type AsciiDoc-formatted text, preview it in rich text form as it would appear in the Alexandria reader view, then publish it as a cluster of kind 30040 and 30041 events.

My thinking is to break the content down into sections.  The content of each section will be published as a kind 30041 note.  Each section will be indexed by a kind 30040 note, which will reference the content of the section as a kind 30041 and any subsections as 30040 notes.

Question:  How would you like to preview your published events?

I see two options: 

1. There are two preview steps: one is a "quick preview" you can see with a click while editing.  It doesn't break the content down into 30040 and 30041 events, but it shows you what the nicely-formatted AsciiDoc content would look like.  The second preview steps shows the content as it would appear in reader view, after it's been broken down into its constituent 30040 and 30041 events.  This preview would have a confirmation dialogue that lets you approve or cancel publishing the events.

2. There's just one preview, and clicking the preview button while editing shows you the content as it would appear in reader view, broken down into 30040 and 30041 events.  There would be no separate screen with a confirmation dialogue, and a publish button on the editor page would publish the events.

I'd love to hear people's thoughts!

#asknostr #alexandria #gitcitadel #nostrdev #nostrdesign

https://image.nostr.build/2328fa70d7207dfbfa0196a869dadae7cb03925005786456a00e6107b905438e.png