Page MenuHomePhabricator

With "live preview" enabled, "Show changes" should provide visual feedback when there are no changes
Open, Needs TriagePublic

Description

When "live preview"[1] is disabled, when one does a "Show changes" and there are no changes, there is a visual feedback: "Latest revision / Your text / (No difference)".

However, when "live preview" is enabled, in the same scenario, nothing at all is displayed. This is inconsistent, and it confused me...


[1] "Show previews without reloading the page" in Preferences > Editing

Event Timeline

Od1n created this task.Dec 23 2017, 3:41 AM
Restricted Application added a project: Wikidata. · View Herald TranscriptDec 23 2017, 3:41 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Unrelated to Page-Previews (see its description) or the Diff extension which is not installed, hence removing

How is this related to Wikidata?

However, when "live preview" is enabled

Under "Editing"?

Od1n updated the task description. (Show Details)
Od1n added a comment.Dec 29 2017, 7:05 AM

There are two different points:

  • Texts "Latest revision" and "Your text" are always missing. They should be added, for consistency with the "non-live preview" mode.
  • When there is no difference (i.e. empty ajax diff content) the text "(No difference)" should be added.