[6.x] Remove dead fluid publish-fields CSS and unused selectedWidth computed - #15304
Merged
Conversation
jasonvarga
force-pushed
the
remove-fluid-publish-fields-css
branch
from
August 28, 2026 20:24
51eecc6 to
009d9e0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This clean up will be helpful in some upcoming changes regarding field widths and dashboard widget ui. #14690
.publish-fields-fluid(publish.css) was introduced in07202fe133for the oldresources/js/components/publish/Fields.vue, applied broadly across the CP. That wholecomponent tree was deleted in [6.x] Remove old components #11968 in favor of
ui/Publish/Fields.vue, which neverreintroduced the class. The one screen named in the class's own comment
(
/cp/collections/pages/edit, i.e. Configure Collection) now renders viaasConfig()/a stacked
divide-ylayout instead — confirmed inCollectionsController::edit(). Deadsince 2025-07-18.
.publish-fields-fluid--xl-only(publish.css) was added for the Blueprint Builder'sTitle/Hidden fields on 2025-09-01, then removed 5 weeks later in [6.x] Go back to v5 style config fields #12700 ("Go back to v5
style config fields"), which replaced it with the same stacked
as-configpattern. Adeliberate UI-direction reversal, not an accidental casualty. Dead since 2025-10-09.
.publish-fields-fluid > *(animation.css) was added alongside the Blueprint Builderusage above and never removed when that markup changed. A later cleanup ([6.x] Kill sibling transitions #13658) touched
a near-duplicate selector list elsewhere in the same file but missed this one — evidence
nobody's relied on it since, not that it's still needed. The still-live
.publish-fields > *selector in the same rule is untouched.
selectedWidth(resources/js/components/fields/Settings.vue) is an unused computedproperty. It's also broken dead code — it references
this.widths, which isn't definedanywhere in that component, so it would throw if ever evaluated.
These are all internal implementation details that were never exposed as CP extension points
— no Blade view, config option, or documented customization hook ever emitted these classes,
and the computed was never referenced — so there's no addon-facing breaking-change risk.