Organ Pages
Organ Pages - Muni Town Meeting
# Meri Leeworthy
- Work
- Resume
- Github
- LinkedIn

[hello](/untitled)
# hi
[hello](/main)
h1 {
font-size: 2rem;
font-weight: bold;
font-family: sans-serif;
}
h2 {
font-size: 1.5rem;
font-weight: bold;
}
li {
font-family: sans-serif;
}
img {
width: 24rem;
}
<html>
<head>
<style>{{css}}</style>
</head>
<body>
<div class="preview-pane">
<h1>{{heading}}</h1>
{{{content}}}
{{#if show_footer}}
<footer>
<p>{{footer_text}}</p>
</footer>
{{/if}}
</div>
</body>
</html>
Hello
{{{content}}}
Current bugs
-
publishing images doesn’t seem to work
- early return issue fixed
- CORS issue remains. what is the issue with CORS?
- there is a way to see the proper error/logs etc which i feel like in the past has shown ‘signature doesn’t match’ errors but i dont’ remember how to find this
- i should try logging in the client upload method
- it was already logging - it does show the response payload in the console and yes it was a signature match issue
- ok so the problem was that there is a space in the file name and probably this causes encoding issues
- blob urls are not updated on refresh
- the url is correctly updated in the text editor but not the iframe… hmm
-
blob urls are not replaced on publish with the new url with the new rich text editor, images and style links not injected
- images don’t work
- styles don’t work
-
publish doesn’t auto-refresh token
- i think this works but haven’t tested properly
-
deleting files doesn’t work (locally)
- stylesheets being converted to https
- after publishing, the url appears in the header bar (ugly) but when you go away and come back it’s gone
- need to get plaintext editor working again!
- so logically i think the rendering that only uses the body needs to
- styles are not linked in preview
- morphdom requires internet connection - bundle locally
- don’t show templates field for post
- scroll doesn’t work in plaintext editor
- preview doesn’t load straight away on first load
- changing the template doesn’t work straight away
- it doesn’t update when you change the template or then when you type in title
- it does update when you type in content or do a transaction on the editor
- need to just not allow spaces in file names for now
- sometimes get render error - template not found in context
- sometimes content is randomly replaced with {{{title}}} {{{content}}} ??
- toggle buttons on toolbar don’t toggle correctly in relation to the current selection
features
- cloudflare rule url transform
- ui for loading/success/error when publishing
- non flashing preview pane
- need to set up frontend route for confirming email https://organ.is/register/confirm?token=a319…
- frontend route for password reset confirm
- can delete files from r2
- can change file names on r2
- rename files on r2 when live files are renamed locally
-
post model
-
partials
- links
- ui for upload details including url
- configurable models
- find and upload all file dependencies before publish
- stripe subscription signup/payment
- limit free uploads to one asset. limit file size!
- ui for debounced autosave
- change username
- markdown
- reset password
polish
- styling on editor nodes - paragraphs should have vertical margins
- publishing file to use promise toast
bigger changes
- rich text editor as preview pane switching in and out of edit mode. and the sidebar is stacked modal that turns into edit form for other data, with back button that animates slide rather than close OR metadata is just edited in a modal
- MAYBE the rich text is edited in a tabbed modal with metadata as a second tab
- we do have a thin header bar though
- multi site/projects
- rss & ical templating
- earthstar db ? for sharing, permissions, sync
- tailwind support - in browser bundler? esbuild-wasm?