In short
- My Bible app’s notes ran as a second app in its own window. In a church study group I forgot that, so verses I inserted seemed to vanish, and I could not show the verse I wanted.
- Next morning I merged the two back into one app. I also made inserted verses easy to tell apart (a “sub-level” color) and made the cursor land right below an inserted verse.
- Result: one app, one notes tab, one place to look. The change was small, and it removed more code than it added.
- Cost: $0.
The Need: Notes You Can Trust When People Are Waiting
Last evening my church study group met to talk about Matthew 7. I am not the leader. Several members volunteer to present, and I was one of them. I had prepared at home, and during the meeting I planned to add the thoughts people shared to my notes. When a verse from another passage came up, I planned to insert it right under the verse of chapter 7 that it belonged to.
I had been looking forward to this for weeks. Everything I had built into the notes tab of my Bible app was aimed at this kind of evening. Here are the posts I wrote while building it:
- I Needed My Notes and My Bible Side by Side. I Did Not Need a Second App: switching between verses and notes without losing my place
- Fixing Bullet-Only Lines When Pasting Web Text Into a Notes Textarea: pasting text from the web cleanly
- A Better Trash Than Google Keep: Restoring Deleted Notes in My Bible App: getting a deleted note back, and putting a whole chapter into a note, one verse per card
- Polishing One Feature: 24 Commits on the Notes Tab of My Bible App: many small fixes to make the tab comfortable
Four posts, dozens of changes. I honestly expected this to be the evening when all of that paid off. I thought I would be better prepared than ever.
It went badly. Notes were worse than no notes at all, because I trusted them and they let me down in front of people.
Two things happened:
- I could not insert a cross-reference verse. When someone’s comment connected to another passage, I tried to insert that passage under the right verse of Matthew 7. Nothing appeared in my notes. I tapped again and again.
- I could not tell the verses apart. The verses I had inserted earlier looked exactly like the verses of Matthew 7 itself. When I wanted to say “this one is the other passage, not chapter 7”, I could not see which was which.
In the end I explained the cross-references from memory, roughly. The people listening did not get the exact words of the verses. That is the part that bothers me. In a Bible study, the exact words are the point.
The Proof: One App Again
Now there is one app. The viewer and the notes tab are in the same window, and a verse I insert from the viewer shows up in the notes tab immediately.
- Tick a verse in the viewer, then press Same level or Sub-level in the green bar.
- Same level inserts the verse card as before.
- Sub-level inserts it with a different color (teal), so a cross-reference is easy to tell from the main passage.
- After inserting, the cursor sits on the line directly below the new verse card.
- If I go to another tab and come back, the cursor is where I left it.
The next real test is the next study group meeting.
The Story: I Forgot My Own Setup
The cause was my own design from a month earlier. I wrote about it in an earlier post. I wanted to read verses in one window and write notes in another, without losing my place in either. So I made the same app available at a second address, /memo/, and opened it as a separate window on my phone. I called it “split mode”.
It was convenient when I used it on purpose. But in split mode, the reading window does not show the notes. Verses I ticked there were put in a small queue, and the notes window picked them up. The notes tab inside the reading window was not kept in sync.
I forgot the second window existed. Yesterday I was in the reading app, I pressed insert, and I opened its notes tab. The verse was not there. It was sitting in the other window, in the other app, the whole time.
The earlier post even listed this problem in its “What I want to improve next” section: “The reading window’s notes tab in split mode can show an older copy.” I wrote it down as a small thing. It was not small.
This morning I looked at the code and decided I did not want to keep fixing around it. Two entry points to the same notes means every notes feature I build has two cases to think about. I told Claude:
💬 Prompt that worked “I split the notes out of the Bible app so I could look at the text in one window and take notes in another. That is useful, but changes I make in the Bible app cannot be seen in the Bible app’s notes tab, and it confuses me. Changing the code is hard too. I will just merge them, so I can take notes and read the Bible in one app. After that I will improve the notes features.”
It is a short prompt, and the decision in it was the hard part. Throwing away something I had built and liked felt like a waste. Each window kept its own place, which was nice, but a feature that I forget about and that breaks my notes is worse than a feature I never had.
I will say one more thing, because it is the real lesson for me. Setting up a new app is harder than it looks. A new address, a new manifest, a new install flow on the phone, a new sync rule, a new set of states to remember. The code was small. The cost was in my head.
The How: Removing Things Is Mostly Deleting Flags
Total cost: $0. Claude Code did the edits.
1. Turn the split off in one place. Everything depended on two small functions. I made both return false always:
const IS_MEMO_APP = false;
function splitOn() { return false; }
function readerSplit() { return false; }
Because the rest of the code already asked readerSplit() before it queued verses or paused note sync, nothing else needed a rewrite. The reading app now inserts verses straight into the note and syncs notes like before.
2. Clean up what the old mode left on the phone. The phone still had the split flag and maybe a few queued verses. On startup the app now removes both:
try {
localStorage.removeItem('bible_split_mode');
localStorage.removeItem('bible_insert_queue');
} catch {}
If something was still waiting in the queue, it is lost. I decided that was acceptable.
3. Send the old address home. My home-screen shortcut still points to /memo/. A one-line script at the top of the page sends it to the normal app:
<script>
if (location.pathname.indexOf("/memo") === 0) location.replace("/");
</script>
I also removed the “split mode” toggle from the settings sheet, since nothing uses it.
4. Make a cross-reference look different. The two buttons in the green bar both call the same insert function. The only difference is a flag on the inserted block:
const vb = { type: 'verse', ref, verses: [...] };
if (level === 'sub') vb.level = 'sub';
The notes editor adds a CSS class when it draws a card with that flag:
.note-verse-card.sub { border-left-color:#0e7490; background:#ecfeff; }
.note-verse-card.sub .note-verse-line { color:#0e7490; }
I also added a dark-theme version. The flag is saved with the note, so it stays after I close and reopen it. When I export a note as a text file, the sub-level verses look the same as the others. I have not changed that yet.
5. Put the cursor where I am writing. After an insert, the insert function already knew which text block comes right after the new card. I made the editor focus that block at position 0 and scroll it to the middle of the screen, instead of jumping to the end of the note. For switching tabs, the app now remembers the last text block and caret position, and restores both when I return to the notes tab. If there is nothing to restore, it still goes to the end, as before.
🗂 Claude.md Rule Do not keep two windows or two apps for the same notes unless both show the same live data. Split mode (the
/memo/window with its own queue) was removed in v2.38: the reading app showed an old copy of the notes, and I forgot the other window existed.
A note on the same morning. While I was in there, I also removed the favorites tab and the bookmark icon on each verse, because I never used them. I also added space between the AI button and the insert button so I do not hit the wrong one.
What I’ll try next
- Use the new notes tab in the next study group, with a cross-reference inserted live, and see whether the sub-level color is enough to tell verses apart on a phone screen in a bright room.
- Show the sub-level in the exported text file too, maybe with an indent, so it is not lost when I share a note.
If you are building a personal app and thinking about a second window or a second app “just for this one screen”, ask first: when I forget about it, what will I see? For me the answer was an empty notes tab in front of a room of people.