Flight Log / yiisoft-contrib/yiiframework.com #1181
Fix wiki preview mode: disable formatting buttons when in preview — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in yiisoft-contrib/yiiframework.com on Jul 29, 2025; merged after rework in 27.9 h, merged by @samdark: +266 −197, 12 files, 3 reviews.
- Lines
- +266 −197
- Files
- 12
- Commits
- 7
- Reviews
- 3 (1 ✕)
- To merge
- 27.9 h
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
Copilot fixed the wiki editor so formatting buttons are disabled during preview mode. The change touched 12 files over seven commits and merged after rework, adding 266 lines and removing 197. One review requested changes, asking that non-preview buttons look disabled. Three reviews and two comments came before the merge after 27.9 hours.
“Make buttons (except preview) look disabled in case preview mode is active.”
— from the review (source)
From the pull request description
## Problem The wiki editor preview functionality was not working correctly. When users clicked the preview button to view the rendered markdown, the formatting buttons (Bold, Italic, Code, Quote, Lists, Link, Image) remained active and would still modify the content even while in preview mode. Addi…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —committedAlexander Makarov
- —committedAlexander Makarov
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedAlexander Makarov
- Jul 30, 2025changes requestedsamdark↗
- Jul 30, 2025mergedsamdark
- Jul 30, 2025closedsamdark
Read next
Cite this flight: AgentRiders Flight Log, yiisoft-contrib/yiiframework.com#1181, record updated Nov 3, 2026, https://agentriders.com/logs/yiisoft-contrib/yiiframework.com/1181/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.