Page MenuHomePhabricator

Realtime Preview does not work with CodeMirror 6
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

Nothing.

What should have happened instead?:

After a few seconds, the Realtime Preview pane should update reflecting the changes made in the editor

QA Results - Beta

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1013403 had a related patch set uploaded (by MusikAnimal; author: MusikAnimal):

[mediawiki/extensions/CodeMirror@master] CodeMirrorWikiEditor: add Realtime Preview handler

https://gerrit.wikimedia.org/r/1013403

Change #1013403 merged by jenkins-bot:

[mediawiki/extensions/CodeMirror@master] CodeMirrorWikiEditor: add Realtime Preview handler

https://gerrit.wikimedia.org/r/1013403

@MusikAnimal Realtime Preview pane updates after a few seconds from the changes in the editor when CM6 is enabled as seen in the videos and screenshots for Beta. Test is what it was before. This will be moved to Done. Thanks for all your work!

Status: ✅PASS
Environment: Beta: 1.42.0-alpha (8e9bb94)
OS: macOS Sonoma 14.4.1
Browser: Chrome 123, Firefox 123, Safari 17.3, Edge 122
Skins. Vector 2022, Vector 2010, Minerva, Monobook, Timeless
Device: MBA M2
Emulated Device:: n/a
Test Links:
https://test.wikipedia.org/wiki/Foo?action=edit&cm6enable=1
https://en.wikipedia.beta.wmflabs.org/w/index.php?title=Lightsaber&action=edit&cm6enable=1

✅AC1: https://phabricator.wikimedia.org/T352491

TestBeta
ChromeFireFoxSafari
2024-04-01_11-23-33.png (988×2 px, 332 KB)
2024-04-01_11-06-20.png (982×2 px, 341 KB)
2024-04-01_11-08-01.png (1×2 px, 380 KB)
Vector2022Vector 2010MinervaMonobookTimeless
2024-04-01_11-23-33.png (988×2 px, 332 KB)
2024-04-01_11-09-23.png (937×2 px, 296 KB)
2024-04-01_11-19-17.png (1×1 px, 308 KB)
2024-04-01_11-21-18.png (762×2 px, 269 KB)
2024-04-01_11-22-13.png (1×2 px, 313 KB)