Follow-up to #2247291: Reorder tabs in configuration UI
Problem/Motivation
The Configuration synchronization UI displays the message "There are no configuration changes to import." both when there is no staged configuration, and when the staged configuration is identical to the active configuration. It should be possible to distinguish between these scenarios via the user interface.
Proposed resolution
Display different text for each circumstance.
Remaining tasks
Determine text to dispay in each circumstance.
User interface changes
As proposed resolution.
API changes
None.
Data model changes
None.
Beta phase evaluation
| Issue category | Task because we're only adjusting UI text |
|---|---|
| Issue priority | Normal because the current text is correct but not as helpful as it could be. |
| Unfrozen changes | Unfrozen because it only changes UI strings |
| Disruption | None and no upgrade path needed. |
| Comment | File | Size | Author |
|---|---|---|---|
| #28 | 2540794-28.patch | 8.62 KB | karishmaamin |
| #11 | configuration-2540794-10.patch | 8.9 KB | eli-t |
| #10 | configuration-2540794-9.patch | 8.91 KB | eli-t |
| #5 | configuration-2540794-5.patch | 8.92 KB | cilefen |
| #2 | configuration-2540794-2.patch | 765 bytes | cilefen |
Comments
Comment #1
eli-tComment #2
cilefen commentedSomething like this should do, depending on wording. I think this will break a test.
Comment #3
cilefen commentedMistyped: It should be "The staged configuration..."
Comment #4
cilefen commentedComment #5
cilefen commentedComment #7
alexpottAdded beta evaluation
Comment #8
eli-tI don't think we should refer to "configurations" as a plural.
"There is no staged configuration" would be better.
Comment #9
eli-tComment #10
eli-tReroll against latest HEAD
Comment #11
eli-tImplemented suggestion in #8
Comment #12
yoroy commented1. This is a good idea
2. The strings look good to me.
Comment #13
tkoleary commentedAdded to config management usability meta #2642404: [meta] Usability improvements to configuration management post 8.0
Comment #14
xjmComment #25
cosmicdreams commentedI know I'm jumping into this issue several years after a review is request, better late than never? I've added a test of the change in #11 for Drupal 9 and php 8.1 to see where we stand.
At first glance (without manual testing) the strings look good to me.
Comment #26
cosmicdreams commentedTests for D9 failed. Needs reroll
Comment #27
cosmicdreams commentedComment #28
karishmaamin commentedRe-rolled against 9.4.x. Please review
Comment #29
cosmicdreams commentedLooks good
Comment #30
alexpottCommitted and pushed 7493e88678 to 10.0.x and 9076657dcf to 9.4.x. Thanks!