Page MenuHomePhabricator

Cleanup Vector Skin components
Closed, DuplicatePublic

Description

As a followup to https://phabricator.wikimedia.org/T320927

Acceptance criteria:

  • The new menu and dropdown component classes should handle icon/button styles (currently handled by Hooks::updateDropdownMenuData)
  • Hooks::updateDropdownMenuData should be removed

QA steps

No visual regressions on menus

Developer notes

Event Timeline

Jdlrobson subscribed.

@Mabualruz this task is outdated (there is no updateDropdownMenuData method). Can it be declined or can you update it?

@Mabualruz this task is outdated (there is no updateDropdownMenuData method). Can it be declined or can you update it?

https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/876262 addressed this on parent task.

I think this should be resolved.
General cleanup and refactoring should be studied per file later if we need to move functions outside of any place.

Mabualruz updated the task description. (Show Details)