Page MenuHomePhabricator

[web] Convert `thread-settings-modal.css` selectors to use snake_case instead of dash-case
ClosedPublic

Authored by atul on Apr 5 2022, 11:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 29, 3:05 AM
Unknown Object (File)
Thu, Nov 28, 4:54 PM
Unknown Object (File)
Thu, Nov 14, 4:35 PM
Unknown Object (File)
Thu, Nov 14, 4:35 PM
Unknown Object (File)
Mon, Nov 11, 10:00 PM
Unknown Object (File)
Sun, Nov 10, 5:42 AM
Unknown Object (File)
Sat, Nov 9, 8:19 AM
Unknown Object (File)
Thu, Nov 7, 3:08 PM

Details

Summary

We discussed this a bit ago in the Comm Dev Team chat, noop

Test Plan

careful reading, things continue to look the same at a glance

Went through every occurrence of "css" in ThreadSettingsModal and changed the selector names to underscore from dash.

The two occurrences of CSS selectors in ThreadSettingsModal that still have dashes are current-tab and modal-radio-selector. These don't exist in the CSS yet and are left over from before (where it was also broken).

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Apr 5 2022, 11:32 AM
Harbormaster failed remote builds in B7894: Diff 11071!
atul requested review of this revision.Apr 5 2022, 12:29 PM
ashoat requested changes to this revision.Apr 5 2022, 7:44 PM

Can you be more specific in your test plan? Did you grep for each usage of the old style?

This revision now requires changes to proceed.Apr 5 2022, 7:44 PM

Did you grep for each usage of the old style?

The styles in thread-settings-modal.css are exclusively imported and used by the ThreadSettingsModal component.

But yeah, went through every occurrence of "css" in ThreadSettingsModal and changed the selector names to underscore from dash.

The two occurrences of CSS selectors in ThreadSettingsModal that still have dashes are current-tab and modal-radio-selector. These don't exist in the CSS yet and are left over from before (where it was also broken).

atul edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Apr 8 2022, 12:44 PM
This revision was landed with ongoing or failed builds.Apr 8 2022, 12:47 PM
This revision was automatically updated to reflect the committed changes.