mediawiki-skins-Vector/stories
jdlrobson 63ee9450b7 Refactor: Standardize menu data (DRY!)
VectorTemplate has various functions that repeat themselves, only
differing in their choice of names.

This refactor begins by focusing on the personal menu and introducing
a generic getMenuData function. Hardcoded `p-personal` is replaced with
an `id` template key and `msg-label` is renamed `label`.

Future patches will simplify VectorTemplate by using this new
function.

You'll note the resulting PersonalMenu.mustache file is identical
to VectorTabs. These will be merged in I098e6921e8f7ef65dacacf09b9c25f70c945e58e

Bug: T249372
Change-Id: I5ae44a1008b065381eeff93f9fa625be5c5a9de9
2020-04-13 16:11:40 -07:00
..
.eslintrc.json Use template partials rather than HTML strings 2020-03-03 09:28:52 -08:00
Footer.stories.data.js Rename Storybook Files to Reflect Their Respective Component 2020-03-03 18:32:55 +00:00
Footer.stories.js Rename Storybook Files to Reflect Their Respective Component 2020-03-03 18:32:55 +00:00
PersonalMenu.stories.data.js Refactor: Standardize menu data (DRY!) 2020-04-13 16:11:40 -07:00
PersonalMenu.stories.js Rename Storybook Files to Reflect Their Respective Component 2020-03-03 18:32:55 +00:00
Portal.stories.data.js Refactor: Standardize menu data (DRY!) 2020-04-13 16:11:40 -07:00
Portal.stories.js Rename Storybook Files to Reflect Their Respective Component 2020-03-03 18:32:55 +00:00
rawLoader.d.ts [JavaScript] Validate types 2020-03-16 09:10:08 -06:00
SearchBox.stories.data.js Rename Storybook Files to Reflect Their Respective Component 2020-03-03 18:32:55 +00:00
SearchBox.stories.js Rename Storybook Files to Reflect Their Respective Component 2020-03-03 18:32:55 +00:00
Sidebar.stories.data.js Add opt-out link to Sidebar for Vector/Logged-in Users Without Abstractions 2020-03-26 17:39:47 -06:00
Sidebar.stories.js Rename Storybook Files to Reflect Their Respective Component 2020-03-03 18:32:55 +00:00
skin.stories.js Split legacy and modern experience on template level 2020-03-31 14:35:00 -07:00
types.js Refactor: Standardize menu data (DRY!) 2020-04-13 16:11:40 -07:00
utils.js [JavaScript] Validate types 2020-03-16 09:10:08 -06:00
VectorMenu.stories.data.js Rename Storybook Files to Reflect Their Respective Component 2020-03-03 18:32:55 +00:00
VectorMenu.stories.js Rename Storybook Files to Reflect Their Respective Component 2020-03-03 18:32:55 +00:00
VectorTabs.stories.data.js Rename Storybook Files to Reflect Their Respective Component 2020-03-03 18:32:55 +00:00
VectorTabs.stories.js Move watchstar import out of VectorTabs.less and into screen.less 2020-03-10 10:04:46 -06:00