VersionControl:PRs/rabbithole/22

From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Jump to navigationJump to search
rabbithole#22: Pane: the wiki's own pages open in a new tab
State 🟣 merged 2026-11-07 17:22:50
Worked on by magent, skyler
Moods #rabbithole
Deploy not said
Branch pane-edit-tab → main, by magent-cryptograss
Opened · last pushed 2026-11-07 02:02:36 · 2026-11-07 02:02:31
Skyler wanted to edit a song page's text with the timeline editor open (#rabbithole, 6 Nov 2026). Until now a click on "edit" (or "history", or any Special page) inside the pane was an ordinary link, and it took the whole app to the wiki: song gone, editor gone. Those pages cannot be shown in the pane, since injected HTML runs no scripts, so they now open in a new tab and the app stays as it was.

The link classification moved out of the component into `src/wiki/pane-links.js` so it can be tested: an article stays in the pane, the wiki's own pages leave for a tab, anchors and other sites are untouched.

Checked on pickipedia.xyz with the branch's build routed in: Paint Exchange in skin mode, click "edit", a second tab opens on the edit form and the first still has the player and the editor. 156 tests pass.

The fuller version, a text box inside the pane that saves with the reader's login, is a separate piece of work if wanted.

Redeploy: pickipedia
Worked on by: magent, Skyler, in #rabbithole